Merge branch 'feature-tds-v1.0.0' into 'develop'
可信空间连接器入住接口 See merge request !18
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -155,7 +155,7 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements | ... | @@ -155,7 +155,7 @@ 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("N".equals(entity.getIsChangeData()) && flowBaseVO.getImmediateApprove()) { | 158 | if(StringUtils.isBlank(rqVO.getSourceBizGuid()) && flowBaseVO.getImmediateApprove()) { |
| 159 | entity.setConnectorIdentity(IdentificationCodeUtil.genConnectorCode(entity.getLegalSocialCreditCode(), IdentificationCodeUtil.medIndustry)); | 159 | entity.setConnectorIdentity(IdentificationCodeUtil.genConnectorCode(entity.getLegalSocialCreditCode(), IdentificationCodeUtil.medIndustry)); |
| 160 | } | 160 | } |
| 161 | mfTdsConnectorIdentityService.csbrAddEntity(entity); | 161 | mfTdsConnectorIdentityService.csbrAddEntity(entity); |
| ... | @@ -214,7 +214,7 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements | ... | @@ -214,7 +214,7 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements |
| 214 | beforeUpdate(rqVO); | 214 | beforeUpdate(rqVO); |
| 215 | MfTdsConnectorIdentity oldEntity = mfTdsConnectorIdentityService.getById(rqVO.getGuid()); | 215 | MfTdsConnectorIdentity oldEntity = mfTdsConnectorIdentityService.getById(rqVO.getGuid()); |
| 216 | MfTdsConnectorIdentity entity = convertToEntity(rqVO); | 216 | MfTdsConnectorIdentity entity = convertToEntity(rqVO); |
| 217 | if("N".equals(entity.getIsChangeData()) && StringUtils.isBlank(entity.getConnectorIdentity()) | 217 | if("N".equals(oldEntity.getIsChangeData()) && StringUtils.isBlank(oldEntity.getConnectorIdentity()) |
| 218 | && flowBaseVO.getImmediateApprove()) { | 218 | && flowBaseVO.getImmediateApprove()) { |
| 219 | entity.setConnectorIdentity(IdentificationCodeUtil.genConnectorCode(entity.getLegalSocialCreditCode(), IdentificationCodeUtil.medIndustry)); | 219 | entity.setConnectorIdentity(IdentificationCodeUtil.genConnectorCode(entity.getLegalSocialCreditCode(), IdentificationCodeUtil.medIndustry)); |
| 220 | } | 220 | } | ... | ... |
-
Please register or sign in to post a comment