From a6f34b99ee20e528b766c8ed5a61bd9c5aa0e7ae Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 16 十一月 2019 18:10:33 +0800 Subject: [PATCH] 淘宝相似商品推荐接口优化,根据商品ID搜索商品基本信息优化 --- fanli/src/main/java/com/yeshi/fanli/service/inter/redpack/RedPackGiveRecordService.java | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/redpack/RedPackGiveRecordService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/redpack/RedPackGiveRecordService.java index ece6ab3..842678c 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/redpack/RedPackGiveRecordService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/redpack/RedPackGiveRecordService.java @@ -2,6 +2,7 @@ import java.math.BigDecimal; +import com.yeshi.fanli.entity.redpack.RedPackGiveRecord; import com.yeshi.fanli.exception.redpack.RedPackGiveRecordException; public interface RedPackGiveRecordService { @@ -15,5 +16,34 @@ */ public String giving(Long uid, BigDecimal amount) throws RedPackGiveRecordException; + /** + * 鏌ヨ璁板綍 + * @param id + * @return + */ + public RedPackGiveRecord selectByPrimaryKey(Long id); + + /** + * 鏇存柊璁板綍 + * @param record + */ + public void updateByPrimaryKeySelective(RedPackGiveRecord record); + + /** + * 鍙d护绾㈠寘棰嗗彇 + * @param uid + * @param id + * @throws RedPackGiveRecordException + */ + public RedPackGiveRecord receiveFriendsGive(Long uid, Long id) throws RedPackGiveRecordException; + + + /** + * 璧犻�侀��鍥� + * @param id + * @throws Exception + */ + public void overdueByPrimaryKey(Long id) throws Exception; + } -- Gitblit v1.8.0