From 8a67a0754093b8c035951d1c4eea5b6aea583b4c Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期三, 29 四月 2020 15:49:20 +0800
Subject: [PATCH] 资金统计数据bug
---
fanli/src/main/java/com/yeshi/fanli/service/inter/msg/UserOtherMsgNotificationService.java | 246 ++++++++++++++++---------------------------------
1 files changed, 81 insertions(+), 165 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 25c0c1c..4e6430f 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,10 +1,6 @@
package com.yeshi.fanli.service.inter.msg;
-import java.math.BigDecimal;
-
-import com.yeshi.fanli.dto.msg.MsgOtherTaoLiJinContentDTO;
-import com.yeshi.fanli.entity.bus.user.UserInfo;
-import com.yeshi.fanli.entity.bus.user.UserSystemCoupon;
+import java.util.Date;
/**
* 鐢ㄦ埛璁㈠崟娑堟伅閫氱煡
@@ -13,168 +9,88 @@
*
*/
public interface UserOtherMsgNotificationService {
-
- // 绂忓埄濂栧姳鍒�
-
- /**
- * 鑾峰緱绂忓埄鍏嶅崟鍒�
- *
- * @param leftDay
- * @param source
- * @param startTime
- * @param endTime
- */
- public void welfareCouponGet(UserSystemCoupon coupon);
-
- /**
- * 绂忓埄鍏嶅崟鍒告縺娲�
- *
- * @param leftDay
- * @param startTime
- * @param endTime
- */
- public void welfareCouponActive(UserSystemCoupon coupon,UserInfo worker);
-
- /**
- * 绂忓埄鍏嶅崟鍒镐娇鐢ㄤ腑
- *
- * @param startTime
- * @param endTime
- */
- public void welfareCouponUsing(UserSystemCoupon coupon,String orderId,BigDecimal money);
-
- /**
- * 绂忓埄鍏嶅崟鍒稿凡琚娇鐢�
- *
- * @param leftDay
- * @param startTime
- * @param endTime
- */
- public void welfareCouponUsed(UserSystemCoupon coupon,String orderId);
-
- /**
- * 绂忓埄鍏嶅崟鍒稿嵆灏嗚繃鏈�
- *
- * @param leftDay
- * @param startTime
- * @param endTime
- */
- public void welfareCouponWillOutOfDate(UserSystemCoupon coupon);
-
- /**
- * 绂忓埄鍏嶅崟鍒稿凡缁忚繃鏈�
- *
- * @param coupon
- */
- public void welfareCouponAlreadyOutOfDate(UserSystemCoupon coupon);
-
/**
- * 绂忓埄鍏嶅崟鍒稿凡缁忛��鍥�
- * @param coupon
- */
- public void welfareCouponDrawBack(UserSystemCoupon coupon,String orderId);
-
- // 鍏嶅崟鍒�
-
- /**
- * 鍏嶅崟鍒镐娇鐢�
- *
- * @param leftDay
- * @param source
- * @param startTime
- * @param endTime
- */
- public void freeSheetCouponGet(UserSystemCoupon coupon);
-
- /**
- * 鍏嶅崟鍒告鍦ㄤ娇鐢�
- *
- * @param source
- * @param startTime
- * @param endTime
- */
- public void freeSheetCouponUsing(UserSystemCoupon coupon,String orderId,BigDecimal money);
-
- /**
- * 鍏嶅崟鍒稿凡缁忎娇鐢�
- *
- * @param leftDay
- * @param source
- * @param startTime
- * @param endTime
- */
- public void freeSheetCouponUsed(UserSystemCoupon coupon,String orderId);
-
- /**
- * 鍏嶅崟鍒稿嵆灏嗚繃鏈�
- *
- * @param leftDay
- * @param source
- * @param startTime
- * @param endTime
- */
- public void freeSheetCouponWillOutOfDate(UserSystemCoupon coupon);
-
- /**
- * 鍏嶅崟鍒稿凡缁忚繃鏈�
- *
- * @param source
- * @param startTime
- * @param endTime
- */
- public void freeSheetCouponAlreadyOutOfDate(UserSystemCoupon coupon);
-
- /**
- * 宸查��鍥�
- * @param coupon
- */
- public void freeSheetCouponDrawBack(UserSystemCoupon coupon,String orderId);
-
- // 濂栧姳鍒�
-
-
- /**
- * 濂栧姳鍒歌幏寰�
- * @param coupon
- * @param percent -鐧惧垎姣�
- */
- public void rewardCouponGet(UserSystemCoupon coupon,int percent);
-
-
- /**
- * 濂栧姳鍒镐娇鐢ㄦ垚鍔�
- * @param coupon
- * @param oldFanLiMoney-鍘熷杩斿埄閲戦
- * @param rewardMoney-濂栧姳閲戦
- */
- public void rewardCouponUsed(UserSystemCoupon coupon,BigDecimal oldFanLiMoney,BigDecimal rewardMoney,String orderId);
-
- /**
- * 濂栧姳鍒稿嵆灏嗚繃鏈�
- *
- * @param leftDay
- * @param source
- * @param startTime
- * @param endTime
- */
- public void rewardCouponWillOutOfDate(UserSystemCoupon coupon,int percent);
-
- /**
- * 濂栧姳鍒稿凡缁忚繃鏈�
- *
- * @param source
- * @param startTime
- * @param endTime
- */
- public void rewardCouponAlreadyOutOfDate(UserSystemCoupon coupon);
-
-
- /**
- * 娣樼ぜ閲戞秷鎭�
+ * 鍏嶅崟鍒告秷鎭� - 鎴愬姛鑾峰緱/婵�娲绘垚鍔�/浣跨敤閫�鍥�
* @param uid
- * @param beiZhu
- * @param content
+ * @param name
+ * @param source
+ * @param num
+ * @param stateDesc
+ * @param startTime
+ * @param endTime
*/
- public void taoLiJinMsg(Long uid, String beiZhu, MsgOtherTaoLiJinContentDTO content);
+ public void freeCouponWinMsg(Long uid, String name, String source, int num, String stateDesc, Date startTime,
+ Date endTime);
+
+ /**
+ * 鍏嶅崟鍒告秷鎭� -浣跨敤鎴愬姛/宸茶繃鏈�
+ * @param uid
+ * @param name
+ * @param source
+ * @param num
+ * @param stateDesc
+ */
+ public void freeCouponEndMsg(Long uid, String name, String source, int num, String stateDesc);
+
+
+ /**
+ * 濂栧姳鍒�-鎴愬姛鑾峰緱/浣跨敤閫�鍥�
+ * @param uid
+ * @param name
+ * @param source
+ * @param num
+ * @param stateDesc
+ * @param startTime
+ * @param endTime
+ */
+ public void rewardCouponWinMsg(Long uid, String source, int num, String stateDesc, Date startTime,
+ Date endTime);
+
+ /**
+ * 濂栧姳鍒�-浣跨敤鎴愬姛/宸茶繃鏈�
+ * @param uid
+ * @param name
+ * @param source
+ * @param num
+ * @param stateDesc
+ */
+ public void rewardCouponEndMsg(Long uid, String source, int num, String stateDesc);
+
+ /**
+ * 绯荤粺璧犻�侀噾甯佹彁閱�
+ * @param uid
+ * @param num
+ * @param banlce
+ */
+ public void goldCoinSystemGiveMsg(Long uid, int num, int banlce);
+
+ /**
+ * 閲戝竵濂栧姳鎻愰啋-閭�璇风矇涓�
+ * @param uid
+ * @param num
+ * @param banlce
+ * @param directFans
+ */
+ public void goldCoinRewardInviteSucceedMsg(Long uid, int num, int banlce, boolean directFans);
+
+ /**
+ * 閲戝竵濂栧姳鎻愰啋 - 涓嬪崟浜х敓鐨勫洟闃熸敹鐩婁笉瓒�0.01鍏�
+ * @param uid
+ * @param num
+ * @param banlce
+ * @param directFans
+ */
+ public void goldCoinOrderSubsidyMsg(Long uid, int num, int banlce, boolean directFans);
+
+ /**
+ * 閲戝竵鍏戞崲鎻愰啋
+ * @param uid
+ * @param num
+ * @param banlce
+ * @param name
+ * @param exNum
+ */
+ public void goldCoinExChangeMsg(Long uid, int num, int banlce, String name, String exNum);
+
}
--
Gitblit v1.8.0