From d40e978df4717d91f72f6e295c58f98524bbd29c Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 08 一月 2020 14:27:28 +0800
Subject: [PATCH] 跳转方式增加小程序
---
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/brand/BrandInfoMapper.java | 166 ++++++++++++++++++++++++++++++------------------------
1 files changed, 92 insertions(+), 74 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/brand/BrandInfoMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/brand/BrandInfoMapper.java
index 261f4b2..e3e75d2 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/brand/BrandInfoMapper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/brand/BrandInfoMapper.java
@@ -1,75 +1,93 @@
-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.BrandClass;
-import com.yeshi.fanli.entity.brand.BrandInfo;
-import com.yeshi.fanli.vo.brand.BrandInfoVO;
-
-public interface BrandInfoMapper extends BaseMapper<BrandInfo> {
-
- /**
- * 鏌ヨ鍒楄〃
- * @param start
- * @param count
- * @param key
- * @param state
- * @return
- */
- List<BrandInfo> listQuery(@Param("start") long start, @Param("count") int count, @Param("key") String key,
- @Param("cid")Long cid, @Param("state") Integer state);
-
- long countQuery(@Param("key") String key, @Param("cid") Long cid, @Param("state") Integer state);
-
-
- int deleteBatchByPrimaryKey(List<Long> list);
-
- /**
- * 鏌ヨ杩斿洖鍓嶇鍝佺墝
- * @param start
- * @param count
- * @param cid
- * @return
- */
- List<BrandInfoVO> listBrandInfoVO(@Param("start")long start, @Param("count")int count,@Param("cid") Long cid);
-
-
- long countBrandInfo(@Param("cid") Long cid);
-
-
-
-
- /**
- * 鏌ヨ鏈夋晥搴楅摵
- * @param start
- * @param count
- * @return
- */
- List<BrandInfo> listValidAll(@Param("start")long start, @Param("count")int count);
-
-
- /**
- * 鏌ヨ搴楅摵cid
- * @param cid
- * @return
- */
- List<BrandInfo> listValidByCidToApp(@Param("cid") Long cid);
-
- /**
- * 鏌ヨ搴楅摵cid
- * @param cid
- * @return
- */
- long countValidByCid(@Param("cid") Long cid);
-
- /**
- * 鏌ヨ搴楅摵cid
- * @param cid
- * @return
- */
- long countValidByCidToApp(@Param("cid") Long cid);
-
+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.BrandInfo;
+import com.yeshi.fanli.vo.brand.BrandInfoVO;
+
+public interface BrandInfoMapper extends BaseMapper<BrandInfo> {
+
+ /**
+ * 鏌ヨ鍒楄〃
+ * @param start
+ * @param count
+ * @param key
+ * @param state
+ * @return
+ */
+ List<BrandInfo> listQuery(@Param("start") long start, @Param("count") int count, @Param("keys") List<String> keys,
+ @Param("cid")Long cid, @Param("state") Integer state, @Param("showState")Integer showState);
+
+ long countQuery(@Param("keys") List<String> keys, @Param("cid") Long cid, @Param("state") Integer state, @Param("showState")Integer showState);
+
+
+ int deleteBatchByPrimaryKey(List<Long> list);
+
+
+ BrandInfo getByAdjoinOrder(@Param("cid") Long cid, @Param("order") double order, @Param("type") Integer type);
+
+
+
+ /**
+ * 鏌ヨ杩斿洖鍓嶇鍝佺墝
+ * @param start
+ * @param count
+ * @param cid
+ * @return
+ */
+ List<BrandInfoVO> listBrandInfoVO(@Param("start")long start, @Param("count")int count,@Param("cid") Long cid);
+
+
+ long countBrandInfo(@Param("cid") Long cid);
+
+
+
+
+ /**
+ * 鏌ヨ鏈夋晥搴楅摵
+ * @param start
+ * @param count
+ * @return
+ */
+ List<BrandInfo> listValidAll(@Param("start")long start, @Param("count")int count);
+
+
+ /**
+ * 鏌ヨ搴楅摵cid
+ * @param cid
+ * @return
+ */
+ List<BrandInfo> listValidByCidToApp(@Param("cid") Long cid);
+
+ /**
+ * 鏌ヨ搴楅摵cid
+ * @param cid
+ * @return
+ */
+ long countValidByCid(@Param("cid") Long cid);
+
+ /**
+ * 鏌ヨ搴楅摵cid
+ * @param cid
+ * @return
+ */
+ long countValidByCidToApp(@Param("cid") Long cid);
+
+
+ BrandInfo selectByUniqueName(@Param("name") String name, @Param("cid") Long cid, @Param("id") Long id);
+
+
+
+ /**
+ * 鏌ヨ杩斿洖鍓嶇鍝佺墝
+ * @param start
+ * @param count
+ * @param cid
+ * @return
+ */
+ List<BrandInfoVO> listByAlikeName(@Param("key") String key);
+
}
\ No newline at end of file
--
Gitblit v1.8.0