消防点位维护新增是否标点字段和是否标点筛选条件

liujun-2024-05-23-接口漏洞修复
limingyu 2024-04-25 16:46:37 +08:00
parent c9dfeacbf0
commit f20fc32ae1
1 changed files with 3 additions and 0 deletions

View File

@ -169,6 +169,9 @@
<if test="pd.FIRE_REGION_ID != null and pd.FIRE_REGION_ID != ''">
AND p.FIRE_REGION_ID = #{pd.FIRE_REGION_ID}
</if>
<if test="pd.IS_PUNCTUATION != null and pd.IS_PUNCTUATION != ''">
AND if(p.LATITUDE is null or p.LONGITUDE is null, '1', '0') = #{pd.IS_PUNCTUATION}
</if>
group by p.FIRE_POINT_ID
ORDER BY
p.OPERATTIME desc