yujian
2020-01-18 f4a0f2acc63d7785eab108419a4e16f5f688cb95
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/shop/BanLiShopGoodsSetsPayMapper.java
@@ -1,24 +1,48 @@
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);
}