可信空间连接器入住接口
Showing
1 changed file
with
4 additions
and
1 deletions
| ... | @@ -155,7 +155,9 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements | ... | @@ -155,7 +155,9 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements |
| 155 | beforeSave(rqVO); | 155 | beforeSave(rqVO); |
| 156 | MfTdsConnectorIdentity entity = convertToEntity(rqVO); | 156 | MfTdsConnectorIdentity entity = convertToEntity(rqVO); |
| 157 | rqVO.setGuid(entity.getGuid()); | 157 | rqVO.setGuid(entity.getGuid()); |
| 158 | if(StringUtils.isBlank(rqVO.getSourceBizGuid()) && flowBaseVO.getImmediateApprove()) { | 158 | if(StringUtils.isBlank(rqVO.getSourceBizGuid()) |
| 159 | && StringUtils.isBlank(rqVO.getConnectorIdentity()) | ||
| 160 | && flowBaseVO.getImmediateApprove()) { | ||
| 159 | entity.setConnectorIdentity(IdentificationCodeUtil.genConnectorCode(entity.getLegalSocialCreditCode(), IdentificationCodeUtil.medIndustry)); | 161 | entity.setConnectorIdentity(IdentificationCodeUtil.genConnectorCode(entity.getLegalSocialCreditCode(), IdentificationCodeUtil.medIndustry)); |
| 160 | } | 162 | } |
| 161 | mfTdsConnectorIdentityService.csbrAddEntity(entity); | 163 | mfTdsConnectorIdentityService.csbrAddEntity(entity); |
| ... | @@ -214,6 +216,7 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements | ... | @@ -214,6 +216,7 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements |
| 214 | beforeUpdate(rqVO); | 216 | beforeUpdate(rqVO); |
| 215 | MfTdsConnectorIdentity oldEntity = mfTdsConnectorIdentityService.getById(rqVO.getGuid()); | 217 | MfTdsConnectorIdentity oldEntity = mfTdsConnectorIdentityService.getById(rqVO.getGuid()); |
| 216 | MfTdsConnectorIdentity entity = convertToEntity(rqVO); | 218 | MfTdsConnectorIdentity entity = convertToEntity(rqVO); |
| 219 | rqVO.setConnectorIdentity(oldEntity.getConnectorIdentity()); | ||
| 217 | if("N".equals(oldEntity.getIsChangeData()) && StringUtils.isBlank(oldEntity.getConnectorIdentity()) | 220 | if("N".equals(oldEntity.getIsChangeData()) && StringUtils.isBlank(oldEntity.getConnectorIdentity()) |
| 218 | && flowBaseVO.getImmediateApprove()) { | 221 | && flowBaseVO.getImmediateApprove()) { |
| 219 | entity.setConnectorIdentity(IdentificationCodeUtil.genConnectorCode(entity.getLegalSocialCreditCode(), IdentificationCodeUtil.medIndustry)); | 222 | entity.setConnectorIdentity(IdentificationCodeUtil.genConnectorCode(entity.getLegalSocialCreditCode(), IdentificationCodeUtil.medIndustry)); | ... | ... |
-
Please register or sign in to post a comment