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){