Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
f48620e9
Commit
f48620e9
authored
Jan 16, 2025
by
chenyuxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 不购买审核相关
parent
059462d6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
8 deletions
+11
-8
SecurityConstants.java
.../plus/v1/yifu/common/core/constant/SecurityConstants.java
+3
-2
ProcessDaprUtils.java
...cloud/plus/v1/yifu/common/dapr/util/ProcessDaprUtils.java
+1
-0
TNodeRoute.java
...om/yifu/cloud/plus/v1/yifu/process/entity/TNodeRoute.java
+2
-0
TProcessController.java
...d/plus/v1/yifu/process/controller/TProcessController.java
+4
-2
TAuditNodeProcess.java
...u/cloud/plus/v1/yifu/salary/entity/TAuditNodeProcess.java
+0
-3
TInsuranceUnpurchaseApplyAuditProcess.java
...e/impl/process/TInsuranceUnpurchaseApplyAuditProcess.java
+1
-1
No files found.
yifu-common/yifu-common-core/src/main/java/com/yifu/cloud/plus/v1/yifu/common/core/constant/SecurityConstants.java
View file @
f48620e9
...
@@ -147,8 +147,9 @@ public interface SecurityConstants {
...
@@ -147,8 +147,9 @@ public interface SecurityConstants {
* @Description: 企业微信发送消息授权路径
* @Description: 企业微信发送消息授权路径
* @return:
* @return:
* 下面链接中的state参数是和前端进行交互区分的重要参数,如果新增,请不要和以前的前缀相同
* 下面链接中的state参数是和前端进行交互区分的重要参数,如果新增,请不要和以前的前缀相同
* 1,2,3,4 前缀为合同审批待处理、抄送和垫付审批中的待处理、抄送。 5 前缀为突发事件待处理页面的标识
* 第一位标识消息类型:0审批,1抄送
* 1=垫付审批待处理,2=垫付审批抄送,3=合同审批待处理,4=合同审批抄送,5=事件审批待处理
* 第二位标识实体标识:1不购买商险申请
* 01 : 不购买商险申请审批
**/
**/
String
WX_GET_MESSAGE_AUTH_URL
=
"https://open.weixin.qq.com/connect/oauth2/authorize?appid=%s&redirect_uri=%s&response_type=code&scope=snsapi_base&state=%s#wechat_redirect"
;
String
WX_GET_MESSAGE_AUTH_URL
=
"https://open.weixin.qq.com/connect/oauth2/authorize?appid=%s&redirect_uri=%s&response_type=code&scope=snsapi_base&state=%s#wechat_redirect"
;
...
...
yifu-common/yifu-common-dapr/src/main/java/com/yifu/cloud/plus/v1/yifu/common/dapr/util/ProcessDaprUtils.java
View file @
f48620e9
...
@@ -29,6 +29,7 @@ public class ProcessDaprUtils {
...
@@ -29,6 +29,7 @@ public class ProcessDaprUtils {
* @since mvp1.7.5
* @since mvp1.7.5
**/
**/
public
R
<
ProcessVo
>
getProcessVoByType
(
String
processType
)
{
public
R
<
ProcessVo
>
getProcessVoByType
(
String
processType
)
{
log
.
error
(
"流程类型>>processType>>{}"
,
processType
);
R
<
ProcessVo
>
processVoR
=
HttpDaprUtil
.
invokeMethodPost
(
daprProcessProperties
.
getAppUrl
(),
daprProcessProperties
.
getAppId
(),
"/tprocess/inner/getProcessVoByType"
,
processType
,
ProcessVo
.
class
,
SecurityConstants
.
FROM_IN
);
R
<
ProcessVo
>
processVoR
=
HttpDaprUtil
.
invokeMethodPost
(
daprProcessProperties
.
getAppUrl
(),
daprProcessProperties
.
getAppId
(),
"/tprocess/inner/getProcessVoByType"
,
processType
,
ProcessVo
.
class
,
SecurityConstants
.
FROM_IN
);
if
(
Common
.
isEmpty
(
processVoR
)){
if
(
Common
.
isEmpty
(
processVoR
)){
return
R
.
failed
(
"根据流程类型查询ProcessVo失败!"
);
return
R
.
failed
(
"根据流程类型查询ProcessVo失败!"
);
...
...
yifu-common/yifu-common-process/src/main/java/com/yifu/cloud/plus/v1/yifu/process/entity/TNodeRoute.java
View file @
f48620e9
...
@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableField;
...
@@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.annotation.TableField;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.extension.activerecord.Model
;
import
com.baomidou.mybatisplus.extension.activerecord.Model
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.EqualsAndHashCode
;
...
@@ -68,6 +69,7 @@ public class TNodeRoute extends Model<TNodeRoute> {
...
@@ -68,6 +69,7 @@ public class TNodeRoute extends Model<TNodeRoute> {
private
String
createUser
;
private
String
createUser
;
@Schema
(
description
=
"创建时间"
)
@Schema
(
description
=
"创建时间"
)
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
LocalDateTime
createDate
;
private
LocalDateTime
createDate
;
@Length
(
max
=
255
,
message
=
"更新人不能超过255个字符"
)
@Length
(
max
=
255
,
message
=
"更新人不能超过255个字符"
)
...
...
yifu-process/yifu-process-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/process/controller/TProcessController.java
View file @
f48620e9
...
@@ -17,6 +17,7 @@ import com.yifu.cloud.plus.v1.yifu.common.security.util.SecurityUtils;
...
@@ -17,6 +17,7 @@ import com.yifu.cloud.plus.v1.yifu.common.security.util.SecurityUtils;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
lombok.RequiredArgsConstructor
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
javax.annotation.Resource
;
import
javax.annotation.Resource
;
...
@@ -33,6 +34,7 @@ import java.time.LocalDateTime;
...
@@ -33,6 +34,7 @@ import java.time.LocalDateTime;
@RequiredArgsConstructor
@RequiredArgsConstructor
@RequestMapping
(
"/tprocess"
)
@RequestMapping
(
"/tprocess"
)
@Tag
(
name
=
"主流程表"
)
@Tag
(
name
=
"主流程表"
)
@Log4j2
public
class
TProcessController
{
public
class
TProcessController
{
@Resource
@Resource
...
@@ -96,7 +98,7 @@ public class TProcessController {
...
@@ -96,7 +98,7 @@ public class TProcessController {
**/
**/
@PostMapping
(
"/inner/getProcessVoByType"
)
@PostMapping
(
"/inner/getProcessVoByType"
)
@Inner
@Inner
public
ProcessVo
getProcessVoByType
(
String
processType
)
{
public
ProcessVo
getProcessVoByType
(
@RequestBody
String
processType
)
{
return
tProcessService
.
getProcessVoByType
(
processType
);
return
tProcessService
.
getProcessVoByType
(
processType
);
}
}
...
@@ -108,7 +110,7 @@ public class TProcessController {
...
@@ -108,7 +110,7 @@ public class TProcessController {
**/
**/
@PostMapping
(
"/inner/getProcessVoByProcessId"
)
@PostMapping
(
"/inner/getProcessVoByProcessId"
)
@Inner
@Inner
public
ProcessVo
getProcessVoByProcessId
(
String
processId
)
{
public
ProcessVo
getProcessVoByProcessId
(
@RequestBody
String
processId
)
{
return
tProcessService
.
getProcessVoById
(
processId
);
return
tProcessService
.
getProcessVoById
(
processId
);
}
}
...
...
yifu-salary/yifu-salary-api/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/entity/TAuditNodeProcess.java
View file @
f48620e9
...
@@ -45,9 +45,6 @@ public class TAuditNodeProcess extends BaseEntity {
...
@@ -45,9 +45,6 @@ public class TAuditNodeProcess extends BaseEntity {
@Schema
(
description
=
"节点类型"
)
@Schema
(
description
=
"节点类型"
)
private
String
nodeType
;
private
String
nodeType
;
@Schema
(
description
=
"创建时间"
)
private
LocalDateTime
createTime
;
@Length
(
max
=
32
,
message
=
"实体id不能超过32个字符"
)
@Length
(
max
=
32
,
message
=
"实体id不能超过32个字符"
)
@Schema
(
description
=
"实体id"
)
@Schema
(
description
=
"实体id"
)
private
String
domainId
;
private
String
domainId
;
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/process/TInsuranceUnpurchaseApplyAuditProcess.java
View file @
f48620e9
...
@@ -210,7 +210,7 @@ public class TInsuranceUnpurchaseApplyAuditProcess extends AbastractAuditProcess
...
@@ -210,7 +210,7 @@ public class TInsuranceUnpurchaseApplyAuditProcess extends AbastractAuditProcess
Map
<
String
,
Object
>
textcard
=
new
HashMap
<>();
Map
<
String
,
Object
>
textcard
=
new
HashMap
<>();
authUrl
=
String
.
format
(
SecurityConstants
.
WX_GET_MESSAGE_AUTH_URL
,
wxConfig
.
getCorpid
(),
wxConfig
.
getAuthUrl
(),
CommonConstants
.
SIX_STRING
+
insuranceUnpurchaseApply
.
getId
());
authUrl
=
String
.
format
(
SecurityConstants
.
WX_GET_MESSAGE_AUTH_URL
,
wxConfig
.
getCorpid
(),
wxConfig
.
getAuthUrl
(),
"01"
+
insuranceUnpurchaseApply
.
getId
());
textcard
.
put
(
"title"
,
"含风险项目不购买商险申请"
);
textcard
.
put
(
"title"
,
"含风险项目不购买商险申请"
);
textcard
.
put
(
"url"
,
authUrl
);
textcard
.
put
(
"url"
,
authUrl
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment