src/main/java/com/zy/asrs/utils/MatExcelListener.java
@@ -30,6 +30,7 @@ private int total = 0; private Long userId; private int count; public MatExcelListener() { } @@ -178,6 +179,7 @@ if (!matService.insert(mat)) { throw new CoolException("保存商品档案失败,商品编码:" + excel.getMatnr()); } count++; } } @@ -193,4 +195,8 @@ public int getTotal() { return total; } public int getCount() { return count; } }