【数据资产】
1、数据需求-修改上架状态
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -302,7 +302,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService | ... | @@ -302,7 +302,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService |
302 | continue; | 302 | continue; |
303 | } | 303 | } |
304 | if (ApprovalStateEnum.CHECKING.getValue().equals(entity.getBizApproveState()) || | 304 | if (ApprovalStateEnum.CHECKING.getValue().equals(entity.getBizApproveState()) || |
305 | ApprovalStateEnum.PASSED.getValue().equals(entity.getBizApproveState())) { | 305 | (ApprovalStateEnum.PASSED.getValue().equals(entity.getBizApproveState()) && "Y".equals(entity.getListingStatus()))) { |
306 | throw new CsbrSystemException(SystemError.DATA_DEL_ERROR, "审批中和审批通过的数据不能删除!"); | 306 | throw new CsbrSystemException(SystemError.DATA_DEL_ERROR, "审批中和审批通过的数据不能删除!"); |
307 | } | 307 | } |
308 | mfDemandService.removeById(entity); | 308 | mfDemandService.removeById(entity); | ... | ... |
-
Please register or sign in to post a comment