yangys
2024-05-19 9e5da8899bc21bb5b6b0a3c267108caa00199291
smart-man-boot/src/main/java/com/qianwen/smartman/modules/cps/service/impl/ProductTypeServiceImpl.java
@@ -26,7 +26,7 @@
        this.productMapper = productMapper;
    }
    @Override // org.springblade.modules.cps.service.IProductTypeService
    public Boolean removeIds(List<Long> ids) {
        ids.forEach(id -> {
           Long count = this.productMapper.selectCount(Wrappers.<Product>lambdaQuery().eq(Product::getTypeId, id));
@@ -41,7 +41,7 @@
        return Boolean.valueOf(removeByIds(ids));
    }
    @Override // org.springblade.modules.cps.service.IProductTypeService
    public void insertOrUpdate(ProductType productType) {
        checkProductTypeName(productType);
        saveOrUpdate(productType);