[後端] 修改get device api

This commit is contained in:
dev02 2023-05-18 12:44:43 +08:00
parent e7e26ef5f5
commit 3350dbc6f0

View File

@ -532,6 +532,7 @@ namespace FrontendWebApi.ApiControllers
left join device_master dm ON d.device_building_tag = dm.device_building_tag left join device_master dm ON d.device_building_tag = dm.device_building_tag
AND d.device_name_tag = dm.device_name_tag AND d.device_name_tag = dm.device_name_tag
left join device_item di ON d.device_name_tag = di.device_name_tag left join device_item di ON d.device_name_tag = di.device_name_tag
AND di.device_building_tag = '{post.building_tag}'
AND di.deleted = 0 AND di.deleted = 0
AND di.is_show_riserDiagram = 1 AND di.is_show_riserDiagram = 1
left join floor f on d.device_floor_tag = f.full_name and f.deleted = 0 left join floor f on d.device_floor_tag = f.full_name and f.deleted = 0