From c8f11c229b87d1652b6da0b15576c166cd51eb8b Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 01 一月 2020 14:25:22 +0800
Subject: [PATCH] 首页悬浮图mapperbug修改,增加商品详情中的比例展示
---
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserGoodsStorageMapper.java | 147 +++++++++++++++++++++++++++----------------------
1 files changed, 81 insertions(+), 66 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserGoodsStorageMapper.java b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserGoodsStorageMapper.java
index 66e9d53..eb62c68 100644
--- a/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserGoodsStorageMapper.java
+++ b/fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/UserGoodsStorageMapper.java
@@ -1,67 +1,82 @@
-package com.yeshi.fanli.dao.mybatis.user;
-
-import java.util.List;
-
-import org.apache.ibatis.annotations.Param;
-
-import com.yeshi.fanli.entity.bus.user.UserGoodsStorage;
-
-public interface UserGoodsStorageMapper {
-
- int deleteByPrimaryKey(Long id);
-
- int insert(UserGoodsStorage record);
-
- int insertSelective(UserGoodsStorage record);
-
- UserGoodsStorage selectByPrimaryKey(Long id);
-
- int updateByPrimaryKeySelective(UserGoodsStorage record);
-
- int updateByPrimaryKey(UserGoodsStorage record);
-
- /**
- * 鏍规嵁涓婚敭鎵归噺鍒犻櫎
- * @param list
- * @return
- */
- int deleteBatchByPrimaryKey(List<Long> list);
-
- /**
- * 鏌ヨ鐢ㄦ埛瀵瑰簲鐨勯�夊搧搴�
- * @param start
- * @param count
- * @param uid
- * @return
- */
- List<UserGoodsStorage> listQueryByUid(@Param("start") long start, @Param("count") int count,
- @Param("uid") Long uid);
-
- long countQueryByUid(@Param("uid") Long uid);
-
- /**
- * 鏍规嵁鐢ㄦ埛id銆� 绠�鐗堝晢鍝� id(CommonGoods.id)
- * @param uid 鐢ㄦ埛id
- * @param cid 鍟嗗搧id(CommonGoods.id)
- * @return
- */
- UserGoodsStorage getByUidAndCid(@Param("uid") Long uid, @Param("cid") Long cid);
-
-
- /**
- * 鏍规嵁涓婚敭 銆乽id 鎵归噺鍒犻櫎
- * @param list
- * @return
- */
- int deleteBatchByUidAndPrimaryKey(@Param("uid") Long uid, @Param("list") List<Long> list);
-
-
- /**
- * 鏍规嵁鐢ㄦ埛id銆佹窐瀹濆晢鍝� id
- * @param uid 鐢ㄦ埛id
- * @param auctionId 娣樺疂鍟嗗搧 id
- * @return
- */
- UserGoodsStorage getByUidAndAuctionId(@Param("uid") Long uid, @Param("auctionId") Long auctionId);
-
+package com.yeshi.fanli.dao.mybatis.user;
+
+import java.util.List;
+
+import org.apache.ibatis.annotations.Param;
+
+import com.yeshi.fanli.entity.bus.user.UserGoodsStorage;
+
+public interface UserGoodsStorageMapper {
+
+ int deleteByPrimaryKey(Long id);
+
+ int insert(UserGoodsStorage record);
+
+ int insertSelective(UserGoodsStorage record);
+
+ UserGoodsStorage selectByPrimaryKey(Long id);
+
+ int updateByPrimaryKeySelective(UserGoodsStorage record);
+
+ int updateByPrimaryKey(UserGoodsStorage record);
+
+ /**
+ * 鏍规嵁涓婚敭鎵归噺鍒犻櫎
+ * @param list
+ * @return
+ */
+ int deleteBatchByPrimaryKey(List<Long> list);
+
+ /**
+ * 鎵归噺閫夋嫨鏇存柊
+ * @param list
+ * @return
+ */
+ int updateBatchSelective(List<UserGoodsStorage> list);
+
+ /**
+ * 鏌ヨ鐢ㄦ埛瀵瑰簲鐨勯�夊搧搴�
+ * @param start
+ * @param count
+ * @param uid
+ * @return
+ */
+ List<UserGoodsStorage> listQueryByUid(@Param("start") long start, @Param("count") int count,
+ @Param("uid") Long uid, @Param("gooodsType") Integer gooodsType);
+
+ long countQueryByUid(@Param("uid") Long uid, @Param("gooodsType") Integer gooodsType);
+
+ /**
+ * 鏍规嵁鐢ㄦ埛id銆� 绠�鐗堝晢鍝� id(CommonGoods.id)
+ * @param uid 鐢ㄦ埛id
+ * @param cid 鍟嗗搧id(CommonGoods.id)
+ * @return
+ */
+ UserGoodsStorage getByUidAndCid(@Param("uid") Long uid, @Param("cid") Long cid);
+
+
+ /**
+ * 鏍规嵁涓婚敭 銆乽id 鎵归噺鍒犻櫎
+ * @param list
+ * @return
+ */
+ int deleteBatchByUidAndPrimaryKey(@Param("uid") Long uid, @Param("list") List<Long> list);
+
+
+ /**
+ * 鏍规嵁鐢ㄦ埛id銆佹窐瀹濆晢鍝� id
+ * @param uid 鐢ㄦ埛id
+ * @param auctionId 娣樺疂鍟嗗搧 id
+ * @return
+ */
+ UserGoodsStorage getByUidAndAuctionId(@Param("uid") Long uid, @Param("auctionId") Long auctionId, @Param("gooodsType") Integer gooodsType);
+
+
+ /**
+ * 鏍规嵁澶氫釜涓婚敭鑾峰彇鍟嗗搧
+ * @param list
+ * @return
+ */
+ List<UserGoodsStorage> listQueryByIds(List<Long> list);
+
}
\ No newline at end of file
--
Gitblit v1.8.0