From ab4f788aaba47910e3edf0fe1b001e56cdea26db Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Thu, 20 May 2021 16:54:19 +0800
Subject: [PATCH] modify

---
 src/main/resources/mapper/otc/OtcEntrustOrderDao.xml |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/otc/OtcEntrustOrderDao.xml b/src/main/resources/mapper/otc/OtcEntrustOrderDao.xml
index fcfc65c..d469525 100644
--- a/src/main/resources/mapper/otc/OtcEntrustOrderDao.xml
+++ b/src/main/resources/mapper/otc/OtcEntrustOrderDao.xml
@@ -24,6 +24,7 @@
                 </if>
             </if>
         </where>
+        order by a.create_time desc
     </select>
 
     <select id="selectEntrustOrderByOrderType" resultType="com.xcong.excoin.modules.otc.entity.OtcEntrustOrder">
@@ -60,6 +61,7 @@
                 and status == #{record.status}
             </if>
         </where>
+        order by create_time desc
     </select>
 
     <update id="updateRemainAmount">

--
Gitblit v1.9.1