yj
2020-03-06 207dc8655711cddac2653e18b51e58a88dba2084
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
package com.yeshi.fanli.dao.mybatis.clazz;
 
import java.util.List;
 
import org.apache.ibatis.annotations.Param;
 
import com.yeshi.fanli.dao.BaseMapper;
import com.yeshi.fanli.entity.bus.clazz.GoodsSubClassLabelMap;
 
public interface GoodsSubClassLabelMapMapper extends BaseMapper<GoodsSubClassLabelMap> {
 
    /**
     * 根据二级分类与标签ID检索
     * 
     * @param labelId
     * @param subClassId
     * @return
     */
    GoodsSubClassLabelMap selectByLabelIdAndSubClassId(@Param("labelId") Long labelId,
            @Param("subClassId") Long subClassId);
 
    /**
     * 根据标签ID检索
     * 
     * @param labelId
     * @return
     */
    List<GoodsSubClassLabelMap> listMapByLabelId(@Param("labelId") Long labelId);
    
    /**
     * 根据子分类查询
     * @param subClassId
     * @return
     */
    GoodsSubClassLabelMap selectBySubClassId(Long subClassId);
 
}