导出检验规格,优化错误提示信息

This commit is contained in:
liuchengqian 2022-03-22 09:13:28 +08:00
parent 6c806ce639
commit b8f3bab4c1

View File

@ -270,7 +270,7 @@ public class QcSpecServiceImpl implements QcSpecService {
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} }
return outputEncapsulationObject(PromptMessageEnum.DATA_NONE, "检验规格数据导入失败", locale); return outputEncapsulationObject(PromptMessageEnum.DATA_NONE, "请上传正确的Microsoft Excel 2007/2010 Workbook(*.xlsx)文件", locale);
} }
private List<Integer> checkAppearIndex(List<List<String>> sheetDataList, String varietyNo, String craftItemNo, String qcItemNo) { private List<Integer> checkAppearIndex(List<List<String>> sheetDataList, String varietyNo, String craftItemNo, String qcItemNo) {