Commit e949e37e authored by tianyiming's avatar tianyiming

修改bug

parent c25231be
......@@ -4928,7 +4928,15 @@
FROM
wl_equipment_specific_index
WHERE
equipment_specific_id IN ( SELECT id FROM wl_equipment_specific WHERE FIND_IN_SET( #{id}, system_id ) > 0 AND biz_org_code LIKE concat(#{bizOrgCode}, '%') )
equipment_specific_id IN (
SELECT
wl.id
FROM
wl_equipment_specific wl
WHERE
FIND_IN_SET( ( SELECT f.id FROM f_fire_fighting_system f WHERE `code` = #{systemCode} ), system_id ) > 0
AND biz_org_code LIKE concat(#{bizOrgCode}, '%')
)
AND ((
`is_alarm` = 1
AND `value` = 'true'
......
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