From f388835aae263f93ae6ba4dd29ef406788d875e3 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 08 六月 2023 19:00:06 +0800 Subject: [PATCH] 1 --- src/main/resources/mapping/VocValsMapper.xml | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mapping/VocValsMapper.xml b/src/main/resources/mapping/VocValsMapper.xml index 8155c12..925e21f 100644 --- a/src/main/resources/mapping/VocValsMapper.xml +++ b/src/main/resources/mapping/VocValsMapper.xml @@ -14,8 +14,7 @@ select a.x, a.y, format(a.val, 2) "val", b.addr from voc_vals a inner join voc_addr b on a.x = b.x and a.y = b.y - where date_format(a.create_time, '%Y%m%d%H') = ${time} - and a.val > (select jcyj from alert_config); + where date_format(a.create_time, '%Y%m%d%H') = ${time} and a.val > 0.5; </select> <select id="countByTime" resultType="java.lang.Integer"> -- Gitblit v1.9.3