From 76e42bfdf66fbd49e4ed3173236b2f4b352685b2 Mon Sep 17 00:00:00 2001
From: KKSU <15274802129@163.com>
Date: Fri, 07 Jun 2024 16:43:11 +0800
Subject: [PATCH] 将监听充值新建一个项目
---
src/main/resources/mapper/dapp/DappTransferRecordDao.xml | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/main/resources/mapper/dapp/DappTransferRecordDao.xml b/src/main/resources/mapper/dapp/DappTransferRecordDao.xml
index 1c82ec2..ce3ea55 100644
--- a/src/main/resources/mapper/dapp/DappTransferRecordDao.xml
+++ b/src/main/resources/mapper/dapp/DappTransferRecordDao.xml
@@ -5,11 +5,16 @@
<select id="selectInPage" resultType="cc.mrbird.febs.dapp.entity.DappTransferRecordEntity">
select * from dapp_transfer_record
<where>
- <if test="record.address != '' and record.address != null">
- and address=#{record.address}
+ <if test="record.fromAddress != '' and record.fromAddress != null">
+ and address=#{record.fromAddress}
</if>
</where>
order by create_time desc
</select>
+ <select id="selectByHash" resultType="cc.mrbird.febs.dapp.entity.DappTransferRecordEntity">
+ select * from dapp_transfer_record
+ where hash=#{hash}
+ </select>
+
</mapper>
\ No newline at end of file
--
Gitblit v1.9.1