From 833ec62ccef409ddeee5594af855ea050060257d Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 19 十二月 2019 19:29:34 +0800
Subject: [PATCH] 队员改为粉丝,京东短链解析商品ID修改
---
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/lable/LabelGoodsMapper.java | 260 +++++++++++++++++++++++++--------------------------
1 files changed, 128 insertions(+), 132 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/lable/LabelGoodsMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/lable/LabelGoodsMapper.java
index afb1bbc..2bcf363 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/lable/LabelGoodsMapper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/lable/LabelGoodsMapper.java
@@ -1,133 +1,129 @@
-package com.yeshi.fanli.dao.mybatis.lable;
-
-import java.util.List;
-
-import org.apache.ibatis.annotations.Param;
-
-import com.yeshi.fanli.entity.bus.lable.LabelGoods;
-
-
-
-public interface LabelGoodsMapper {
-
- int deleteByPrimaryKey(Long id);
-
- int insert(LabelGoods record);
-
- int insertSelective(LabelGoods record);
-
- LabelGoods selectByPrimaryKey(Long id);
-
- int updateByPrimaryKeySelective(LabelGoods record);
-
- int updateByPrimaryKey(LabelGoods record);
-
- /**
- * 鎵归噺鎻掑叆
- * @param list
- * @return
- */
- int insertBatch(List<LabelGoods> list);
-
- /**
- * 鍒ゆ柇鏄惁宸茶创杩囨爣绛�
- * @param title
- * @param startTime
- * @return
- */
- Long getRelationNum( @Param("labelId") Long labelId);
-
- /**
- * 鎵归噺鍒犻櫎
- * @param ids
- * @return
- */
- int deleteBatchByPrimaryKey(long[] ids);
-
-
- /**
- * 鎵归噺鍒犻櫎
- * @param ids
- * @return
- */
- int deleteBatchByPK(List<Long> list);
-
-
- /**
- * 鍒ゆ柇鏄惁宸茶创杩囨爣绛�
- * @param title
- * @param startTime
- * @return
- */
- Long isExistence(@Param("goodsId") Long goodsId, @Param("labelId") Long labelId);
-
- /**
- * 鏌ヨ鍟嗗搧褰撳墠鏄惁鍖呭惈 9k9绫荤洰
- * @param title
- * @param list
- * @return
- */
- List<LabelGoods> listQuery9k9Class(@Param("gid") Long title, @Param("list") List<Long> list);
-
-
-
- /**
- * 鏌ヨ鍟嗗搧瀵瑰簲鏍囩
- * @param goodsId
- * @return
- */
- int getCountByGoodsId(@Param("goodsId") Long goodsId);
-
-
- /**
- * 鏌ヨ鍟嗗搧瀵瑰簲鏍囩 -- 鍒嗛〉
- * @param record
- * @return
- */
- List<LabelGoods> queryByGoodsId(@Param("start") int start, @Param("count") int count, @Param("goodsId") Long record);
-
- int getCountQueryByGoodsId(@Param("goodsId") Long record);
-
-
- /**
- * 鏍规嵁鍟嗗搧id鍒犻櫎鏍囩
- * @param goodsId
- * @return
- */
- int deleteByGoodsId(Long goodsId);
-
-
- int deleteBatchByGoodsId(List<Long> list);
-
-
- /**
- * 鏍规嵁鏍囩id鎵归噺鍒犻櫎
- * @param ids
- * @return
- */
- int deleteByLabId(Long labId);
-
- /**
- * 鎵归噺鍒犻櫎
- * @param ids
- * @return
- */
-
- int deleteByGoodsIdAndLabId(Long goodsId, Long labId);
-
-
- /**
- * 鏌ヨ鎵�鏈夋暟鎹�+鏉′欢
- * @param start
- * @param count
- * @param goodsId
- * @param labIds
- * @return
- */
- List<LabelGoods> listQuery(@Param("start") long start, @Param("count") int count,
- @Param("labIds") List<Long> labIds);
-
- long countQuery(@Param("labIds") List<Long> labIds);
-
-
+package com.yeshi.fanli.dao.mybatis.lable;
+
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+
+import com.yeshi.fanli.dao.BaseMapper;
+import com.yeshi.fanli.entity.bus.lable.LabelGoods;
+
+
+
+public interface LabelGoodsMapper extends BaseMapper<LabelGoods>{
+
+ /**
+ * 鎵归噺鎻掑叆
+ * @param list
+ * @return
+ */
+ int insertBatch(List<LabelGoods> list);
+
+ /**
+ * 鍒ゆ柇鏄惁宸茶创杩囨爣绛�
+ * @param title
+ * @param startTime
+ * @return
+ */
+ Long getRelationNum( @Param("labelId") Long labelId);
+
+ /**
+ * 鎵归噺鍒犻櫎
+ * @param ids
+ * @return
+ */
+ int deleteBatchByPrimaryKey(long[] ids);
+
+
+ /**
+ * 鍒犻櫎鍟嗗搧澶氫釜鏍囩
+ */
+ void deleteByAuctionIdAndLabIDs(@Param("auctionId")Long auctionId, @Param("list") List<Long> list);
+
+
+
+ /**
+ * 鎵归噺鍒犻櫎
+ * @param ids
+ * @return
+ */
+ int deleteBatchByPK(List<Long> list);
+
+
+ /**
+ * 鍒ゆ柇鏄惁宸茶创杩囨爣绛�
+ * @param title
+ * @param startTime
+ * @return
+ */
+ Long isExistence(@Param("goodsId") Long goodsId, @Param("labelId") Long labelId);
+
+ /**
+ * 鏌ヨ鍟嗗搧褰撳墠鏄惁鍖呭惈 9k9绫荤洰
+ * @param title
+ * @param list
+ * @return
+ */
+ List<LabelGoods> listQuery9k9Class(@Param("gid") Long title, @Param("list") List<Long> list);
+
+
+
+ /**
+ * 鏌ヨ鍟嗗搧瀵瑰簲鏍囩
+ * @param goodsId
+ * @return
+ */
+ int getCountByGoodsId(@Param("goodsId") Long goodsId);
+
+
+ /**
+ * 鏌ヨ鍟嗗搧瀵瑰簲鏍囩 -- 鍒嗛〉
+ * @param record
+ * @return
+ */
+ List<LabelGoods> queryByGoodsId(@Param("start") int start, @Param("count") int count, @Param("goodsId") Long record);
+
+ int getCountQueryByGoodsId(@Param("goodsId") Long record);
+
+
+ /**
+ * 鏍规嵁鍟嗗搧id鍒犻櫎鏍囩
+ * @param goodsId
+ * @return
+ */
+ int deleteByGoodsId(Long goodsId);
+
+
+ int deleteBatchByGoodsId(List<Long> list);
+
+
+ /**
+ * 鏍规嵁鏍囩id鎵归噺鍒犻櫎
+ * @param ids
+ * @return
+ */
+ int deleteByLabId(Long labId);
+
+ /**
+ * 鎵归噺鍒犻櫎
+ * @param ids
+ * @return
+ */
+
+ int deleteByGoodsIdAndLabId(Long goodsId, Long labId);
+
+
+ /**
+ * 鏌ヨ鎵�鏈夋暟鎹�+鏉′欢
+ * @param start
+ * @param count
+ * @param goodsId
+ * @param labIds
+ * @return
+ */
+ List<LabelGoods> listQuery(@Param("start") long start, @Param("count") int count,
+ @Param("labIds") List<Long> labIds);
+
+ long countQuery(@Param("labIds") List<Long> labIds);
+
+
}
\ No newline at end of file
--
Gitblit v1.8.0