From d3744ab287cce63eabfb025f548c6e6164050c10 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 27 Jun 2023 11:18:32 +0800
Subject: [PATCH] 还有就是系统开放大额入单,不限制每一个帐号一千封顶。开放后每一个帐号最高入金十万美金。

---
 src/main/resources/mapper/dapp/DappTransferRecordDao.xml |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/dapp/DappTransferRecordDao.xml b/src/main/resources/mapper/dapp/DappTransferRecordDao.xml
index 4b211f6..ce3ea55 100644
--- a/src/main/resources/mapper/dapp/DappTransferRecordDao.xml
+++ b/src/main/resources/mapper/dapp/DappTransferRecordDao.xml
@@ -5,10 +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