From 657d6ca995fade9e0f23002c54263f1c972a254f Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 14 Aug 2023 15:16:33 +0800
Subject: [PATCH] 后台修改
---
src/main/java/cc/mrbird/febs/dapp/entity/DappFundFlowEntity.java | 53 +++++++++++++++++++++++++++++++++++++++++++----------
1 files changed, 43 insertions(+), 10 deletions(-)
diff --git a/src/main/java/cc/mrbird/febs/dapp/entity/DappFundFlowEntity.java b/src/main/java/cc/mrbird/febs/dapp/entity/DappFundFlowEntity.java
index 187b386..6b8bf02 100644
--- a/src/main/java/cc/mrbird/febs/dapp/entity/DappFundFlowEntity.java
+++ b/src/main/java/cc/mrbird/febs/dapp/entity/DappFundFlowEntity.java
@@ -33,15 +33,6 @@
this.fee = fee;
}
-// public DappFundFlowEntity(Long memberId, BigDecimal amount, Integer type, Integer status, BigDecimal fee,Long systemProfitId) {
-// this.memberId = memberId;
-// this.amount = amount;
-// this.type = type;
-// this.status = status;
-// this.fee = fee;
-// this.systemProfitId = systemProfitId;
-// }
-
public DappFundFlowEntity(Long memberId, BigDecimal amount, Integer type, Integer status, BigDecimal fee, String fromHash) {
this.memberId = memberId;
this.amount = amount;
@@ -61,13 +52,45 @@
this.toHash = toHash;
}
- public DappFundFlowEntity(Long memberId, BigDecimal amount, Integer type, Integer status, BigDecimal fee, String fromHash,Long systemProfitId) {
+ public DappFundFlowEntity(Integer flowType,Long memberId, BigDecimal amount, Integer type, Integer status, BigDecimal fee, String fromHash,Long systemProfitId) {
+ this.flowType = flowType;
this.memberId = memberId;
this.amount = amount;
this.type = type;
this.status = status;
this.fee = fee;
this.fromHash = fromHash;
+ this.systemProfitId = systemProfitId;
+ }
+
+ public DappFundFlowEntity(Long memberId, BigDecimal amount, Integer type, Integer status, BigDecimal fee, String fromHash,Long systemProfitId) {
+
+ this.memberId = memberId;
+ this.amount = amount;
+ this.type = type;
+ this.status = status;
+ this.fee = fee;
+ this.fromHash = fromHash;
+ this.systemProfitId = systemProfitId;
+ }
+
+ public DappFundFlowEntity(Long memberId, BigDecimal amount, Integer type, Integer status, BigDecimal fee, String fromHash,String toHash,Long systemProfitId) {
+ this.memberId = memberId;
+ this.amount = amount;
+ this.type = type;
+ this.status = status;
+ this.fee = fee;
+ this.fromHash = fromHash;
+ this.toHash = toHash;
+ this.systemProfitId = systemProfitId;
+ }
+
+ public DappFundFlowEntity(Long memberId, BigDecimal amount, Integer type, Integer status, BigDecimal fee, Long systemProfitId) {
+ this.memberId = memberId;
+ this.amount = amount;
+ this.type = type;
+ this.status = status;
+ this.fee = fee;
this.systemProfitId = systemProfitId;
}
@@ -81,6 +104,7 @@
* 类型 1-认购节点 2-直推收益 3-技术方收款 4-入金,买入A币 5-进入a底池
*/
private Integer type;
+ private Integer flowType;
/**
* 状态 1-ing 2-成功 3-失败
@@ -110,4 +134,13 @@
* 会员节点表ID-对应认购记录
*/
private Long systemProfitId;
+
+ public DappFundFlowEntity(int code, Long memberId, BigDecimal negate, int code1, int withdrawStatusAgree, BigDecimal zero) {
+ this.flowType = code;
+ this.memberId = memberId;
+ this.amount = negate;
+ this.type = code1;
+ this.status = withdrawStatusAgree;
+ this.fee = zero;
+ }
}
--
Gitblit v1.9.1