61931dcf by xiaojie

【数据资产】

1、数据需求-修改上架状态
1 parent 8b6cbd3b
...@@ -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);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!