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