From a00ad55263f8a655e95ac1aa91e13c0f9a7af59d Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Fri, 31 May 2024 10:29:23 +0800
Subject: [PATCH] 查询条件
---
src/main/resources/mapper/dapp/DappFundFlowDao.xml | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/dapp/DappFundFlowDao.xml b/src/main/resources/mapper/dapp/DappFundFlowDao.xml
index ae52d71..9554e11 100644
--- a/src/main/resources/mapper/dapp/DappFundFlowDao.xml
+++ b/src/main/resources/mapper/dapp/DappFundFlowDao.xml
@@ -135,6 +135,7 @@
a.amount,
a.type,
a.status,
+ a.create_time,
b.address address
from dapp_fund_flow a
left join dapp_member b on a.member_id = b.id
@@ -160,4 +161,17 @@
</where>
order by a.create_time desc
</select>
+
+ <select id="memberFundList" resultType="cc.mrbird.febs.dapp.entity.DappMemberFund">
+ select
+ a.*
+ from dapp_member_fund a
+ left join dapp_member b on a.member_id = b.id
+ <where>
+ <if test="record.memberId != null">
+ and a.member_id = #{record.memberId}
+ </if>
+ </where>
+ order by a.create_time desc
+ </select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1