From 7e7db2fa55a9a3af46d4fd8ede0dee147f101d64 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期六, 09 五月 2020 21:41:27 +0800 Subject: [PATCH] 2.1需求 --- fanli/src/main/java/com/yeshi/fanli/service/inter/money/msg/UserMoneyMsgNotificationService.java | 153 +++++++++++++++++++++++++++++++++----------------- 1 files changed, 101 insertions(+), 52 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/inter/money/msg/UserMoneyMsgNotificationService.java b/fanli/src/main/java/com/yeshi/fanli/service/inter/money/msg/UserMoneyMsgNotificationService.java index 4f47a4f..516ef35 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/inter/money/msg/UserMoneyMsgNotificationService.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/inter/money/msg/UserMoneyMsgNotificationService.java @@ -1,7 +1,9 @@ package com.yeshi.fanli.service.inter.money.msg; import java.math.BigDecimal; +import java.util.Date; +import com.yeshi.fanli.entity.bus.msg.MsgMoneyDetail.MsgTypeMoneyTypeEnum; import com.yeshi.fanli.entity.bus.user.AlipayAccountValidNormalHistory; import com.yeshi.fanli.entity.bus.user.Extract; @@ -28,20 +30,37 @@ */ public void extractFail(Extract extract, String stateDesc); + /** - * 鎻愮幇鎴愬姛 - * + * 鎻愮幇鎴愬姛 + * @Title: extractSuccess + * @Description: * @param extract + * @param alipayNo 鏀粯瀹濇祦姘村彿 + * void 杩斿洖绫诲瀷 + * @throws */ - public void extractSuccess(Extract extract); + public void extractSuccess(Extract extract, String alipayNo); /** * 鏀粯瀹濊处鍙烽獙璇� * * @param history + * @param limitDay 闄愬埗鏃堕棿 + * @param change 鏄惁涓轰慨鏀� true 淇敼 false 棣栨缁戝畾 */ - public void alipayAccountValid(AlipayAccountValidNormalHistory history); + public void alipayAccountValid(AlipayAccountValidNormalHistory history, String limitDay, boolean change); + /** + * 浠樺疂璐﹀彿楠岃瘉澶辫触 + * @param history + * @param limitDay + * @param change + */ + public void alipayAccountValidFail(AlipayAccountValidNormalHistory history, int limitDay, boolean change); + + + /** * 杩斿埄璁㈠崟鍒拌处 * @@ -51,70 +70,55 @@ * @param money * @param balance */ - public void fanliOrderReceived(Long uid, String orderId,int orderType, int goodsCount, BigDecimal money, BigDecimal balance); + public void fanliOrderReceived(Long uid, String orderId, int orderType, int goodsCount, BigDecimal money, + BigDecimal balance, Date downTime); /** * 杩斿埄璁㈠崟缁存潈 - * - * @param uid - * @param orderId - * @param money - * @param balance + * @Title: fanliOrderWeiQuan + * @Description: + * @param uid 鐢ㄦ埛ID + * @param orderId -璁㈠崟鍙� + * @param orderType -璁㈠崟绫诲瀷 + * @param money -缁存潈鎵i櫎閲戦 + * @param fanliMoney -杩斿埄閲戦 + * @param goodsCount 鍟嗗搧鏁伴噺 + * @param downTime 涓嬪崟鏃堕棿 + * void 杩斿洖绫诲瀷 + * @throws */ - public void fanliOrderWeiQuan(Long uid, String orderId,int orderType, BigDecimal money, BigDecimal balance); + public void fanliOrderWeiQuan(Long uid, String orderId, int orderType, BigDecimal money, BigDecimal fanliMoney, int goodsCount, Date downTime); /** - * 鍒嗕韩璧氳鍗曡缁熻 - * + * 鍒嗕韩璧氳鍗曞埌璐� * @param uid - * @param orderCount - * @param goodsCount - * @param money - * @param balance + * @param orderType 1-娣樺疂 2-浜笢绛夋笭閬� + * @param money 鍒拌处閲戦 + * @param balance 璐︽埛浣欓 + * @param receivedDate 缁撶畻鏈堜唤 */ - public void shareOrderReceived(Long uid,int orderType, int orderCount, int goodsCount, BigDecimal money, BigDecimal balance); + public void shareOrderReceived(Long uid, int orderType, BigDecimal money, BigDecimal balance, Date receivedDate); + + /** * 鍒嗕韩璁㈠崟缁存潈 - * + * @Title: shareOrderWeiQuan + * @Description: * @param uid - * @param orderId - * @param money - * @param balance + * @param orderId -璁㈠崟鍙� + * @param orderType 璁㈠崟绫诲瀷 + * @param money 缁存潈閲戦 + * @param fanliMoney 杩斿埄閲戦 + * @param goodsCount -鍟嗗搧鏁伴噺 + * @param downTime 涓嬪崟鏃堕棿 + * void 杩斿洖绫诲瀷 + * @throws */ - public void shareOrderWeiQuan(Long uid, String orderId,int orderType, BigDecimal money, BigDecimal balance); + public void shareOrderWeiQuan(Long uid, String orderId, int orderType, BigDecimal money,BigDecimal fanliMoney, int goodsCount, Date downTime); - /** - * 閭�璇疯禋璁㈠崟琚粺璁� - * - * @param uid - * @param orderCount - * @param goodsCount - * @param money - * @param balance - */ - public void inviteOrderReceived(Long uid,int orderType, int orderCount, int goodsCount, BigDecimal money, BigDecimal balance); - /** - * 閭�璇疯鍗曠淮鏉� - * - * @param uid - * @param orderId - * @param money - * @param balance - */ - public void inviteOrderWeiQuan(Long uid, String orderId,int orderType, BigDecimal money, BigDecimal balance); - - /** - * 濂栧姳璁㈠崟鍒拌处 - * - * @param uid - * @param orderId - * @param money - * @param balance - */ - public void orderReward(Long uid, String orderId,int orderType, BigDecimal money, BigDecimal balance); /** * 绯荤粺琛ラ綈 @@ -126,4 +130,49 @@ */ public void systemEqualize(Long uid, String reason, BigDecimal money, BigDecimal balance); + + /** + * 绾㈠寘娑堟伅 + */ + public void redPackMsg(Long uid, MsgTypeMoneyTypeEnum type, String content, String beiZhu); + + /** + * 绾㈠寘娑堟伅-闃熷弸濂栧姳 + */ + public void teamRedPackRewardMsg(Long uid, MsgTypeMoneyTypeEnum type, BigDecimal money, String stateDesc,String content); + + + /** + * 鍥㈤槦鏀剁泭娑堟伅 + * @param uid + * @param money 鏈鍒拌处閲戦 + * @param balance 浣欓 + * @param receivedDate 缁撶畻鏈堝害 + */ + public void teamReceive(Long uid, BigDecimal money, BigDecimal balance, Date receivedDate); + + /** + * 浣跨敤濂栧姳鍒� + * @param uid + * @param orderId + * @param orderType + * @param goodsCount + * @param money + * @param balance + * @param downTime + */ + public void rewardCounponReceived(Long uid, String orderId, int orderType, int goodsCount, BigDecimal money, + BigDecimal balance, Date downTime); + + /** + * 鍥㈤槦鍒嗙孩 + * @param uid + * @param money + * @param balance + * @param receivedDate + */ + public void teamDividend(Long uid, BigDecimal money, BigDecimal balance, Date receivedDate); + + + } -- Gitblit v1.8.0