fix(企标稽查计划): 79641

This commit is contained in:
yjz
2023-12-28 15:47:48 +08:00
parent b59c07a7ca
commit 200904a4d8
@@ -403,11 +403,11 @@ public class ProcessEsInspectPlanServiceImpl extends ServiceImpl<ProcessEsInspec
private void excelHeadVerify(MultipartFile file, Class<ProcessEsInspectPlan> carTypeClass, int titleRows, int i) {
try {
if (!(boolean) ImportExcelUtil.checkTemplateTitle(file, carTypeClass, titleRows, i)){
throw new JeroBootException("excel文件表头错误,请重新下载");
throw new JeroBootException("模板错误,按照系统模板导入!");
}
}catch (Exception e) {
e.printStackTrace();
throw new JeroBootException("文件格式有误!");
throw new JeroBootException("模板错误,按照系统模板导入!");
}
}
}