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
a33cc91e
authored
2025-03-18 11:45:50 +0800
by
xiaojie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【数据资产】
1、认证变更跨平台审批
1 parent
89666749
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseChangeApproveServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseChangeApproveServiceImpl.java
View file @
a33cc91
...
...
@@ -167,7 +167,7 @@ public class EnterpriseChangeApproveServiceImpl implements EnterpriseChangeAppro
mfEnterpriseChangeApproveService
.
update
(
updateWrapper
);
//审批不通过则将状态恢复到以前的Y
if
(
!
dto
.
getApprovalState
().
equals
(
ApprovalStateEnum
.
PASSED
.
getValue
())){
if
(
dto
.
getApprovalState
().
equals
(
ApprovalStateEnum
.
REJECT
.
getValue
())){
MfEnterprise
bean
=
mfEnterpriseService
.
getById
(
entity
.
getSourceGuid
());
bean
.
setBizApproveState
(
"Y"
);
mfEnterpriseService
.
updateById
(
bean
);
...
...
@@ -229,13 +229,14 @@ public class EnterpriseChangeApproveServiceImpl implements EnterpriseChangeAppro
mfEnterpriseChangeApproveService
.
update
(
updateWrapper
);
//审批不通过则将状态恢复到以前的Y
if
(
!
dto
.
getApprovalState
().
equals
(
ApprovalStateEnum
.
PASSED
.
getValue
())){
if
(
dto
.
getApprovalState
().
equals
(
ApprovalStateEnum
.
REJECT
.
getValue
())){
MfEnterprise
bean
=
mfEnterpriseService
.
getById
(
entity
.
getSourceGuid
());
bean
.
setBizApproveState
(
"Y"
);
bean
.
setCrossPlatformApproveState
(
"Y"
);
mfEnterpriseService
.
updateById
(
bean
);
return
;
}
if
(
dto
.
getApprovalState
().
equals
(
ApprovalStateEnum
.
PASSED
.
getValue
())){
//审批通过则执行更新
MfEnterprise
vo
=
csbrBeanUtil
.
convert
(
entity
,
MfEnterprise
.
class
);
vo
.
setGuid
(
entity
.
getSourceGuid
());
...
...
@@ -246,6 +247,7 @@ public class EnterpriseChangeApproveServiceImpl implements EnterpriseChangeAppro
//同步更新会员表
enterpriseService
.
updateTenant
(
vo
);
}
}
@Override
@GlobalTransactional
...
...
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