From 02f18587bd8860b305e2c688e20465be166bb48c Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期四, 22 七月 2021 15:14:03 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/test' into test

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActUserWalletChangeService.java |   19 +++++++++++++++++++
 1 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActUserWalletChangeService.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActUserWalletChangeService.java
index 9bafe8c..026b7c2 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActUserWalletChangeService.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/ComActUserWalletChangeService.java
@@ -3,6 +3,8 @@
 import com.baomidou.mybatisplus.extension.service.IService;
 import com.panzhihua.service_community.model.dos.ComActUserWalletChangeDO;
 
+import java.math.BigDecimal;
+
 /**
  * @auther lyq
  * @create 2021-06-25 10:35:34
@@ -10,4 +12,21 @@
  */
 public interface ComActUserWalletChangeService extends IService<ComActUserWalletChangeDO> {
 
+    /**
+     * 添加用户资产变动记录
+     * @param userId    用户id
+     * @param communityId   社区id
+     * @param walletId      钱包id
+     * @param incomeAmountTop   收益金额变动前
+     * @param incomeAmountBack  收益金额变动后
+     * @param availableAmountTop    可用金额变动前
+     * @param availableAmountBack   可用金额变动后
+     * @param settlementAmountTop   已结算金额变动前
+     * @param settlementAmountBack  已结算金额变动后
+     * @param serviceId     交易记录id
+     */
+    void addWalletChange(Long userId, Long communityId, Long walletId, BigDecimal incomeAmountTop
+            ,BigDecimal incomeAmountBack,BigDecimal availableAmountTop,BigDecimal availableAmountBack
+            ,BigDecimal settlementAmountTop,BigDecimal settlementAmountBack,Long serviceId);
+
 }

--
Gitblit v1.7.1