xiangpei
2025-05-09 641b4a3b1572f3a75ce0bd7d645e34252237cf9c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package cn.lili.modules.goods.service;
 
import cn.lili.modules.goods.entity.dos.CategoryParameterGroup;
import cn.lili.modules.goods.entity.vos.ParameterGroupVO;
import com.baomidou.mybatisplus.extension.service.IService;
 
import java.util.List;
 
/**
 * 分类绑定参数组业务层
 *
 * @author pikachu
 * @since 2020-03-02 16:44:56
 */
public interface CategoryParameterGroupService extends IService<CategoryParameterGroup> {
 
    /**
     * 查询分类绑定参数集合
     *
     * @param categoryId 分类Id
     * @return 分类参数
     */
    List<ParameterGroupVO> getCategoryParams(String categoryId);
 
 
    /**
     * 查询分类绑定参数组信息
     *
     * @param categoryId 分类id
     * @return 参数组列表
     */
    List<CategoryParameterGroup> getCategoryGroup(String categoryId);
 
 
    /**
     * 更新分类参数组绑定信息
     *
     * @param categoryParameterGroup 分类参数组信息
     * @return 是否成功
     */
    boolean updateCategoryGroup(CategoryParameterGroup categoryParameterGroup);
 
    /**
     * 通过分类ID删除关联品牌
     * @param categoryId 品牌ID
     */
    void deleteByCategoryId(String categoryId);
 
}