diff --git a/Backend/Controllers/BuildMenuController.cs b/Backend/Controllers/BuildMenuController.cs index 12ac7c1..d29e611 100644 --- a/Backend/Controllers/BuildMenuController.cs +++ b/Backend/Controllers/BuildMenuController.cs @@ -475,7 +475,7 @@ namespace Backend.Controllers from sub_system_floor ssf where ssf.building_tag = @building_tag and ssf.main_system_tag = @main_system_tag and ssf.sub_system_tag = @sub_system_tag and deleted = 0 and status = 0 ) sf - left join floor f on sf.floor_tag = f.full_name and sf.building_tag = f.building_tag and deleted = 0 + left join floor f on sf.floor_tag = f.full_name and sf.building_tag = f.building_tag and f.deleted = 0 left join variable mv on sf.main_system_tag = mv.system_value and mv.system_type = @main_system_type and mv.deleted = 0 left join variable sv on sf.sub_system_tag = sv.system_value and sv.system_type = @sub_system_type and sv.deleted = 0 ORDER BY mv.system_priority, sv.system_priority, f.priority", param);