Commit 2643a27b authored by wangqiang's avatar wangqiang

采购校验数据修改

parent 7ff10383
...@@ -84,7 +84,6 @@ public class PurchasePlanExcelDataVerifyListenner extends AnalysisEventListener< ...@@ -84,7 +84,6 @@ public class PurchasePlanExcelDataVerifyListenner extends AnalysisEventListener<
log.info("解析到一条数据:{}", extPuchasePlanExcelVO); log.info("解析到一条数据:{}", extPuchasePlanExcelVO);
if(!CommonUtils.checkAllPropertiesIsEmpty(extPuchasePlanExcelVO)){ if(!CommonUtils.checkAllPropertiesIsEmpty(extPuchasePlanExcelVO)){
excelDataRow++;
cachedDataList.add(extPuchasePlanExcelVO); cachedDataList.add(extPuchasePlanExcelVO);
} }
...@@ -198,7 +197,7 @@ public class PurchasePlanExcelDataVerifyListenner extends AnalysisEventListener< ...@@ -198,7 +197,7 @@ public class PurchasePlanExcelDataVerifyListenner extends AnalysisEventListener<
} }
//预算不能为空 //预算不能为空
if(ObjectUtils.isEmpty(extPuchasePlanExcelVO.getPurchaseBudget())){ if(ObjectUtils.isEmpty(extPuchasePlanExcelVO.getPurchaseBudget())){
errString.append("计划编号是:" + extPuchasePlanExcelVO.getPlanCode() + "的预算不能为空"); errString.append("解析到数据第"+excelDataRow+"行,计划编号是:" + extPuchasePlanExcelVO.getPlanCode() + "的预算不能为空");
errorList.add(errString); errorList.add(errString);
return; return;
} }
......
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