From 1fae829b41db281b6d8b61d96cc4253ec9ed7a87 Mon Sep 17 00:00:00 2001
From: 赵文轩 <1652863494@qq.com>
Date: 星期四, 06 六月 2024 19:48:12 +0800
Subject: [PATCH] 不使用直接获取第一个对象改写成集合遍历

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

diff --git a/ltkj-hosp/src/main/resources/mapper/hosp/TjDiscardInspectionMapper.xml b/ltkj-hosp/src/main/resources/mapper/hosp/TjDiscardInspectionMapper.xml
index 4255612..b795dad 100644
--- a/ltkj-hosp/src/main/resources/mapper/hosp/TjDiscardInspectionMapper.xml
+++ b/ltkj-hosp/src/main/resources/mapper/hosp/TjDiscardInspectionMapper.xml
@@ -53,6 +53,7 @@
             </if>
             and deleted=0
         </where>
+        order by create_time desc
     </select>
 
     <select id="selectTjDiscardInspectionById" parameterType="Long"

--
Gitblit v1.8.0