[後端] 修改資料獲取sql 錯誤
This commit is contained in:
parent
23485396df
commit
89318003ae
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user