[後端] 調整判斷is_link = 1
This commit is contained in:
parent
785dbd0859
commit
53c0d252e8
@ -81,7 +81,7 @@ namespace Backend.Controllers
|
|||||||
f.priority AS fPriority
|
f.priority AS fPriority
|
||||||
FROM sub_system_floor ssf
|
FROM sub_system_floor ssf
|
||||||
JOIN floor f ON ssf.floor_tag = f.full_name AND ssf.building_tag = f.building_tag AND f.deleted = 0
|
JOIN floor f ON ssf.floor_tag = f.full_name AND ssf.building_tag = f.building_tag AND f.deleted = 0
|
||||||
WHERE ssf.deleted = 0
|
WHERE ssf.deleted = 0 and ssf.is_link = 1
|
||||||
ORDER BY f.priority, f.created_at
|
ORDER BY f.priority, f.created_at
|
||||||
";
|
";
|
||||||
var subSystemFloorRawDatas = await backendRepository.GetAllAsync<SubSystemFloorRawData>(sub_sql);
|
var subSystemFloorRawDatas = await backendRepository.GetAllAsync<SubSystemFloorRawData>(sub_sql);
|
||||||
|
Loading…
Reference in New Issue
Block a user