From f4a0f2acc63d7785eab108419a4e16f5f688cb95 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 18 一月 2020 12:06:27 +0800 Subject: [PATCH] 用户注册信息 --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/shop/BanLiShopGoodsSetsPayMapper.java | 70 +++++++++++++++++++++++----------- 1 files changed, 47 insertions(+), 23 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/shop/BanLiShopGoodsSetsPayMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/shop/BanLiShopGoodsSetsPayMapper.java index f53b7a8..7730613 100644 --- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/shop/BanLiShopGoodsSetsPayMapper.java +++ b/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); + } \ No newline at end of file -- Gitblit v1.8.0