From 70c9043f312a52a922cb15490d90a172b3515060 Mon Sep 17 00:00:00 2001 From: yujian <yujian> Date: 星期四, 28 二月 2019 14:07:00 +0800 Subject: [PATCH] 奖励详情跳转地址调整 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponService.java | 28 ++++++++++++++++++++++++++-- 1 files changed, 26 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponService.java index aca0226..e38c242 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponService.java @@ -1,5 +1,6 @@ package com.yeshi.fanli.service.inter.user; +import java.math.BigDecimal; import java.util.List; import com.yeshi.fanli.entity.bus.user.UserSystemCoupon; @@ -70,7 +71,7 @@ * @throws UserSystemCouponException * @throws Exception */ - public List<UserSystemCouponVO> getGoodsCouponList(Long uid) throws UserSystemCouponException, Exception; + public List<UserSystemCouponVO> getGoodsCouponList(Long uid, Long auctionId) throws UserSystemCouponException, Exception; /** * 鏇存柊鍒镐娇鐢ㄨ褰� @@ -144,7 +145,7 @@ * 閫�鍥炲埜 * @param uid */ - public void sendBackCoupon(Long uid); + public void sendBackTimeOutCoupon(Long uid); /** * 婵�娲荤鍒╁厤鍗曞埜 @@ -152,5 +153,28 @@ */ public void activatedWelfareFreeCoupon(Long uid); + /** + * 鏇存柊鍒歌褰� 鈥斺�斿尮閰嶅厤鍗曞埜 + * @param uid 鐢ㄦ埛id + * @param orderNo 璁㈠崟鍙� + * @param payment 浠樻閲戦 + * @param auctionId 鍟嗗搧id(娣樺疂) + * @return 鍏嶅崟鎴愬姛 true + * @throws Exception + */ + public boolean updateCouponRecordUsed(Long uid, String orderNo, BigDecimal payment, Long auctionId) throws Exception; + + /** + * 璁㈠崟閫�娆炬洿鏂� 鍒歌褰曠姸鎬佸苟閫�鍥炲埜 + * @param orderNo + */ + public void updateStateByDrawback(String orderNo) throws Exception; + + /** + * 绾㈠寘鍒拌处 -- 鏇存柊鍒镐娇鐢ㄧ姸鎬� -鏀逛负浣跨敤鎴愬姛 + * @param orderNo + * @throws Exception + */ + public void updateStateByArrivalAccount(String orderNo) throws Exception; } -- Gitblit v1.8.0