Commit a7e52580 authored by wei's avatar wei 🎱

该对象不是已发布状态

parent c3878359
...@@ -51,6 +51,8 @@ public class ExpenditureContractUtils { ...@@ -51,6 +51,8 @@ public class ExpenditureContractUtils {
String designPhase = Objects.isNull(dynamicAttrs.get("designPhase")) ? "" : (String) dynamicAttrs.get("designPhase");*/ String designPhase = Objects.isNull(dynamicAttrs.get("designPhase")) ? "" : (String) dynamicAttrs.get("designPhase");*/
JSONObject jsonObject = (JSONObject) JSONObject.toJSON(expenditureContractVO); JSONObject jsonObject = (JSONObject) JSONObject.toJSON(expenditureContractVO);
jsonObject.put("agree", "☑");
jsonObject.put("reject", "□");
//项目代号 //项目代号
/*String projectCode = ObjectUtils.isEmpty(v.getDxDocumentExpand().getProjectCode()) ? "" : v.getDxDocumentExpand().getProjectCode(); /*String projectCode = ObjectUtils.isEmpty(v.getDxDocumentExpand().getProjectCode()) ? "" : v.getDxDocumentExpand().getProjectCode();
jsonObject.put("projectCode", extDocService.searchDictDataByDictCode(Constants.PROJECT_CODE, projectCode)); jsonObject.put("projectCode", extDocService.searchDictDataByDictCode(Constants.PROJECT_CODE, projectCode));
......
...@@ -51,7 +51,6 @@ public class InComeContractUtils { ...@@ -51,7 +51,6 @@ public class InComeContractUtils {
FileUtil.mkdir(outFilePath); FileUtil.mkdir(outFilePath);
JSONObject jsonObject = (JSONObject) JSONObject.toJSON(inComeContractVO); JSONObject jsonObject = (JSONObject) JSONObject.toJSON(inComeContractVO);
//获取参与者 //获取参与者
List<DxWfProcessTaskVO> activities = wfProcessInfoVO.getHistoryInfo(); List<DxWfProcessTaskVO> activities = wfProcessInfoVO.getHistoryInfo();
if (!CollectionUtils.isEmpty(activities)) { if (!CollectionUtils.isEmpty(activities)) {
......
...@@ -159,7 +159,7 @@ public class ExtSupplierManageServiceImpl<V extends ExtSupplierManageVO> impleme ...@@ -159,7 +159,7 @@ public class ExtSupplierManageServiceImpl<V extends ExtSupplierManageVO> impleme
throw new DxBusinessException("500", "获取不到对象"); throw new DxBusinessException("500", "获取不到对象");
} }
if (!extSupplierManageVO.getState().equals(Constants.RELEASE)) { if (!extSupplierManageVO.getState().equals(Constants.RELEASE)) {
throw new DxBusinessException("500", "该对象不是编制状态"); throw new DxBusinessException("500", "该对象不是已发布状态");
} }
return this.changeStatus(extSupplierManageVO.getId(), Constants.CONTEXT_DISABLE, true); return this.changeStatus(extSupplierManageVO.getId(), Constants.CONTEXT_DISABLE, true);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment