From ac2fb29a5ccd4f8823d99a441348e6eed9e94ba7 Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期五, 01 九月 2023 09:14:46 +0800
Subject: [PATCH] 1

---
 src/main/resources/mapper/VocValsMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/VocValsMapper.xml b/src/main/resources/mapper/VocValsMapper.xml
index a9bd3ac..4921dd4 100644
--- a/src/main/resources/mapper/VocValsMapper.xml
+++ b/src/main/resources/mapper/VocValsMapper.xml
@@ -15,7 +15,7 @@
         from voc_vals a inner join voc_addr b
         on a.x = b.x and a.y = b.y
         where a.create_time = #{time}
-            and a.val > (select jcyj from alert_config);
+            and a.val > (select jcyj from alert_config limit 1);
     </select>
 
     <select id="countByTime" resultType="java.lang.Integer">

--
Gitblit v1.9.3