From e1dcef9d29c8de98c603cd4880f6b272c23f1cc0 Mon Sep 17 00:00:00 2001 From: yujian <yujian@123.com> Date: 星期四, 29 八月 2019 11:53:04 +0800 Subject: [PATCH] 券退回 --- fanli/src/main/java/com/yeshi/fanli/service/inter/user/UserSystemCouponService.java | 36 +++++++++++++++++++++++++++++++++++- 1 files changed, 35 insertions(+), 1 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 9a24d68..af891a1 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 @@ -134,7 +134,7 @@ * @throws UserSystemCouponException * @throws Exception */ - public void insertUserCoupon(Long uid, String couponType, String source, BigDecimal percent) throws UserSystemCouponException, Exception; + public UserSystemCoupon insertUserCoupon(Long uid, String couponType, String source, BigDecimal percent) throws UserSystemCouponException, Exception; /** @@ -253,4 +253,38 @@ */ public void updateCounponInvalid(List<UserSystemCoupon> list); + /** + * 鍏戞崲 + * @param uid + * @return + */ + public boolean getIncludeExchange(Long uid); + + /** + * 闈炲厬鎹� + * @param uid + * @return + */ + public boolean getIncludeNotExchange(Long uid); + + /** + * 鏌ヨ1.6.5涔嬪墠鐨� 涓嶇瓑浜�35% + * @param uid + * @return + */ + public List<UserSystemCouponVO> listIncludeNotExchange(Long uid) throws Exception; + + public long countCouponOld(Long uid); + + /** + * 鏇存柊鐢ㄦ埛杩囨湡鍒� + * @param uid + */ + public void updateInvalidSate(Long uid); + + /* + * 璧犻�佸埜 + */ + public void sendBackGiveUser(Long uid); + } -- Gitblit v1.8.0