src/main/java/com/ruoyi/production/service/impl/ProductMaterialServiceImpl.java
@@ -409,6 +409,11 @@ log.info("删除物料成功 ids={}", ids); } @Override public String selectProductModelIdByName(Long productId) { return baseMapper.selectProductModelIdByName(productId); } private void validateProductMaterial(ProductMaterial productMaterial, boolean requireId) { if (productMaterial == null) { throw new ServiceException("参数不能为空");