|
@@ -86,7 +86,7 @@ public class LisExcelResFacade {
|
|
|
}
|
|
|
|
|
|
if (StringUtil.isEmpty(mealName) && StringUtil.isEmpty(itemName)
|
|
|
- && StringUtil.isEmpty(value)) {
|
|
|
+ && StringUtil.isEmpty(value)&& StringUtil.isEmpty(type)) {
|
|
|
continue;
|
|
|
}
|
|
|
|
|
@@ -95,11 +95,11 @@ public class LisExcelResFacade {
|
|
|
}
|
|
|
|
|
|
if (StringUtil.isEmpty(mealName) || StringUtil.isEmpty(itemName)
|
|
|
- || StringUtil.isEmpty(value)) {
|
|
|
+ || StringUtil.isEmpty(value)|| StringUtil.isEmpty(type)) {
|
|
|
// throw new
|
|
|
// CommonException(CommonErrorCode.NOT_EXISTS,
|
|
|
// "第"+count+"行数据不规范,套餐名、项目名、结果三项必填;");
|
|
|
- messages.add("第" + count + "行数据不规范,套餐名、项目名、结果三项必填;");
|
|
|
+ messages.add("第" + count + "行数据不规范,套餐名、项目名、结果、是否异常四项必填;");
|
|
|
continue;
|
|
|
}
|
|
|
LisExcelWrapperVO lisExcelWrapper = new LisExcelWrapperVO();
|