Commit 65dedaed authored by 李秀明's avatar 李秀明

消防水源统计:SQL更新

parent afd2614e
......@@ -5909,7 +5909,7 @@
from
cb_water_resource
<where>
resource_type = 'industryPool' or resource_type = 'pool'
(resource_type = 'industryPool' or resource_type = 'pool')
<if test="bizOrgCode != null and bizOrgCode != ''">
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
......@@ -5921,7 +5921,7 @@
cb_water_resource
<where>
water_status = '2'
AND resource_type = 'industryPool' or resource_type = 'pool'
AND (resource_type = 'industryPool' or resource_type = 'pool')
<if test="bizOrgCode != null and bizOrgCode != ''">
AND biz_org_code like concat(#{bizOrgCode}, '%')
</if>
......@@ -5933,7 +5933,7 @@
cb_water_resource
<where>
water_status = '1'
AND resource_type = 'industryPool' or resource_type = 'pool'
AND (resource_type = 'industryPool' or resource_type = 'pool')
<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