| | |
| | | package com.yeshi.fanli.dao.mybatis.shop; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | | import com.yeshi.fanli.entity.shop.BanLiShopGoodsSetsPay; |
| | | |
| | | public interface BanLiShopGoodsSetsPayMapper extends BaseMapper<BanLiShopGoodsSetsPay> { |
| | | |
| | | /** |
| | | * 根据套餐ID查询列表 |
| | | * @param goodsSetId |
| | | * @return |
| | | */ |
| | | List<BanLiShopGoodsSetsPay> listByGoodsSetId(Long goodsSetId); |
| | | |
| | | /** |
| | | * 根据套餐ID计数 |
| | | * @param goodsSetId |
| | | * @return |
| | | */ |
| | | long countByGoodsSetId(Long goodsSetId); |
| | | |
| | | package com.yeshi.fanli.dao.mybatis.shop;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.dao.BaseMapper;
|
| | | import com.yeshi.fanli.entity.shop.BanLiShopGoodsSetsPay;
|
| | |
|
| | | public interface BanLiShopGoodsSetsPayMapper extends BaseMapper<BanLiShopGoodsSetsPay> {
|
| | |
|
| | | /**
|
| | | * 根据套餐ID查询列表
|
| | | * @param goodsSetId
|
| | | * @return
|
| | | */
|
| | | List<BanLiShopGoodsSetsPay> listByGoodsSetId(Long goodsSetId);
|
| | | |
| | | /**
|
| | | * 根据套餐ID计数
|
| | | * @param goodsSetId
|
| | | * @return
|
| | | */
|
| | | long countByGoodsSetId(Long goodsSetId);
|
| | | |
| | | |
| | | /**
|
| | | * 列表查询
|
| | | * |
| | | * @param key
|
| | | * @param state
|
| | | * @param start
|
| | | * @param count
|
| | | * @return
|
| | | */
|
| | | List<BanLiShopGoodsSetsPay> listQuery(@Param("start") long start, @Param("count") int count,
|
| | | @Param("key") String key, @Param("payType") Integer payType, @Param("setId")Long setId);
|
| | |
|
| | | /**
|
| | | * 计数
|
| | | * |
| | | * @param key
|
| | | * @param state
|
| | | * @return
|
| | | */
|
| | | long countQuery(@Param("key") String key, @Param("payType") Integer payType, @Param("setId")Long setId);
|
| | |
|
| | | } |