注解
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user