From c9cbad5f5d18c6b2ac5a063e41007933d7028329 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 07 七月 2020 15:24:17 +0800 Subject: [PATCH] 返利配置文件加入系统区分 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserShareGoodsRecordService.java | 27 ++++++++++++++++++++++----- 1 files changed, 22 insertions(+), 5 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserShareGoodsRecordService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserShareGoodsRecordService.java index 9232ee6..2f82415 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserShareGoodsRecordService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserShareGoodsRecordService.java @@ -3,7 +3,11 @@ import java.util.List; import com.yeshi.fanli.dto.share.ShareGoodsRecordDTO; +import com.yeshi.fanli.entity.SystemEnum; +import com.yeshi.fanli.entity.accept.AcceptData; +import com.yeshi.fanli.entity.bus.share.UserShareGoodsGroup; import com.yeshi.fanli.entity.bus.share.UserShareGoodsRecord; +import com.yeshi.fanli.entity.goods.CommonGoods; import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief; import com.yeshi.fanli.exception.share.UserShareGoodsRecordException; @@ -59,7 +63,7 @@ * @return * @throws UserShareGoodsRecordException */ - public JSONObject getGoodsGroup(Long recordId) throws UserShareGoodsRecordException; + public JSONObject getGoodsGroup(Long recordId, SystemEnum system) throws UserShareGoodsRecordException; /** * h5鍒嗕韩鍟嗗搧鍒楄〃 @@ -68,7 +72,7 @@ * @return * @throws UserShareGoodsRecordException */ - public JSONObject getGoodsGroupDetail(Long recordId) throws UserShareGoodsRecordException; + public JSONObject getGoodsGroupDetail(Long recordId, SystemEnum system) throws UserShareGoodsRecordException; /** * 鍒嗕韩璁板綍鐢熸晥 @@ -76,7 +80,7 @@ * @param shareId * @throws UserShareGoodsRecordException */ - public void takeEffectShareRecord(String shareKey) throws UserShareGoodsRecordException; + public void takeEffectShareRecord(AcceptData acceptData, String shareKey) throws UserShareGoodsRecordException; /** @@ -95,7 +99,7 @@ * @param type * @throws UserShareGoodsRecordException */ - public void saveSingleShareRecord(Long uid, Long auctionId) throws UserShareGoodsRecordException; + public void saveSingleShareRecord(Long uid, Long auctionId, Integer goodsType) throws UserShareGoodsRecordException; /** @@ -105,7 +109,7 @@ * @return * @throws UserShareGoodsRecordException */ - public ShareGoodsRecordDTO addRecordGoodsDetail(Long uid, Long auctionId) throws UserShareGoodsRecordException; + public ShareGoodsRecordDTO addRecordGoodsDetail(Long uid, Long auctionId, Integer goodsType, boolean isTaolijin) throws UserShareGoodsRecordException; /** * 閫夊搧搴撳晢鍝佸垎浜� @@ -139,5 +143,18 @@ */ public ShareGoodsRecordDTO addRecordDynamic(Long uid, List<TaoBaoGoodsBrief> listGoodsBrief) throws UserShareGoodsRecordException; + + public List<UserShareGoodsGroup> listByRecordId(Long shareId); + + public ShareGoodsRecordDTO addRecordGoodsStorageV2(Long uid, List<CommonGoods> listCommonGoods, + List<Long> listStorageID,boolean needDrawPicture) throws UserShareGoodsRecordException; + + /** + * 鍒涘缓鍒嗕韩璁板綍 + * @param uid + * @param goods + * @throws UserShareGoodsRecordException + */ + public void saveShareRecord(Long uid, CommonGoods goods) throws UserShareGoodsRecordException; } -- Gitblit v1.8.0