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
9f952eaf
authored
2025-10-27 09:33:07 +0800
by
xiaojie
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【数据资产】
1、注释生成连接器标识
1 parent
c72355dd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 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 @
9f952ea
...
...
@@ -155,11 +155,11 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements
beforeSave
(
rqVO
);
MfTdsConnectorIdentity
entity
=
convertToEntity
(
rqVO
);
rqVO
.
setGuid
(
entity
.
getGuid
());
if
(
StringUtils
.
isBlank
(
rqVO
.
getSourceBizGuid
())
&&
StringUtils
.
isBlank
(
rqVO
.
getConnectorIdentity
())
&&
flowBaseVO
.
getImmediateApprove
())
{
entity
.
setConnectorIdentity
(
IdentificationCodeUtil
.
genConnectorCode
(
entity
.
getLegalSocialCreditCode
(),
IdentificationCodeUtil
.
medIndustry
));
}
//
if(StringUtils.isBlank(rqVO.getSourceBizGuid())
//
&& StringUtils.isBlank(rqVO.getConnectorIdentity())
//
&& flowBaseVO.getImmediateApprove()) {
//
entity.setConnectorIdentity(IdentificationCodeUtil.genConnectorCode(entity.getLegalSocialCreditCode(), IdentificationCodeUtil.medIndustry));
//
}
mfTdsConnectorIdentityService
.
csbrAddEntity
(
entity
);
// 发起审批流程或保存草稿
AddApprovalDTO
approvalDTO
=
getAddApprovalDTO
(
entity
,
rqVO
);
...
...
@@ -221,10 +221,10 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements
MfTdsConnectorIdentity
oldEntity
=
mfTdsConnectorIdentityService
.
getById
(
rqVO
.
getGuid
());
MfTdsConnectorIdentity
entity
=
convertToEntity
(
rqVO
);
rqVO
.
setConnectorIdentity
(
oldEntity
.
getConnectorIdentity
());
if
(
"N"
.
equals
(
oldEntity
.
getIsChangeData
())
&&
StringUtils
.
isBlank
(
oldEntity
.
getConnectorIdentity
())
&&
flowBaseVO
.
getImmediateApprove
())
{
entity
.
setConnectorIdentity
(
IdentificationCodeUtil
.
genConnectorCode
(
entity
.
getLegalSocialCreditCode
(),
IdentificationCodeUtil
.
medIndustry
));
}
//
if("N".equals(oldEntity.getIsChangeData()) && StringUtils.isBlank(oldEntity.getConnectorIdentity())
//
&& flowBaseVO.getImmediateApprove()) {
//
entity.setConnectorIdentity(IdentificationCodeUtil.genConnectorCode(entity.getLegalSocialCreditCode(), IdentificationCodeUtil.medIndustry));
//
}
mfTdsConnectorIdentityService
.
csbrUpdateEntity
(
entity
);
// 发起审批流程或保存草稿
AddApprovalDTO
approvalDTO
=
getAddApprovalDTO
(
entity
,
rqVO
);
...
...
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