a5607df4 by xu

可信空间连接器入住接口

1 parent 7aa2a0e0
......@@ -236,7 +236,7 @@ public class TdsConnectorIdentityManagementServiceImpl extends FlowAbstractImpl
throw new CsbrSystemException(SystemError.DATA_INPUT_ERROR, messageSourceUtil.getMessage("W00012",
String.format("删除%s数据", FUNCTION_NAME), "数据唯一标识"));
}
for (String guid : guids) {
String guid = guids.get(0);
MfTdsConnectorIdentityManagement entity = mfTdsConnectorIdentityManagementService.getById(guid);
beforeRemove(entity);
boolean flag = mfTdsConnectorIdentityManagementService.removeById(guid);
......@@ -245,9 +245,6 @@ public class TdsConnectorIdentityManagementServiceImpl extends FlowAbstractImpl
}
afterRemove(entity);
}
// 删除流程数据
approvalFlowUtil.removeApproveByBizGuids(guids);
}
/**
* 流程结束后进行业务回调
......@@ -501,7 +498,10 @@ public class TdsConnectorIdentityManagementServiceImpl extends FlowAbstractImpl
* @return void
*/
private void afterRemove(MfTdsConnectorIdentityManagement entity) {
if(StringUtils.isBlank(entity.getCrossPlatformApproveState())) {
// 删除流程数据
approvalFlowUtil.removeApproveByBizGuids(Arrays.asList(entity.getGuid()));
}
}
/**
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!