zy-asrs-common/src/main/java/com/zy/asrs/common/utils/MatExcelListener.java
@@ -140,6 +140,16 @@
                throw new CoolException("保存商品信息失败,商品编码:" + excel.getMatnr());
            }
            total++;
        }else {
            matService.removeById(mat.getId());
            mat = excel;
            mat.setTagId(tagId);
            mat.setHostId(hostId);
            if (!matService.save(mat)) {
                throw new CoolException("保存商品信息失败,商品编码:" + excel.getMatnr());
            }
            total++;
        }
    }