From 212b747da83e0f6d04a2bd5a12c7f9cc570adb02 Mon Sep 17 00:00:00 2001
From: zainali5120 <512061637@qq.com>
Date: Fri, 11 Jun 2021 14:40:14 +0800
Subject: [PATCH] 最新K线初始化

---
 src/main/resources/mapper/contract/ContractOrderDao.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/contract/ContractOrderDao.xml b/src/main/resources/mapper/contract/ContractOrderDao.xml
index 19f315d..a9b11dd 100644
--- a/src/main/resources/mapper/contract/ContractOrderDao.xml
+++ b/src/main/resources/mapper/contract/ContractOrderDao.xml
@@ -46,7 +46,7 @@
                 </if>
             </where>
         </if>
-        order by id desc
+        order by create_time desc, id desc
     </select>
 
     <select id="selectOrderDetailByIdAndMemberId" resultType="com.xcong.excoin.modules.contract.entity.ContractOrderEntity">

--
Gitblit v1.9.1