shikeyin
2024-01-11 65da8373531677b1c37a98f53eaa30c892f35e5a
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
package com.iplatform.base;
 
import com.iplatform.model.po.S_category;
import com.iplatform.model.vo.CategoryTreeVo;
 
import java.util.List;
 
/**
 * 分类缓存对象。
 * @author 时克英
 * @date 2023-05-17
 */
public interface CategoryCacheProvider {
 
    List<CategoryTreeVo> getTree(Integer type, Integer status, String name, List<Integer> categoryIdList, int owner);
 
    /**
     * 返回分类树结构(目前只有两级)
     * @param type 归属类别:1 产品分类,2 附件分类,3 文章分类, 4 设置分类, 5 菜单分类, 6 配置分类, 7 秒杀配置
     * @param status 状态:0正常,1失效
     * @param name 名称(目前未知)
     * @param owner 归属(平台或商户)
     * @return
     */
    List<CategoryTreeVo> getListTree(Integer type, Integer status, String name, int owner);
 
    S_category get(int id);
 
    void save(S_category category);
 
    void update(S_category category);
 
    void remove(int id);
}