From bc11d703dd68efb9fe068a42cc8252d1adc49d9c Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Sat, 12 Aug 2023 17:42:59 +0800
Subject: [PATCH] 后台修改

---
 src/main/java/cc/mrbird/febs/dapp/entity/DappAccountMoneyChangeEntity.java |   18 ++++++------------
 1 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/dapp/entity/DappAccountMoneyChangeEntity.java b/src/main/java/cc/mrbird/febs/dapp/entity/DappAccountMoneyChangeEntity.java
index 2592af5..8c4a291 100644
--- a/src/main/java/cc/mrbird/febs/dapp/entity/DappAccountMoneyChangeEntity.java
+++ b/src/main/java/cc/mrbird/febs/dapp/entity/DappAccountMoneyChangeEntity.java
@@ -9,7 +9,7 @@
 import java.util.Date;
 
 /**
- * @author wzy
+ * @author 
  * @date 2022-03-21
  **/
 @Data
@@ -19,27 +19,21 @@
     public DappAccountMoneyChangeEntity() {
     }
 
-    public DappAccountMoneyChangeEntity(Long memberId, BigDecimal preAmount, BigDecimal amount, BigDecimal afterAmount, String content, Integer type) {
+    public DappAccountMoneyChangeEntity(Long memberId, BigDecimal preAmount, BigDecimal amount, BigDecimal afterAmount, Integer type, String content) {
         this.memberId = memberId;
         this.preAmount = preAmount;
         this.amount = amount;
         this.afterAmount = afterAmount;
-        this.content = content;
         this.type = type;
-
-        this.setCreateBy("system");
-        this.setUpdateBy("system");
-        this.setCreateTime(new Date());
-        this.setUpdateTime(new Date());
-        this.setVersion(1);
+        this.content = content;
     }
 
     private Long memberId;
-
+    //原有积分
     private BigDecimal preAmount;
-
+    //预期
     private BigDecimal amount;
-
+    //实际
     private BigDecimal afterAmount;
 
     private String content;

--
Gitblit v1.9.1