From 8f090c91e2e2b0536d0900b935948e77a5f0979d Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 09 Jun 2022 15:08:43 +0800 Subject: [PATCH] fix some problem --- 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