From 201518a621d0d5f3c2040217950b10a5eaba22e6 Mon Sep 17 00:00:00 2001
From: xuhy <3313886187@qq.com>
Date: 星期六, 12 七月 2025 14:51:01 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 ruoyi-system/src/main/resources/mapper/system/TInspectorMapper.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/TInspectorMapper.xml b/ruoyi-system/src/main/resources/mapper/system/TInspectorMapper.xml
index 36ca009..5a88b82 100644
--- a/ruoyi-system/src/main/resources/mapper/system/TInspectorMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/TInspectorMapper.xml
@@ -61,9 +61,10 @@
         <if test="query.status != null">
             and t1.status = #{query.status}
         </if>
-        <if test="query.startTime != null and startTime != ''">
-            and (t5.implement_time between #{startTime} and #{endTime})
+        <if test="query.startTime != null and query.startTime != ''">
+            and (t1.create_time between #{query.startTime} and #{query.endTime})
         </if>
+        order by t1.create_time desc
     </select>
     <select id="pageListExport" resultType="com.ruoyi.system.vo.system.InspectorListVO">
         select t1.*,t2.location_name as locationName,t3.location_name as locationTypeName,

--
Gitblit v1.7.1