Commit 9a51c435 by 罗志长

fix: 平台端设备管理列表新增关联长者

parent 185a68b9
......@@ -68,7 +68,7 @@
ps.name as spaceName,
pr.name as roomName,
pb.name as bedName,
pe.`name` as elderName
GROUP_CONCAT(pe.`name`) as elderName
from plat_device pd
left join plat_room_bed_device prbd on (pd.id = prbd.device_id and prbd.del_flag = '0')
left join plat_room pr on (pr.id = prbd.room_id and pr.del_flag = '0' )
......
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 sign in to comment