admin
2019-09-22 b9f8ef2c4737b6e6be4b12fc8f7bafb033bfcfe5
fanli/src/main/java/com/yeshi/fanli/service/inter/msg/UserOtherMsgNotificationService.java
@@ -2,6 +2,12 @@
import java.math.BigDecimal;
import com.yeshi.fanli.dto.msg.MsgOtherCouponActivateDTO;
import com.yeshi.fanli.dto.msg.MsgOtherExchangeContentDTO;
import com.yeshi.fanli.dto.msg.MsgOtherGiveContentDTO;
import com.yeshi.fanli.dto.msg.MsgOtherRewardIntegralDTO;
import com.yeshi.fanli.dto.msg.MsgOtherTaoLiJinContentDTO;
import com.yeshi.fanli.entity.bus.msg.MsgOtherDetail.MsgTypeOtherTypeEnum;
import com.yeshi.fanli.entity.bus.user.UserInfo;
import com.yeshi.fanli.entity.bus.user.UserSystemCoupon;
@@ -93,7 +99,7 @@
    * @param startTime
    * @param endTime
    */
   public void freeSheetCouponUsing(UserSystemCoupon coupon);
   public void freeSheetCouponUsing(UserSystemCoupon coupon,String orderId,BigDecimal money);
   /**
    * 免单券已经使用
@@ -103,7 +109,7 @@
    * @param startTime
    * @param endTime
    */
   public void freeSheetCouponUsed(UserSystemCoupon coupon);
   public void freeSheetCouponUsed(UserSystemCoupon coupon,String orderId);
   /**
    * 免单券即将过期
@@ -128,29 +134,26 @@
    * 已退回
    * @param coupon
    */
   public void freeSheetCouponDrawBack(UserSystemCoupon coupon);
   public void freeSheetCouponDrawBack(UserSystemCoupon coupon,String orderId);
   // 奖励券
   /**
    * 奖励券获得
    *
    * @param leftDay
    * @param source
    * @param startTime
    * @param endTime
    */
   public void rewardCouponGet(UserSystemCoupon coupon);
   /**
    * 奖励券已经使用
    *
    * @param leftDay
    * @param source
    * @param startTime
    * @param endTime
    *  奖励券获得
    * @param coupon
    * @param percent -百分比
    */
   public void rewardCouponUsed(UserSystemCoupon coupon);
   public void rewardCouponGet(UserSystemCoupon coupon,int percent);
   /**
    * 奖励券使用成功
    * @param coupon
    * @param oldFanLiMoney-原始返利金额
    * @param rewardMoney-奖励金额
    */
   public void rewardCouponUsed(UserSystemCoupon coupon,BigDecimal oldFanLiMoney,BigDecimal rewardMoney,String orderId);
   /**
    * 奖励券即将过期
@@ -160,7 +163,7 @@
    * @param startTime
    * @param endTime
    */
   public void rewardCouponWillOutOfDate(UserSystemCoupon coupon);
   public void rewardCouponWillOutOfDate(UserSystemCoupon coupon,int percent);
   /**
    * 奖励券已经过期
@@ -171,4 +174,73 @@
    */
   public void rewardCouponAlreadyOutOfDate(UserSystemCoupon coupon);
   /**
    * 淘礼金消息
    * @param uid
    * @param beiZhu
    * @param content
    */
   public void taoLiJinMsg(Long uid, String beiZhu, MsgOtherTaoLiJinContentDTO content);
   /**
    * 口令赠送领取
    * @param uid
    * @param beiZhu
    * @param content
    */
   public void tokenGiveMsg(Long uid, String beiZhu, MsgOtherGiveContentDTO content);
   /**
    * 兑换消息
    * @param uid
    * @param beiZhu
    * @param content
    */
   public void exchangeMsg(Long uid, String beiZhu, MsgOtherExchangeContentDTO content);
   /**
    * 券退回
    * @param coupon
    * @param orderId
    * @param type
    */
   public void couponDrawBack(UserSystemCoupon coupon, String orderId, MsgTypeOtherTypeEnum type);
   /**
    * 券
    * @param coupon
    * @param type
    */
   public void outOfDate(UserSystemCoupon coupon, MsgTypeOtherTypeEnum type);
   /**
    * 免单券正在使用
    *
    * @param source
    * @param startTime
    * @param endTime
    */
   public void couponUsingFreeSheet(UserSystemCoupon coupon,String orderId,BigDecimal money, MsgTypeOtherTypeEnum type);
   public void couponUsedFreeSheet(UserSystemCoupon coupon, String orderId, MsgTypeOtherTypeEnum type);
   /**
    * 赠送的免单券激活
    * @param uid
    * @param beiZhu
    * @param content
    */
   public void giveCouponActivateMsg(Long uid, String beiZhu, MsgOtherCouponActivateDTO content);
   /**
    * 队员首单奖励邀请人
    * @param uid
    * @param beiZhu
    * @param content
    */
   public void firstOrderRewardMsg(Long uid, String beiZhu, MsgOtherRewardIntegralDTO content);
}