gongchunyi
10 小时以前 35a8e2f73dd2a959409d07b1bd657580662b6956
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("参数不能为空");