Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
2487fc15
Commit
2487fc15
authored
Jul 23, 2025
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refact(注册开通):流程调整
1.增加回滚删除消息逻辑
parent
76a5f94d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
JyjcOpeningApplicationServiceImpl.java
...c/biz/service/impl/JyjcOpeningApplicationServiceImpl.java
+10
-1
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcOpeningApplicationServiceImpl.java
View file @
2487fc15
...
...
@@ -38,6 +38,7 @@ import com.yeejoin.amos.boot.module.jyjc.api.model.*;
import
com.yeejoin.amos.boot.module.jyjc.api.service.IJyjcOpeningApplicationService
;
import
com.yeejoin.amos.boot.module.jyjc.api.vo.JyjcOpeningApplicationVo
;
import
com.yeejoin.amos.boot.module.jyjc.biz.config.BaseException
;
import
com.yeejoin.amos.boot.module.jyjc.biz.feign.MessageFeignClient
;
import
com.yeejoin.amos.boot.module.jyjc.biz.feign.TzsServiceFeignClient
;
import
com.yeejoin.amos.boot.module.jyjc.biz.service.TaskModelServiceImpl
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.TzBaseEnterpriseInfoDto
;
...
...
@@ -153,6 +154,9 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
@Value
(
"${open.app.msg.detail.path:/mixuap?appId=1742358052905971713&id=1947557820039720961&lfrom=studio}"
)
private
String
msgDetailPath
;
@Autowired
private
MessageFeignClient
messageFeignClient
;
/**
* 编辑、工作台暂存逻辑
*
...
...
@@ -789,7 +793,7 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
messageModel
.
setTerminal
(
"WEB"
);
messageModel
.
setRoutePath
(
msgDetailPath
);
messageModel
.
setCompanyType
(
companyType
);
Systemctl
.
message
Client
.
create
(
messageModel
);
messageFeign
Client
.
create
(
messageModel
);
}
private
void
saveLicenseData2Company
(
JyjcOpeningApplication
jyjcOpeningApplication
)
{
...
...
@@ -947,9 +951,14 @@ public class JyjcOpeningApplicationServiceImpl extends BaseService<JyjcOpeningAp
}
private
void
deleteMsg
(
String
taskCode
,
Long
sequenceNbr
)
{
// 流程到发起单位时删除之前的消息
if
(
WorkFlowStatusEnum
.
OPENING_APPLICATION_SUBMIT
.
getCode
().
equals
(
taskCode
)){
// 按照relationId查询
List
<
MessageModel
>
messageModels
=
messageFeignClient
.
listByRelationId
(
sequenceNbr
+
""
).
getResult
();
// 查询结果删除接口
if
(!
messageModels
.
isEmpty
()){
messageFeignClient
.
delete
(
messageModels
.
stream
().
map
(
e
->
String
.
valueOf
(
e
.
getSequenceNbr
())).
collect
(
Collectors
.
joining
(
","
)));
}
}
}
...
...
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