61931dcf by xiaojie

【数据资产】

1、数据需求-修改上架状态
1 parent 8b6cbd3b
......@@ -302,7 +302,7 @@ public class DemandServiceImpl extends FlowAbstractImpl implements DemandService
continue;
}
if (ApprovalStateEnum.CHECKING.getValue().equals(entity.getBizApproveState()) ||
ApprovalStateEnum.PASSED.getValue().equals(entity.getBizApproveState())) {
(ApprovalStateEnum.PASSED.getValue().equals(entity.getBizApproveState()) && "Y".equals(entity.getListingStatus()))) {
throw new CsbrSystemException(SystemError.DATA_DEL_ERROR, "审批中和审批通过的数据不能删除!");
}
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!