7cb4b6c0 by xu

可信空间连接器入住接口

1 parent f8f33bb6
......@@ -470,9 +470,20 @@ public class TdsConnectorIdentityServiceImpl extends FlowAbstractImpl implements
UserInfo userInfo = UserContextHolder.get();
userInfo.setCurrentTenantGuid(entity.getTenantGuid());
UserContextHolder.set(userInfo);
//修改原始数据为变更中状态
if(ApprovalStateEnum.CHECKING.getValue().equals(dto.getApprovalState())){
if("Y".equals(entity.getIsChangeData())) {
MfTdsConnectorIdentity oldEntity = mfTdsConnectorIdentityService.getById(entity.getSourceBizGuid());
oldEntity.setBizApproveState("B");
mfTdsConnectorIdentityService.updateById(oldEntity);
}
}
//如果是变更数据需要更新原来数据信息
if("Y".equals(entity.getIsChangeData())) {
changSourceConnectorInentity(entity);
//审批通过
if(ApprovalStateEnum.PASSED.getValue().equals(dto.getApprovalState())){
if("Y".equals(entity.getIsChangeData())) {
changSourceConnectorInentity(entity);
}
}
//驳回和撤销是,修改原来数据状态
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!