From 69bee82b81626b82b7f39f0e459e4f56b1699b51 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 13 三月 2019 12:02:16 +0800 Subject: [PATCH] 正式数据库修改 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserGoodsStorageService.java | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 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 57a357d..a60cc98 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 @@ -4,10 +4,12 @@ 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; public interface UserGoodsStorageService { @@ -85,4 +87,19 @@ */ public boolean isExistStorage(Long uid, Long auctionId); + /** + * 閫夊搧搴撳垎浜晢鍝� + * @param uid + * @param listStorageID + * @throws UserGoodsStorageException + * @throws UserShareGoodsRecordException + */ + public JSONObject shareGoods(Long uid, List<Long> listStorageID) throws UserGoodsStorageException, UserShareGoodsRecordException; + + /** + * 鏇存柊鍟嗗搧鐘舵�佷负宸插垎浜� + * @param shareId 鍒嗕韩 + */ + public void updateShareState(Long shareId); + } -- Gitblit v1.8.0