Commit 1e8b7f48 authored by wangyangyang's avatar wangyangyang

文档 图册:回写ied计划状态

parent b588106a
...@@ -260,6 +260,8 @@ public class ExtAutoTaskServiceImpl implements ExtAutoTaskService { ...@@ -260,6 +260,8 @@ public class ExtAutoTaskServiceImpl implements ExtAutoTaskService {
catalogExcelVO.setPictureFrame(String.valueOf(doc.getDynamicAttrs().get("pictureFrame"))); catalogExcelVO.setPictureFrame(String.valueOf(doc.getDynamicAttrs().get("pictureFrame")));
excelVOS.add(catalogExcelVO); excelVOS.add(catalogExcelVO);
} }
//已发布的时候才需要生成图册目录 以及修改IED计划状态
if (Constants.DOC_RELEASE.equalsIgnoreCase(state)){
//TODO 图册生成图纸信息 //TODO 图册生成图纸信息
String dir = ResourceHelper.createTemDir().getPath(); String dir = ResourceHelper.createTemDir().getPath();
String filePath = dir + "\\图册.xlsx"; String filePath = dir + "\\图册.xlsx";
...@@ -286,6 +288,7 @@ public class ExtAutoTaskServiceImpl implements ExtAutoTaskService { ...@@ -286,6 +288,7 @@ public class ExtAutoTaskServiceImpl implements ExtAutoTaskService {
Long iedPlanId = extIEDPlanDocLinkVO.getSourceId(); Long iedPlanId = extIEDPlanDocLinkVO.getSourceId();
extIEDPlanServiceFeign.changeStatus(iedPlanId, Constants.IED_Complete, true); extIEDPlanServiceFeign.changeStatus(iedPlanId, Constants.IED_Complete, true);
} }
}
//判断接口单为审阅中设置全局状态为已打开 //判断接口单为审阅中设置全局状态为已打开
if (Constants.INTERNAL_INTERFACE.equals(documentVO.getSubTypeName())) { if (Constants.INTERNAL_INTERFACE.equals(documentVO.getSubTypeName())) {
if (Constants.REVIEWING.equals(state)) { if (Constants.REVIEWING.equals(state)) {
......
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