yujian
2019-08-26 39c683421f75449c7a85280fa499bae3a2f5241b
fanli/src/main/java/com/yeshi/fanli/service/inter/msg/UserOtherMsgNotificationService.java
@@ -2,6 +2,10 @@
import java.math.BigDecimal;
import com.yeshi.fanli.dto.msg.MsgOtherExchangeContentDTO;
import com.yeshi.fanli.dto.msg.MsgOtherGiveContentDTO;
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 +97,7 @@
    * @param startTime
    * @param endTime
    */
   public void freeSheetCouponUsing(UserSystemCoupon coupon);
   public void freeSheetCouponUsing(UserSystemCoupon coupon,String orderId,BigDecimal money);
   /**
    * 免单券已经使用
@@ -103,7 +107,7 @@
    * @param startTime
    * @param endTime
    */
   public void freeSheetCouponUsed(UserSystemCoupon coupon);
   public void freeSheetCouponUsed(UserSystemCoupon coupon,String orderId);
   /**
    * 免单券即将过期
@@ -128,29 +132,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 +161,7 @@
    * @param startTime
    * @param endTime
    */
   public void rewardCouponWillOutOfDate(UserSystemCoupon coupon);
   public void rewardCouponWillOutOfDate(UserSystemCoupon coupon,int percent);
   /**
    * 奖励券已经过期
@@ -171,4 +172,45 @@
    */
   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);
}