From 7d294e1e04095eb4f1c0807406d1ccb8461850cb Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 27 二月 2019 18:24:20 +0800 Subject: [PATCH] 券消息修改 --- fanli/src/main/java/com/yeshi/fanli/service/inter/msg/UserOtherMsgNotificationService.java | 45 ++++++++++++++++++++------------------------- 1 files changed, 20 insertions(+), 25 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/msg/UserOtherMsgNotificationService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/msg/UserOtherMsgNotificationService.java index 2054efe..1219fca 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/msg/UserOtherMsgNotificationService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/msg/UserOtherMsgNotificationService.java @@ -1,5 +1,8 @@ package com.yeshi.fanli.service.inter.msg; +import java.math.BigDecimal; + +import com.yeshi.fanli.entity.bus.user.UserInfo; import com.yeshi.fanli.entity.bus.user.UserSystemCoupon; /** @@ -29,7 +32,7 @@ * @param startTime * @param endTime */ - public void welfareCouponActive(UserSystemCoupon coupon); + public void welfareCouponActive(UserSystemCoupon coupon,UserInfo worker); /** * 绂忓埄鍏嶅崟鍒镐娇鐢ㄤ腑 @@ -37,7 +40,7 @@ * @param startTime * @param endTime */ - public void welfareCouponUsing(UserSystemCoupon coupon); + public void welfareCouponUsing(UserSystemCoupon coupon,String orderId,BigDecimal money); /** * 绂忓埄鍏嶅崟鍒稿凡琚娇鐢� @@ -46,7 +49,7 @@ * @param startTime * @param endTime */ - public void welfareCouponUsed(UserSystemCoupon coupon); + public void welfareCouponUsed(UserSystemCoupon coupon,String orderId); /** * 绂忓埄鍏嶅崟鍒稿嵆灏嗚繃鏈� @@ -60,10 +63,16 @@ /** * 绂忓埄鍏嶅崟鍒稿凡缁忚繃鏈� * - * @param startTime - * @param endTime + * @param coupon */ public void welfareCouponAlreadyOutOfDate(UserSystemCoupon coupon); + + + /** + * 绂忓埄鍏嶅崟鍒稿凡缁忛��鍥� + * @param coupon + */ + public void welfareCouponDrawBack(UserSystemCoupon coupon,String orderId); // 鍏嶅崟鍒� @@ -76,16 +85,6 @@ * @param endTime */ public void freeSheetCouponGet(UserSystemCoupon coupon); - - /** - * 鍏嶅崟鍒告縺娲� - * - * @param leftDay - * @param source - * @param startTime - * @param endTime - */ - public void freeSheetCouponActive(UserSystemCoupon coupon); /** * 鍏嶅崟鍒告鍦ㄤ娇鐢� @@ -124,6 +123,12 @@ * @param endTime */ public void freeSheetCouponAlreadyOutOfDate(UserSystemCoupon coupon); + + /** + * 宸查��鍥� + * @param coupon + */ + public void freeSheetCouponDrawBack(UserSystemCoupon coupon); // 濂栧姳鍒� @@ -136,16 +141,6 @@ * @param endTime */ public void rewardCouponGet(UserSystemCoupon coupon); - - /** - * 濂栧姳鍒告縺娲� - * - * @param leftDay - * @param source - * @param startTime - * @param endTime - */ - public void rewardCouponActive(UserSystemCoupon coupon); /** * 濂栧姳鍒稿凡缁忎娇鐢� -- Gitblit v1.8.0