From 256aa4c5431733e5d166f583f03724cf69ddfaa4 Mon Sep 17 00:00:00 2001
From: cjl <909710561@qq.com>
Date: Thu, 14 May 2026 11:24:54 +0800
Subject: [PATCH] fix:添加雷达数据
---
screen-api/src/main/resources/mapper/SecondCruiserSortMapper.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/screen-api/src/main/resources/mapper/SecondCruiserSortMapper.xml b/screen-api/src/main/resources/mapper/SecondCruiserSortMapper.xml
index 0a5526e..2186ac9 100644
--- a/screen-api/src/main/resources/mapper/SecondCruiserSortMapper.xml
+++ b/screen-api/src/main/resources/mapper/SecondCruiserSortMapper.xml
@@ -14,8 +14,8 @@
<select id="getSort" resultType="com.moral.api.entity.SecondCruiserSort">
select road,avg(value) as "avg",time,mac from second_cruiser_sort
where mac =#{mac}
- AND `time` <![CDATA[>]]> #{startTime}
- AND `time` <![CDATA[<=]]> #{endTime}
+ AND `time` <![CDATA[>=]]> #{startTime}
+ AND `time` <![CDATA[<]]> #{endTime}
GROUP BY road ORDER BY avg DESC
</select>
--
Gitblit v1.8.0