From c4957c48499e767280485216ef06f769e3ec7908 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 07 Aug 2023 18:15:38 +0800
Subject: [PATCH] 数据修改

---
 src/main/java/cc/mrbird/febs/dapp/entity/DappAccountMoneyChangeEntity.java |   12 +++---------
 1 files changed, 3 insertions(+), 9 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..afd13f5 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,19 +19,13 @@
     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;

--
Gitblit v1.9.1