【数据资产】
1、元数据导入
Showing
3 changed files
with
3 additions
and
13 deletions
... | @@ -285,10 +285,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService | ... | @@ -285,10 +285,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService |
285 | for (String guid : guids) { | 285 | for (String guid : guids) { |
286 | MfDemand entity = mfDemandService.getById(guid); | 286 | MfDemand entity = mfDemandService.getById(guid); |
287 | beforeRemove(entity); | 287 | beforeRemove(entity); |
288 | boolean flag = mfDemandService.removeById(entity); | 288 | mfDemandService.removeById(entity); |
289 | if (!flag) { | ||
290 | throw new CsbrSystemException(SystemError.DATA_DEL_ERROR, messageSourceUtil.delMessage(FUNCTION_NAME)); | ||
291 | } | ||
292 | afterRemove(entity); | 289 | afterRemove(entity); |
293 | crossPlatformApproveState = entity.getCrossPlatformApproveState(); | 290 | crossPlatformApproveState = entity.getCrossPlatformApproveState(); |
294 | } | 291 | } | ... | ... |
... | @@ -201,11 +201,7 @@ public class EnterpriseChangeApproveServiceImpl implements EnterpriseChangeAppro | ... | @@ -201,11 +201,7 @@ public class EnterpriseChangeApproveServiceImpl implements EnterpriseChangeAppro |
201 | for (String guid : guids) { | 201 | for (String guid : guids) { |
202 | MfEnterpriseChangeApprove entity = mfEnterpriseChangeApproveService.getById(guid); | 202 | MfEnterpriseChangeApprove entity = mfEnterpriseChangeApproveService.getById(guid); |
203 | beforeRemove(entity); | 203 | beforeRemove(entity); |
204 | boolean flag = mfEnterpriseChangeApproveService.removeById(guid); | 204 | mfEnterpriseChangeApproveService.removeById(guid); |
205 | if (!flag) { | ||
206 | throw new CsbrSystemException(SystemError.DATA_DEL_ERROR, messageSourceUtil.delMessage(FUNCTION_NAME)); | ||
207 | } | ||
208 | |||
209 | crossPlatformApproveState = entity.getCrossPlatformApproveState(); | 205 | crossPlatformApproveState = entity.getCrossPlatformApproveState(); |
210 | } | 206 | } |
211 | 207 | ... | ... |
... | @@ -383,10 +383,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris | ... | @@ -383,10 +383,7 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris |
383 | for (String guid : guids) { | 383 | for (String guid : guids) { |
384 | MfEnterprise entity = mfEnterpriseService.getById(guid); | 384 | MfEnterprise entity = mfEnterpriseService.getById(guid); |
385 | beforeRemove(entity); | 385 | beforeRemove(entity); |
386 | boolean flag = mfEnterpriseService.removeById(guid); | 386 | mfEnterpriseService.removeById(guid); |
387 | if (!flag) { | ||
388 | throw new CsbrSystemException(SystemError.DATA_DEL_ERROR, messageSourceUtil.delMessage(FUNCTION_NAME)); | ||
389 | } | ||
390 | afterRemove(entity); | 387 | afterRemove(entity); |
391 | crossPlatformApproveState = entity.getCrossPlatformApproveState(); | 388 | crossPlatformApproveState = entity.getCrossPlatformApproveState(); |
392 | } | 389 | } | ... | ... |
-
Please register or sign in to post a comment