Commit 6a70aff4 authored by chenhao's avatar chenhao

避免脏数据 的干扰,影响统计的个数

parent 8975ff5f
......@@ -66,6 +66,7 @@
FROM
cb_fire_station
WHERE is_delete= false
and parent_building_id is not null
<if test="bizOrgCode != null and bizOrgCode != ''">
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
......
......@@ -194,6 +194,7 @@
cb_key_site
WHERE
is_delete=false
and parent_building_id is not null
<if test="bizOrgCode != null and bizOrgCode != ''">
and biz_org_code like concat(#{bizOrgCode}, '%')
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment