From a3ea58065f61d16f06a0883737eae320eef5c33a Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 01 八月 2019 15:47:12 +0800 Subject: [PATCH] 非任务模式不执行京东/拼多多订单 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponService.java | 42 +++++++++++++++++++++++++++++++++++------- 1 files changed, 35 insertions(+), 7 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 ca545de..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 @@ -35,7 +35,7 @@ * @param uid * @return */ - public List<UserSystemCouponVO> getUserCouponVOList(long start, int count, Long uid) throws UserSystemCouponException, Exception; + public List<UserSystemCouponVO> getUserCouponVOList(long start, int count, Long uid, boolean changeJump ) throws UserSystemCouponException, Exception; /** * 缁熻鏁伴噺 @@ -71,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; /** * 鏇存柊鍒镐娇鐢ㄨ褰� @@ -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; /** * 鏍规嵁璁㈠崟鏉ユ簮鏌ヨ @@ -151,7 +151,7 @@ * 婵�娲荤鍒╁厤鍗曞埜 * @param uid */ - public void activatedWelfareFreeCoupon(Long uid); + public void activatedWelfareFreeCoupon(Long uid, String from); /** * 鏇存柊鍒歌褰� 鈥斺�斿尮閰嶅厤鍗曞埜 @@ -176,5 +176,33 @@ * @throws Exception */ public void updateStateByArrivalAccount(String orderNo) throws Exception; + + /** + * 棰嗗彇鏈櫥褰曟椂宸叉娊濂栫殑绀煎搧 + * @param uid + * @param platform + * @param device + * @throws Exception + */ + public void copyLotteryPrize(Long uid, int platform, String device) throws Exception; + + + /** + * 缁熻浠婃棩鎶藉涓殑鍒告暟閲� + * @param uid + * @param source + * @return + */ + public int countTodatyUserCouponBySource(Long uid, String source); + + /** + * 闅忔満鐢熸垚濂栧姳鍒� + * @param num + * @param uid + * @param source + * @throws Exception + */ + public void randomRewardCoupon(int num, Long uid, String source) throws Exception; + } -- Gitblit v1.8.0