自动化立体仓库 - WMS系统
李天宇
2024-11-09 4e703e5c6117f9502043cf659dbc03e8da9254c4
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++;
        }