From 0ec22dcf4fd9c4496e6f681e7fab89f56c6e4e8a Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期四, 02 四月 2020 14:45:20 +0800
Subject: [PATCH] vip 消息
---
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/shop/BanLiShopGoodsSetsMapper.java | 56 ++++++++++++++++++++++++++++++++++++++++----------------
1 files changed, 40 insertions(+), 16 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/shop/BanLiShopGoodsSetsMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/shop/BanLiShopGoodsSetsMapper.java
index 404c978..30a8cdb 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/shop/BanLiShopGoodsSetsMapper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/shop/BanLiShopGoodsSetsMapper.java
@@ -1,17 +1,41 @@
-package com.yeshi.fanli.dao.mybatis.shop;
-
-import java.util.List;
-
-import com.yeshi.fanli.dao.BaseMapper;
-import com.yeshi.fanli.entity.shop.BanLiShopGoodsSets;
-
-public interface BanLiShopGoodsSetsMapper extends BaseMapper<BanLiShopGoodsSets> {
-
- BanLiShopGoodsSets selectDetailByPrimaryKey(Long id);
-
- List<BanLiShopGoodsSets> listDetailByGoodsId(Long goodsId);
-
- long countByGoodsId(Long goodsId);
-
- List<BanLiShopGoodsSets> listByGoodsId(Long goodsId);
+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.BanLiShopGoodsSets;
+
+public interface BanLiShopGoodsSetsMapper extends BaseMapper<BanLiShopGoodsSets> {
+
+ BanLiShopGoodsSets selectDetailByPrimaryKey(Long id);
+
+ List<BanLiShopGoodsSets> listDetailByGoodsId(Long goodsId);
+
+ long countByGoodsId(Long goodsId);
+
+ List<BanLiShopGoodsSets> listByGoodsId(Long goodsId);
+
+
+ /**
+ * 鍒楄〃鏌ヨ
+ *
+ * @param key
+ * @param state
+ * @param start
+ * @param count
+ * @return
+ */
+ List<BanLiShopGoodsSets> listQuery(@Param("start") long start, @Param("count") int count,
+ @Param("key") String key, @Param("goodsId")Long goodsId);
+
+ /**
+ * 璁℃暟
+ *
+ * @param key
+ * @param state
+ * @return
+ */
+ long countQuery(@Param("key") String key, @Param("goodsId")Long goodsId);
}
\ No newline at end of file
--
Gitblit v1.8.0