From a7aca2f0ae9455d23a7c8c5c5f2a6210b6e1fb4f Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Fri, 26 Aug 2022 18:31:09 +0800
Subject: [PATCH] fix

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

diff --git a/src/main/resources/mapper/dapp/DappTransferRecordDao.xml b/src/main/resources/mapper/dapp/DappTransferRecordDao.xml
index 4b211f6..04ad78a 100644
--- a/src/main/resources/mapper/dapp/DappTransferRecordDao.xml
+++ b/src/main/resources/mapper/dapp/DappTransferRecordDao.xml
@@ -9,6 +9,12 @@
                 and address=#{record.address}
             </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