rentaiming
2024-07-19 9712b44935d8a86ac063468cc35577e0da429049
ruoyi-modules/ruoyi-management/src/main/java/com/ruoyi/management/service/impl/SlGoodsMaterialsServiceImpl.java
@@ -53,6 +53,7 @@
            slGoodsMaterials.setGoodsMaterialsName(slGoodsMaterialsDTO.getGoodsMaterialsName());
            slGoodsMaterials.setIsConsume(slGoodsMaterialsDTO.getIsConsume());
            slGoodsMaterials.setRepertory(slGoodsMaterialsDTO.getRepertory());
            this.save(slGoodsMaterials);
        }else{
            SlGoodsMaterials byId = this.getById(slGoodsMaterialsDTO.getId());
            if (slGoodsMaterialsDTO.getGoodsMaterialsName()!=null){