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
7cb4b6c0
authored
2025-10-15 16:27:53 +0800
by
xu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
可信空间连接器入住接口
1 parent
f8f33bb6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
src/main/java/com/csbr/qingcloud/portal/service/impl/TdsConnectorIdentityServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/service/impl/TdsConnectorIdentityServiceImpl.java
View file @
7cb4b6c
...
...
@@ -470,10 +470,21 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements
UserInfo
userInfo
=
UserContextHolder
.
get
();
userInfo
.
setCurrentTenantGuid
(
entity
.
getTenantGuid
());
UserContextHolder
.
set
(
userInfo
);
//修改原始数据为变更中状态
if
(
ApprovalStateEnum
.
CHECKING
.
getValue
().
equals
(
dto
.
getApprovalState
())){
if
(
"Y"
.
equals
(
entity
.
getIsChangeData
()))
{
MfTdsConnectorIdentity
oldEntity
=
mfTdsConnectorIdentityService
.
getById
(
entity
.
getSourceBizGuid
());
oldEntity
.
setBizApproveState
(
"B"
);
mfTdsConnectorIdentityService
.
updateById
(
oldEntity
);
}
}
//如果是变更数据需要更新原来数据信息
//审批通过
if
(
ApprovalStateEnum
.
PASSED
.
getValue
().
equals
(
dto
.
getApprovalState
())){
if
(
"Y"
.
equals
(
entity
.
getIsChangeData
()))
{
changSourceConnectorInentity
(
entity
);
}
}
//驳回和撤销是,修改原来数据状态
if
(
ApprovalStateEnum
.
REJECT
.
getValue
().
equals
(
dto
.
getApprovalState
())
||
ApprovalStateEnum
.
CANCEL
.
getValue
().
equals
(
dto
.
getApprovalState
()))
{
...
...
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