From ff6b4ca2a45e57df38f5d6e5f55456854f7d455c Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 02 Dec 2022 14:09:43 +0800
Subject: [PATCH] 20221130
---
src/main/resources/mapper/dapp/DappSystemProfitDao.xml | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/dapp/DappSystemProfitDao.xml b/src/main/resources/mapper/dapp/DappSystemProfitDao.xml
index 295147f..44434cf 100644
--- a/src/main/resources/mapper/dapp/DappSystemProfitDao.xml
+++ b/src/main/resources/mapper/dapp/DappSystemProfitDao.xml
@@ -66,6 +66,9 @@
dapp_system_profit a
inner join dapp_member b on a.member_id = b.id
<where>
+ <if test="record.id != '' and record.id != null">
+ and a.id = #{record.id}
+ </if>
<if test="record.address != '' and record.address != null">
and b.address = #{record.address}
</if>
@@ -81,6 +84,7 @@
a.create_time createTime,
a.amount amount,
a.status status,
+ a.from_hash fromHash,
a.type type,
b.address address
from
--
Gitblit v1.9.1