e8b1b7a5 by xu

可信空间连接器入住接口

1 parent ce50f5a6
...@@ -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 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!