| | |
| | | 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); |
| | | |
| | | 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);
|
| | |
|
| | | } |