From ee251679ac9031b7dd4cc0c4ddc0934e3e466e3f Mon Sep 17 00:00:00 2001
From: zhaowenxuan <chacca165@163.com>
Date: 星期二, 28 五月 2024 18:04:49 +0800
Subject: [PATCH] 添加根据查询条件查集合长度

---
 ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml b/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml
index ad35a8f..2cf9135 100644
--- a/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/hosp/TjReservationMapper.xml
@@ -88,6 +88,7 @@
             <if test="isExpire != null ">and is_expire = #{isExpire}</if>
             and deleted = '0'
         </where>
+        ORDER BY create_time desc
     </select>
 
 

--
Gitblit v1.8.0