Commit a0731418 authored by 侯彦文's avatar 侯彦文

进度计划更新操作

parent 58bf2e73
...@@ -330,14 +330,16 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V ...@@ -330,14 +330,16 @@ public class ExtPlanServiceImpl<V extends ExtPlanVO> implements ExtPlanService<V
if (StringUtils.isEmpty(secretCodeKey)) { if (StringUtils.isEmpty(secretCodeKey)) {
buffer.append(String.format("第%s行密级格式不正确!", i + 1) + "<br/>"); buffer.append(String.format("第%s行密级格式不正确!", i + 1) + "<br/>");
} }
if (!StringUtils.isEmpty(excelVO.getSuperPlanCode())) { if (!"更新".equals(excelVO.getOperate())) {
//校验父级编号 if (!StringUtils.isEmpty(excelVO.getSuperPlanCode())) {
ExtPlanVO extPlanVO = this.searchByNumber(excelVO.getSuperPlanCode()); //校验父级编号
if (ObjectUtils.isEmpty(extPlanVO)) { ExtPlanVO extPlanVO = this.searchByNumber(excelVO.getSuperPlanCode());
buffer.append(String.format("第%s行父级编号不存在", i + 1) + "<br/>"); if (ObjectUtils.isEmpty(extPlanVO)) {
buffer.append(String.format("第%s行父级编号不存在", i + 1) + "<br/>");
}
} }
}
}
return buffer; return buffer;
} }
......
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