From 8bda5d156d97a6f86da6ee068447643a2fff8c4f Mon Sep 17 00:00:00 2001
From: heheng <475597332@qq.com>
Date: Mon, 02 Feb 2026 16:27:44 +0800
Subject: [PATCH] 去除多余引用

---
 multi-system/src/main/resources/mapper/system/StandardizedTemplateMapper.xml |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/multi-system/src/main/resources/mapper/system/StandardizedTemplateMapper.xml b/multi-system/src/main/resources/mapper/system/StandardizedTemplateMapper.xml
index 3292342..76d33a3 100644
--- a/multi-system/src/main/resources/mapper/system/StandardizedTemplateMapper.xml
+++ b/multi-system/src/main/resources/mapper/system/StandardizedTemplateMapper.xml
@@ -88,14 +88,17 @@
         </if>
         <if test="sort!=null and sort==1">
             ORDER BY
+            st.top_time desc,
             st.template_name asc
         </if>
         <if test="sort!=null and sort==2">
             ORDER BY
+            st.top_time desc,
             st.template_name desc
         </if>
         <if test="sort ==null or sort== '' or sort == 0">
             ORDER BY
+            st.top_time desc,
             st.create_time desc
         </if>
 
@@ -142,14 +145,17 @@
         </if>
         <if test="sort!=null and sort==1">
             ORDER BY
+            st.top_time desc,
             st.template_name asc
         </if>
         <if test="sort!=null and sort==2">
             ORDER BY
+            st.top_time desc,
             st.template_name desc
         </if>
         <if test="sort ==null or sort== '' or sort == 0">
             ORDER BY
+            st.top_time desc,
             st.create_time desc
         </if>
     </select>

--
Gitblit v1.9.2