From f20fc32ae16da4654c1780d87f42230bd18326e3 Mon Sep 17 00:00:00 2001 From: limingyu Date: Thu, 25 Apr 2024 16:46:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B6=88=E9=98=B2=E7=82=B9=E4=BD=8D=E7=BB=B4?= =?UTF-8?q?=E6=8A=A4=E6=96=B0=E5=A2=9E=E6=98=AF=E5=90=A6=E6=A0=87=E7=82=B9?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E5=92=8C=E6=98=AF=E5=90=A6=E6=A0=87=E7=82=B9?= =?UTF-8?q?=E7=AD=9B=E9=80=89=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mybatis/datasource/firemanager/FirePonitMapper.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/resources/mybatis/datasource/firemanager/FirePonitMapper.xml b/src/main/resources/mybatis/datasource/firemanager/FirePonitMapper.xml index 1f1c4e6b..ef01c948 100644 --- a/src/main/resources/mybatis/datasource/firemanager/FirePonitMapper.xml +++ b/src/main/resources/mybatis/datasource/firemanager/FirePonitMapper.xml @@ -169,6 +169,9 @@ AND p.FIRE_REGION_ID = #{pd.FIRE_REGION_ID} + + AND if(p.LATITUDE is null or p.LONGITUDE is null, '1', '0') = #{pd.IS_PUNCTUATION} + group by p.FIRE_POINT_ID ORDER BY p.OPERATTIME desc