From ee5c8055b1c0dd7c67a9025a76b10bd287c93d9a Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 15 四月 2020 09:52:27 +0800
Subject: [PATCH] 资金明细增加团队分红
---
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/brand/BrandClassShopMapper.java | 149 ++++++++++++++++++++++++++-----------------------
1 files changed, 79 insertions(+), 70 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/brand/BrandClassShopMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/brand/BrandClassShopMapper.java
index 0ba189f..26fbc52 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/brand/BrandClassShopMapper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/brand/BrandClassShopMapper.java
@@ -1,71 +1,80 @@
-package com.yeshi.fanli.dao.mybatis.brand;
-
-import java.util.List;
-
-import org.apache.ibatis.annotations.Param;
-
-import com.yeshi.fanli.dao.BaseMapper;
-import com.yeshi.fanli.entity.brand.BrandClassShop;
-
-public interface BrandClassShopMapper extends BaseMapper<BrandClassShop>{
-
- /**
- * 鏌ヨ鏈夋晥
- * @param start
- * @param count
- * @param cid
- * @return
- */
- List<BrandClassShop> listEffective(@Param("start") long start, @Param("count") int count, @Param("cid") Long cid);
-
- long countEffective(@Param("cid") Long cid);
-
-
- List<BrandClassShop> getExistByShopIds(List<Long> list);
-
- /**
- * 鏍规嵁搴楅摵id
- * @param cid
- * @param shopId
- * @return
- */
- BrandClassShop getByShopId(@Param("shopId") Long shopId);
-
- /**
- * 鏍规嵁搴楅摵id銆佸垎绫籭d鏌ヨ
- * @param cid
- * @param shopId
- * @return
- */
- BrandClassShop getByShopIdAndCid(@Param("cid") Long cid, @Param("shopId") Long shopId);
-
- /**
- * 鏍规嵁鍒嗙被鏌ヨ鎺掑簭
- * @param cid
- * @return
- */
- int getMaxOrder(@Param("cid") Long cid);
-
- /**
- * 鎺掑簭浜ゆ崲
- * @param order
- * @param type
- * @return
- */
- BrandClassShop getByAdjoinOrder(@Param("cid") Long cid, @Param("order") Integer order, @Param("type") Integer type);
-
- /**
- * 鏌ヨ鍒楄〃
- * @param start
- * @param count
- * @param key
- * @param state
- * @return
- */
- public List<BrandClassShop> listQuery(@Param("start") long start,@Param("count") int count,
- @Param("key")String key, @Param("cid") Long cid,@Param("state") Integer state);
-
- public long countQuery(@Param("key")String key, @Param("cid") Long cid,@Param("state") Integer state);
-
-
+package com.yeshi.fanli.dao.mybatis.brand;
+
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+
+import com.yeshi.fanli.dao.BaseMapper;
+import com.yeshi.fanli.entity.brand.BrandClassShop;
+
+public interface BrandClassShopMapper extends BaseMapper<BrandClassShop>{
+
+
+ /**
+ * 鏍规嵁鍒嗙被id鎵归噺鍒犻櫎
+ * @param list
+ * @return
+ */
+ int deleteBatchByClassId(List<Long> list);
+
+
+ /**
+ * 鏌ヨ鏈夋晥
+ * @param start
+ * @param count
+ * @param cid
+ * @return
+ */
+ List<BrandClassShop> listEffective(@Param("cid") Long cid);
+
+ long countEffective(@Param("cid") Long cid);
+
+
+ List<BrandClassShop> getExistByShopIds(List<Long> list);
+
+ /**
+ * 鏍规嵁搴楅摵id
+ * @param cid
+ * @param shopId
+ * @return
+ */
+ BrandClassShop getByShopId(@Param("shopId") Long shopId);
+
+ /**
+ * 鏍规嵁搴楅摵id銆佸垎绫籭d鏌ヨ
+ * @param cid
+ * @param shopId
+ * @return
+ */
+ BrandClassShop getByShopIdAndCid(@Param("cid") Long cid, @Param("shopId") Long shopId);
+
+ /**
+ * 鏍规嵁鍒嗙被鏌ヨ鎺掑簭
+ * @param cid
+ * @return
+ */
+ int getMaxOrder(@Param("cid") Long cid);
+
+ /**
+ * 鎺掑簭浜ゆ崲
+ * @param order
+ * @param type
+ * @return
+ */
+ BrandClassShop getByAdjoinOrder(@Param("cid") Long cid, @Param("order") Integer order, @Param("type") Integer type);
+
+ /**
+ * 鏌ヨ鍒楄〃
+ * @param start
+ * @param count
+ * @param key
+ * @param state
+ * @return
+ */
+ public List<BrandClassShop> listQuery(@Param("start") long start,@Param("count") int count,
+ @Param("key")String key, @Param("cid") Long cid,@Param("state") Integer state);
+
+ public long countQuery(@Param("key")String key, @Param("cid") Long cid,@Param("state") Integer state);
+
+
}
\ No newline at end of file
--
Gitblit v1.8.0