From 81da61b828e29b7745e1382dfbbaeb685dc083ef Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 23 一月 2024 17:17:55 +0800 Subject: [PATCH] 抖音转链修改 --- fanli/src/main/java/com/yeshi/fanli/service/inter/money/msg/UserMoneyMsgNotificationService.java | 307 +++++++++++++++++++++++++++++--------------------- 1 files changed, 178 insertions(+), 129 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..72646e8 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,129 +1,178 @@ -package com.yeshi.fanli.service.inter.money.msg; - -import java.math.BigDecimal; - -import com.yeshi.fanli.entity.bus.user.AlipayAccountValidNormalHistory; -import com.yeshi.fanli.entity.bus.user.Extract; - -/** - * 鐢ㄦ埛璧勯噾娑堟伅閫氱煡 - * - * @author Administrator - * - */ -public interface UserMoneyMsgNotificationService { - - /** - * 鎻愮幇鐢宠 - * - * @param extract - */ - public void extractApplay(Extract extract); - - /** - * 鎻愮幇澶辫触 - * - * @param extract - * @param stateDesc - */ - public void extractFail(Extract extract, String stateDesc); - - /** - * 鎻愮幇鎴愬姛 - * - * @param extract - */ - public void extractSuccess(Extract extract); - - /** - * 鏀粯瀹濊处鍙烽獙璇� - * - * @param history - */ - public void alipayAccountValid(AlipayAccountValidNormalHistory history); - - /** - * 杩斿埄璁㈠崟鍒拌处 - * - * @param uid - * @param orderId - * @param goodsCount - * @param money - * @param balance - */ - public void fanliOrderReceived(Long uid, String orderId,int orderType, int goodsCount, BigDecimal money, BigDecimal balance); - - /** - * 杩斿埄璁㈠崟缁存潈 - * - * @param uid - * @param orderId - * @param money - * @param balance - */ - public void fanliOrderWeiQuan(Long uid, String orderId,int orderType, BigDecimal money, BigDecimal balance); - - /** - * 鍒嗕韩璧氳鍗曡缁熻 - * - * @param uid - * @param orderCount - * @param goodsCount - * @param money - * @param balance - */ - public void shareOrderReceived(Long uid,int orderType, int orderCount, int goodsCount, BigDecimal money, BigDecimal balance); - - /** - * 鍒嗕韩璁㈠崟缁存潈 - * - * @param uid - * @param orderId - * @param money - * @param balance - */ - - public void shareOrderWeiQuan(Long uid, String orderId,int orderType, BigDecimal money, BigDecimal balance); - - /** - * 閭�璇疯禋璁㈠崟琚粺璁� - * - * @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); - - /** - * 绯荤粺琛ラ綈 - * - * @param uid - * @param reason - * @param money - * @param balance - */ - public void systemEqualize(Long uid, String reason, BigDecimal money, BigDecimal balance); - -} +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; + +/** + * 鐢ㄦ埛璧勯噾娑堟伅閫氱煡 + * + * @author Administrator + * + */ +public interface UserMoneyMsgNotificationService { + + /** + * 鎻愮幇鐢宠 + * + * @param extract + */ + public void extractApplay(Extract extract); + + /** + * 鎻愮幇澶辫触 + * + * @param extract + * @param stateDesc + */ + public void extractFail(Extract extract, String stateDesc); + + + /** + * 鎻愮幇鎴愬姛 + * @Title: extractSuccess + * @Description: + * @param extract + * @param alipayNo 鏀粯瀹濇祦姘村彿 + * void 杩斿洖绫诲瀷 + * @throws + */ + public void extractSuccess(Extract extract, String alipayNo); + + /** + * 鏀粯瀹濊处鍙烽獙璇� + * + * @param history + * @param limitDay 闄愬埗鏃堕棿 + * @param change 鏄惁涓轰慨鏀� true 淇敼 false 棣栨缁戝畾 + */ + public void alipayAccountValid(AlipayAccountValidNormalHistory history, String limitDay, boolean change); + + /** + * 浠樺疂璐﹀彿楠岃瘉澶辫触 + * @param history + * @param limitDay + * @param change + */ + public void alipayAccountValidFail(AlipayAccountValidNormalHistory history, int limitDay, boolean change); + + + + /** + * 杩斿埄璁㈠崟鍒拌处 + * + * @param uid + * @param orderId + * @param goodsCount + * @param money + * @param balance + */ + public void fanliOrderReceived(Long uid, String orderId, int orderType, int goodsCount, BigDecimal money, + BigDecimal balance, Date downTime); + + /** + * 杩斿埄璁㈠崟缁存潈 + * @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 fanliMoney, int goodsCount, Date downTime); + + /** + * 鍒嗕韩璧氳鍗曞埌璐� + * @param uid + * @param orderType 1-娣樺疂 2-浜笢绛夋笭閬� + * @param money 鍒拌处閲戦 + * @param balance 璐︽埛浣欓 + * @param receivedDate 缁撶畻鏈堜唤 + */ + public void shareOrderReceived(Long uid, int orderType, BigDecimal money, BigDecimal balance, Date receivedDate); + + + + /** + * 鍒嗕韩璁㈠崟缁存潈 + * @Title: shareOrderWeiQuan + * @Description: + * @param uid + * @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 fanliMoney, int goodsCount, Date downTime); + + + + /** + * 绯荤粺琛ラ綈 + * + * @param uid + * @param reason + * @param money + * @param balance + */ + 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 teamRewardReceive(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