Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
ms-data-circulation-portal-service
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2461fd66
authored
2025-02-21 14:19:47 +0800
by
肖初晴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【DAOP-1.0】企业认证
【功能点】消息问题处理
1 parent
cc0314cf
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
3 deletions
src/main/java/com/csbr/qingcloud/portal/domain/vo/DemandUpdateStateVO.java
src/main/java/com/csbr/qingcloud/portal/service/impl/DemandServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/service/impl/ServicerMaintainServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/domain/vo/DemandUpdateStateVO.java
View file @
2461fd6
package
com
.
csbr
.
qingcloud
.
portal
.
domain
.
vo
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.util.Date
;
import
java.util.List
;
/**
...
...
@@ -32,5 +35,8 @@ public class DemandUpdateStateVO {
@Schema
(
description
=
"产品验收状态【N未开始 A进行中 Y已完成】"
)
private
String
productAcceptState
;
@Schema
(
description
=
"产品验收验收完成时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
acceptFinishTime
;
}
...
...
src/main/java/com/csbr/qingcloud/portal/service/impl/DemandServiceImpl.java
View file @
2461fd6
...
...
@@ -352,7 +352,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
// todo
approvalDTO
.
setFuncCode
(
"SJXQ"
);
// 流程消息中的变量替换参数
approvalDTO
.
setFlowMessageBody
(
null
);
approvalDTO
.
setFlowMessageBody
(
String
.
format
(
"%s,%s"
,
CommonUtil
.
getUserInfo
().
getUserName
(),
entity
.
getDataDemandName
())
);
// 流程列表数据核心param参数处理
approvalDTO
.
setParam1
(
entity
.
getDataDemandName
());
approvalDTO
.
setParam2
(
null
);
...
...
@@ -596,6 +596,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
vo
.
setProductProcessingState
(
voState
.
getProductProcessingState
());
vo
.
setProductDeliveryState
(
voState
.
getProductDeliveryState
());
vo
.
setProductAcceptState
(
voState
.
getProductAcceptState
());
vo
.
setAcceptFinishTime
(
voState
.
getAcceptFinishTime
());
}
}
return
vo
;
...
...
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseServiceImpl.java
View file @
2461fd6
...
...
@@ -32,6 +32,7 @@ import com.csbr.qingcloud.portal.service.EnterpriseService;
import
com.csbr.qingcloud.portal.util.ObjectUtil
;
import
csbr.cloud.entity.domain.base.vo.PageListVO
;
import
csbr.cloud.entity.enums.ApprovalStateEnum
;
import
csbr.cloud.entity.utils.UserContextHolder
;
import
io.seata.common.util.DateUtil
;
import
io.seata.spring.annotation.GlobalTransactional
;
import
jakarta.annotation.Resource
;
...
...
@@ -556,7 +557,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
// todo
approvalDTO
.
setFuncCode
(
"QYRZ"
);
// 流程消息中的变量替换参数
approvalDTO
.
setFlowMessageBody
(
null
);
approvalDTO
.
setFlowMessageBody
(
String
.
format
(
"%s"
,
entity
.
getTenantName
())
);
// 流程列表数据核心param参数处理
approvalDTO
.
setParam1
(
entity
.
getTenantName
());
approvalDTO
.
setParam2
(
entity
.
getTenantType
());
...
...
src/main/java/com/csbr/qingcloud/portal/service/impl/ServicerMaintainServiceImpl.java
View file @
2461fd6
...
...
@@ -284,7 +284,7 @@ public class ServicerMaintainServiceImpl extends FlowAbstractImpl implements Ser
// todo
approvalDTO
.
setFuncCode
(
"FWSWH"
);
// 流程消息中的变量替换参数
approvalDTO
.
setFlowMessageBody
(
null
);
approvalDTO
.
setFlowMessageBody
(
String
.
format
(
"%s,%s"
,
entity
.
getCreateUserName
(),
entity
.
getTenantName
())
);
// 流程列表数据核心param参数处理
approvalDTO
.
setParam1
(
null
);
approvalDTO
.
setParam2
(
null
);
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment