From 783686ff99c571dd41fc86cc7d93c92173fe86a0 Mon Sep 17 00:00:00 2001
From: wanglizhong <wlz>
Date: 星期四, 08 五月 2025 10:30:09 +0800
Subject: [PATCH] fix:电子地图显示问题

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

diff --git a/ruoyi-system/src/main/resources/mapper/system/VehicleGpsMapper.xml b/ruoyi-system/src/main/resources/mapper/system/VehicleGpsMapper.xml
index e4c2477..a1c00c3 100644
--- a/ruoyi-system/src/main/resources/mapper/system/VehicleGpsMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/VehicleGpsMapper.xml
@@ -37,7 +37,8 @@
             <if test="altitude != null "> and g.altitude = #{altitude}</if>
             <if test="speed != null "> and g.speed = #{speed}</if>
             <if test="direction != null "> and g.direction = #{direction}</if>
-            <if test="collectTime != null  and collectTime != ''"> and g.collect_time = #{collectTime}</if>
+            <if test="beginTime != null and beginTime != ''"> and g.collect_time &gt;= #{beginTime}</if>
+            <if test="endTime != null and endTime != ''"> and g.collect_time &lt;= #{endTime}</if>
         </where>
     </select>
     

--
Gitblit v1.9.1