admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
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
package com.yeshi.fanli.service.inter.jd;
 
import java.util.List;
 
import com.yeshi.fanli.entity.jd.JDGoodsClass;
 
public interface JDGoodsClassService {
 
    public void insertSelective(JDGoodsClass record);
    
    public void updateByPrimaryKeySelective(JDGoodsClass record);
    
    
    /**
     * 查询各级分类
     * @param pid
     * @return
     */
    List<JDGoodsClass> getByLevel(Integer level);
    
    
    /**
     * 查询下级分类
     * @param pid
     * @return
     */
    List<JDGoodsClass> getByPid(Integer pid);
 
    /**
     * 更新分类
     */
    void insertClass();
 
    
    /**
     * 查询三级分类信息
     * @param cid
     * @return
     */
    JDGoodsClass getThreeClassByCid(Integer cid);
 
}