This commit is contained in:
yuezhihang
2022-03-23 16:55:27 +08:00
parent 2ac8eda3be
commit 9b2b957335
@@ -87,6 +87,7 @@ public class ExcelImportUtilByWk {
Row headRow=sheet.getRow(firstRowNum);
for (int j=0;j<mapExcel.keySet().size();j++){
if (!headRow.getCell(j).toString().equals(mapExcel.get(j).name())){
//返回null就是表头没对上 excel错误
return null;
}
}