a5607df4 by xu

可信空间连接器入住接口

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