From 28cf328a098334b51a3e9d2d56f983fb8c862211 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 23 五月 2020 09:54:38 +0800 Subject: [PATCH] 足迹、收藏订单兼容新需求 --- fanli/src/main/java/com/yeshi/fanli/dao/mybatis/brand/BrandClassShopMapper.java | 158 ++++++++++++++++++++++++++-------------------------- 1 files changed, 79 insertions(+), 79 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 73b6242..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,80 +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>{ - - - /** - * 鏍规嵁鍒嗙被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); - - +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