Commit 20abe15f authored by chenhao's avatar chenhao

修改统计单位的对应id区域

parent 99229acb
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
cb_fire_station cb_fire_station
WHERE is_delete= false WHERE is_delete= false
<if test="bizOrgCode != null and bizOrgCode != ''"> <if test="bizOrgCode != null and bizOrgCode != ''">
AND biz_org_code = #{bizOrgCode} AND biz_org_code like concat(#{bizOrgCode}, '%')
</if> </if>
GROUP BY GROUP BY
where_building_id where_building_id
......
...@@ -195,7 +195,7 @@ ...@@ -195,7 +195,7 @@
WHERE WHERE
is_delete=false is_delete=false
<if test="bizOrgCode != null and bizOrgCode != ''"> <if test="bizOrgCode != null and bizOrgCode != ''">
and biz_org_code = #{bizOrgCode} and biz_org_code like concat(#{bizOrgCode}, '%')
</if> </if>
GROUP BY GROUP BY
building_id building_id
......
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