7cb4b6c0 by xu

可信空间连接器入住接口

1 parent f8f33bb6
...@@ -470,9 +470,20 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements ...@@ -470,9 +470,20 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements
470 UserInfo userInfo = UserContextHolder.get(); 470 UserInfo userInfo = UserContextHolder.get();
471 userInfo.setCurrentTenantGuid(entity.getTenantGuid()); 471 userInfo.setCurrentTenantGuid(entity.getTenantGuid());
472 UserContextHolder.set(userInfo); 472 UserContextHolder.set(userInfo);
473 //修改原始数据为变更中状态
474 if(ApprovalStateEnum.CHECKING.getValue().equals(dto.getApprovalState())){
475 if("Y".equals(entity.getIsChangeData())) {
476 MfTdsConnectorIdentity oldEntity = mfTdsConnectorIdentityService.getById(entity.getSourceBizGuid());
477 oldEntity.setBizApproveState("B");
478 mfTdsConnectorIdentityService.updateById(oldEntity);
479 }
480 }
473 //如果是变更数据需要更新原来数据信息 481 //如果是变更数据需要更新原来数据信息
474 if("Y".equals(entity.getIsChangeData())) { 482 //审批通过
475 changSourceConnectorInentity(entity); 483 if(ApprovalStateEnum.PASSED.getValue().equals(dto.getApprovalState())){
484 if("Y".equals(entity.getIsChangeData())) {
485 changSourceConnectorInentity(entity);
486 }
476 } 487 }
477 //驳回和撤销是,修改原来数据状态 488 //驳回和撤销是,修改原来数据状态
478 if(ApprovalStateEnum.REJECT.getValue().equals(dto.getApprovalState()) 489 if(ApprovalStateEnum.REJECT.getValue().equals(dto.getApprovalState())
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!