admin
2019-06-28 455c7eddac87682e76d0168891be16a8ab1820d2
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
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.GoodsSubClassLabel;
import com.yeshi.fanli.vo.goods.GoodsSubClassLabelVO;
 
public interface GoodsSubClassLabelMapper extends BaseMapper<GoodsSubClassLabel> {
 
    /**
     * 根据名称与主分类ID获取二级分类标签
     * 
     * @param name
     * @param classId
     * @return
     */
    GoodsSubClassLabel selectByClassIdAndName(@Param("name")String name,@Param("classId") Long classId);
    
    /**
     * 根据分类ID检索
     * @param classId
     * @return
     */
    List<GoodsSubClassLabel> listByClassId(@Param("classId") Long classId);
    
    
    /**
     * 查询二级分类、标签
     * @param classId
     * @return
     */
    List<GoodsSubClassLabelVO> listSubMapByClassId(@Param("classId") Long classId,@Param("month")Integer month);
    
 
}