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
a5607df4
authored
2025-10-17 15:31:42 +0800
by
xu
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
可信空间连接器入住接口
1 parent
7aa2a0e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
src/main/java/com/csbr/qingcloud/portal/service/impl/TdsConnectorIdentityManagementServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/service/impl/TdsConnectorIdentityManagementServiceImpl.java
View file @
a5607df
...
...
@@ -236,17 +236,14 @@ public class TdsConnectorIdentityManagementServiceImpl extends FlowAbstractImpl
throw
new
CsbrSystemException
(
SystemError
.
DATA_INPUT_ERROR
,
messageSourceUtil
.
getMessage
(
"W00012"
,
String
.
format
(
"删除%s数据"
,
FUNCTION_NAME
),
"数据唯一标识"
));
}
for
(
String
guid
:
guids
)
{
MfTdsConnectorIdentityManagement
entity
=
mfTdsConnectorIdentityManagementService
.
getById
(
guid
);
beforeRemove
(
entity
);
boolean
flag
=
mfTdsConnectorIdentityManagementService
.
removeById
(
guid
);
if
(!
flag
)
{
throw
new
CsbrSystemException
(
SystemError
.
DATA_DEL_ERROR
,
messageSourceUtil
.
delMessage
(
FUNCTION_NAME
));
}
afterRemove
(
entity
);
String
guid
=
guids
.
get
(
0
);
MfTdsConnectorIdentityManagement
entity
=
mfTdsConnectorIdentityManagementService
.
getById
(
guid
);
beforeRemove
(
entity
);
boolean
flag
=
mfTdsConnectorIdentityManagementService
.
removeById
(
guid
);
if
(!
flag
)
{
throw
new
CsbrSystemException
(
SystemError
.
DATA_DEL_ERROR
,
messageSourceUtil
.
delMessage
(
FUNCTION_NAME
));
}
// 删除流程数据
approvalFlowUtil
.
removeApproveByBizGuids
(
guids
);
afterRemove
(
entity
);
}
/**
...
...
@@ -501,7 +498,10 @@ public class TdsConnectorIdentityManagementServiceImpl extends FlowAbstractImpl
* @return void
*/
private
void
afterRemove
(
MfTdsConnectorIdentityManagement
entity
)
{
if
(
StringUtils
.
isBlank
(
entity
.
getCrossPlatformApproveState
()))
{
// 删除流程数据
approvalFlowUtil
.
removeApproveByBizGuids
(
Arrays
.
asList
(
entity
.
getGuid
()));
}
}
/**
...
...
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