[後端] 修改列表資料顯示

This commit is contained in:
dev02 2023-09-06 17:25:13 +08:00
parent fd6e156cf2
commit 93417ec8ea

View File

@ -55,8 +55,8 @@ namespace Backend.Controllers
sv.system_priority AS sPriority sv.system_priority AS sPriority
FROM building_menu bm FROM building_menu bm
LEFT JOIN building b ON bm.building_tag = b.building_tag AND b.deleted = 0 LEFT JOIN building b ON bm.building_tag = b.building_tag AND b.deleted = 0
LEFT JOIN variable mv ON bm.main_system_tag = mv.system_value AND mv.deleted = 0 LEFT JOIN variable mv ON bm.main_system_tag = mv.system_value AND mv.deleted = 0 and mv.system_type = '{main_system_type}'
LEFT JOIN variable sv ON bm.sub_system_tag = sv.system_value AND sv.deleted = 0"; LEFT JOIN variable sv ON bm.sub_system_tag = sv.system_value AND sv.deleted = 0 and sv.system_type = '{sub_system_type}'";
if (!string.IsNullOrEmpty(filter)) if (!string.IsNullOrEmpty(filter))
{ {