Commit de21cd89 authored by wangqiang's avatar wangqiang

采购计划预算不能为空校验

parent 505ed1f4
...@@ -269,6 +269,12 @@ public class PurchasePlanExcelReadListenner extends AnalysisEventListener<ExtPuc ...@@ -269,6 +269,12 @@ public class PurchasePlanExcelReadListenner extends AnalysisEventListener<ExtPuc
errorList.add(errString); errorList.add(errString);
return; return;
} }
//预算不能为空
if(ObjectUtils.isEmpty(extPuchasePlanExcelVO.getPurchaseBudget())){
errString.append("计划编号是:" + extPuchasePlanExcelVO.getPurchaseBudget() + "的预算不能为空");
errorList.add(errString);
return;
}
//采购技术负责人 //采购技术负责人
if(StringUtils.isEmpty(extPuchasePlanExcelVO.getPurDesignFileManager())){ if(StringUtils.isEmpty(extPuchasePlanExcelVO.getPurDesignFileManager())){
errString.append("计划编号是:" + extPuchasePlanExcelVO.getPlanCode() + "的采购技术文件负责人不能为空"); errString.append("计划编号是:" + extPuchasePlanExcelVO.getPlanCode() + "的采购技术文件负责人不能为空");
......
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