From d28bed1a1275131a5ca37f7da37961e2b518ac07 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 26 八月 2019 13:44:00 +0800 Subject: [PATCH] 淘礼金创建异常处理 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponService.java | 17 +++++------------ 1 files changed, 5 insertions(+), 12 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 eaf216f..6eeb35d 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 @@ -80,7 +80,7 @@ * @throws UserSystemCouponException * @throws Exception */ - public void useGoodsCoupon(Long uid, Long id, Long goodId) throws UserSystemCouponException, Exception; + public void useGoodsCoupon(Long uid, Long id, Long goodId, Integer sourceType) throws UserSystemCouponException, Exception; /** @@ -90,7 +90,7 @@ * @throws UserSystemCouponException * @throws Exception */ - public void useOrderCoupon(Long uid, Long id, String orderNo) throws UserSystemCouponException, Exception; + public void useOrderCoupon(Long uid, Long id, String orderNo, Integer sourceType) throws UserSystemCouponException, Exception; /** * 鏍规嵁璁㈠崟鍙疯幏鍙栧鍔卞埜浣跨敤杩涘害 @@ -99,7 +99,7 @@ * @throws UserSystemCouponException * @throws Exception */ - public UserSystemCouponRecordVO getRewardCouponRecord(String orderNo) throws UserSystemCouponException, Exception; + public UserSystemCouponRecordVO getRewardCouponRecord(String orderNo, Integer sourceType) throws UserSystemCouponException, Exception; /** * 鏄惁瀛樺湪濂栧姳鍒� @@ -115,7 +115,7 @@ * @throws UserSystemCouponException * @throws Exception */ - public UserSystemCouponRecordVO getFreeCouponRecord(String orderNo) throws UserSystemCouponException, Exception; + public UserSystemCouponRecordVO getFreeCouponRecord(String orderNo, Integer sourceType) throws UserSystemCouponException, Exception; /** * 鏍规嵁璁㈠崟鏉ユ簮鏌ヨ @@ -187,13 +187,6 @@ public void copyLotteryPrize(Long uid, int platform, String device) throws Exception; - /** - * 棰嗗彇鍒� - * @param uid - * @throws Exception - */ - public void receivedCoupon(Long uid) throws Exception; - /** * 缁熻浠婃棩鎶藉涓殑鍒告暟閲� @@ -211,5 +204,5 @@ * @throws Exception */ public void randomRewardCoupon(int num, Long uid, String source) throws Exception; - + } -- Gitblit v1.8.0