admin
2019-05-10 1980a44902bc179420448d96100e0c5477a93005
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
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;
 
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);
 
}