fix(企标稽查计划): 导入报错信息问题
This commit is contained in:
+1
-1
@@ -294,7 +294,7 @@ public class ProcessEsInspectPlanServiceImpl extends ServiceImpl<ProcessEsInspec
|
||||
excelHeadVerify2(file, ProcessEsInspectPlanExcel.class, 0, 0);
|
||||
List<ProcessEsInspectPlanExcel> lists = ExcelImportUtil.importExcel(file.getInputStream(), ProcessEsInspectPlanExcel.class, params);
|
||||
if (CollectionUtils.isEmpty(lists) || lists.size() <= 2) {
|
||||
return Result.error("没有数据可导入!");
|
||||
throw new JeroBootException("没有数据可导入!");
|
||||
}
|
||||
lists.remove(0);
|
||||
lists.remove(0);
|
||||
|
||||
Reference in New Issue
Block a user