Commit 5a277b30 authored by 高建强's avatar 高建强

item:消防系统物联信息表返回所属系统

parent 0058884f
...@@ -174,10 +174,12 @@ ...@@ -174,10 +174,12 @@
WHERE WHERE
efe.fire_equipment_id = ind.equipment_specific_id efe.fire_equipment_id = ind.equipment_specific_id
) equipmentName, ) equipmentName,
ind.update_date as create_date ind.update_date as create_date,
ifnull(fs.`name`,'') AS systemName
FROM FROM
wl_equipment_specific_index as ind wl_equipment_specific_index as ind
left join wl_equipment_specific as spe on spe.id = ind.equipment_specific_id left join wl_equipment_specific as spe on spe.id = ind.equipment_specific_id
LEFT JOIN f_fire_fighting_system fs ON FIND_IN_SET( fs.id, spe.system_id )
left join wl_equipment_detail as det on spe.equipment_detail_id = det.id left join wl_equipment_detail as det on spe.equipment_detail_id = det.id
left join wl_equipment_index as ein on ind.equipment_index_id = ein.id left join wl_equipment_index as ein on ind.equipment_index_id = ein.id
left join wl_stock_detail as sto on sto.equipment_specific_id = spe.id left join wl_stock_detail as sto on sto.equipment_specific_id = spe.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