From 04e85c19e6cafd1cd65ade89b76a4e9ee5211c08 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 27 四月 2020 16:59:51 +0800
Subject: [PATCH] 佣金显示比例方法修改
---
fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserGoodsStorageService.java | 41 ++++++++++++++++++++++++++---------------
1 files changed, 26 insertions(+), 15 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserGoodsStorageService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserGoodsStorageService.java
index a60cc98..9e1b2ac 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserGoodsStorageService.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserGoodsStorageService.java
@@ -3,14 +3,12 @@
import java.util.List;
import java.util.Set;
-import net.sf.json.JSONArray;
-import net.sf.json.JSONObject;
-
-import org.apache.ibatis.annotations.Param;
-
import com.yeshi.fanli.entity.bus.user.UserGoodsStorage;
import com.yeshi.fanli.exception.share.UserShareGoodsRecordException;
import com.yeshi.fanli.exception.user.UserGoodsStorageException;
+
+import net.sf.json.JSONArray;
+import net.sf.json.JSONObject;
public interface UserGoodsStorageService {
@@ -33,10 +31,9 @@
* @param uid
* @return
*/
- public List<UserGoodsStorage> listQueryByUid(@Param("start") long start, @Param("count") int count,
- @Param("uid") Long uid);
+ public List<UserGoodsStorage> listQueryByUid(long start, int count, Long uid, Integer source);
- public long countQueryByUid(@Param("uid") Long uid);
+ public long countQueryByUid(Long uid, Integer source);
/**
* 鏂板鎴栧垵濮嬪寲鐢ㄦ埛閫夊搧搴�
@@ -45,7 +42,7 @@
* @return
* @throws UserGoodsStorageException
*/
- public void save(Long uid, Set<Long> auctionIds) throws UserGoodsStorageException;
+ public void save(Long uid, Set<Long> auctionIds, Integer goodsType) throws UserGoodsStorageException;
/**
* 鎵归噺鍒犻櫎
@@ -62,7 +59,7 @@
* @return
* @throws UserGoodsStorageException
*/
- public JSONArray getMyStorage(int page, int pageSize, Long uid) throws UserGoodsStorageException;
+ public JSONArray getMyStorage(int page, int pageSize, Long uid, Integer source) throws UserGoodsStorageException;
/**
* 鏍规嵁涓婚敭 銆乽id 鎵归噺鍒犻櫎
@@ -77,7 +74,7 @@
* @param auctionId 娣樺疂鍟嗗搧 id
* @return
*/
- public UserGoodsStorage getByUidAndAuctionId(Long uid, Long auctionId);
+ public UserGoodsStorage getByUidAndAuctionId(Long uid, Long auctionId, Integer goodsType);
/**
* 鍒ゆ柇鏄惁灞炰簬閫夊搧搴�
@@ -85,7 +82,7 @@
* @param auctionId 鍟嗗搧id
* @return
*/
- public boolean isExistStorage(Long uid, Long auctionId);
+ public boolean isExistStorage(Long uid, Long auctionId, Integer goodType);
/**
* 閫夊搧搴撳垎浜晢鍝�
@@ -97,9 +94,23 @@
public JSONObject shareGoods(Long uid, List<Long> listStorageID) throws UserGoodsStorageException, UserShareGoodsRecordException;
/**
- * 鏇存柊鍟嗗搧鐘舵�佷负宸插垎浜�
- * @param shareId 鍒嗕韩
+ * 娣诲姞绠�鐗堝晢鍝佸埌閫夊搧搴�
+ * @param uid
+ * @param ids
+ * @throws UserGoodsStorageException
*/
- public void updateShareState(Long shareId);
+ public void addCommonGoods(Long uid, Set<Long> ids) throws UserGoodsStorageException;
+
+ /**
+ * 鍒涘缓鍒嗕韩
+ * @param uid
+ * @param listStorageID
+ * @param needDrawPicture鏄惁闇�瑕佺粯鍥�
+ * @return
+ * @throws UserGoodsStorageException
+ * @throws UserShareGoodsRecordException
+ */
+ public JSONObject createShareV2(Long uid, List<Long> listStorageID,boolean needDrawPicture)
+ throws UserGoodsStorageException, UserShareGoodsRecordException;
}
--
Gitblit v1.8.0