d412776b by xiaojie

【数据资产】

1、元数据导入
1 parent 39c251cd
......@@ -285,10 +285,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
for (String guid : guids) {
MfDemand entity = mfDemandService.getById(guid);
beforeRemove(entity);
boolean flag = mfDemandService.removeById(entity);
if (!flag) {
throw new CsbrSystemException(SystemError.DATA_DEL_ERROR, messageSourceUtil.delMessage(FUNCTION_NAME));
}
mfDemandService.removeById(entity);
afterRemove(entity);
crossPlatformApproveState = entity.getCrossPlatformApproveState();
}
......
......@@ -201,11 +201,7 @@ public class EnterpriseChangeApproveServiceImpl implements EnterpriseChangeAppro
for (String guid : guids) {
MfEnterpriseChangeApprove entity = mfEnterpriseChangeApproveService.getById(guid);
beforeRemove(entity);
boolean flag = mfEnterpriseChangeApproveService.removeById(guid);
if (!flag) {
throw new CsbrSystemException(SystemError.DATA_DEL_ERROR, messageSourceUtil.delMessage(FUNCTION_NAME));
}
mfEnterpriseChangeApproveService.removeById(guid);
crossPlatformApproveState = entity.getCrossPlatformApproveState();
}
......
......@@ -383,10 +383,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
for (String guid : guids) {
MfEnterprise entity = mfEnterpriseService.getById(guid);
beforeRemove(entity);
boolean flag = mfEnterpriseService.removeById(guid);
if (!flag) {
throw new CsbrSystemException(SystemError.DATA_DEL_ERROR, messageSourceUtil.delMessage(FUNCTION_NAME));
}
mfEnterpriseService.removeById(guid);
afterRemove(entity);
crossPlatformApproveState = entity.getCrossPlatformApproveState();
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!