src/main/java/com/zy/asrs/utils/MatV2ExcelListener.java
@@ -88,7 +88,7 @@ matV2.setUuid(uuid); matV2.setTagId(tagId); if (!matV2Service.insert(matV2)) { throw new CoolException("保存商品信息失败,物料号:" + excel.getMatnr()); throw new CoolException("保存商品信息失败,品号:" + excel.getMatnr()); } total++; } else { @@ -96,7 +96,7 @@ matV2.setUuid(uuid); matV2.setTagId(tagId); if (!matV2Service.update(matV2,new EntityWrapper<MatV2>().eq("matnr",matV2.getMatnr()))) { throw new CoolException("保存商品信息失败,物料号:" + excel.getMatnr()); throw new CoolException("保存商品信息失败,品号:" + excel.getMatnr()); } total++; }