可信空间连接器入住接口
Showing
1 changed file
with
13 additions
and
2 deletions
| ... | @@ -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()) | ... | ... |
-
Please register or sign in to post a comment