新增forgeImportLog,資料錯誤記Log,其他資料繼續匯入
系統監控選單新增判斷buildmenu.is_link = 1
This commit is contained in:
parent
4349620dc9
commit
fb37ac3014
File diff suppressed because it is too large
Load Diff
@ -75,7 +75,7 @@ namespace FrontendWebApi.ApiControllers
|
||||
left join device_kind dk on v1.system_value = dk.device_system_tag and v2.system_value = dk.device_name_tag and dk.device_building_tag = @building_tag
|
||||
-- left join device_item di on v2.system_value = di.device_name_tag and v1.system_value = di.device_system_tag and di.deleted = 0
|
||||
join (
|
||||
select distinct main_system_tag, sub_system_tag from building_menu where building_tag = @building_tag
|
||||
select distinct main_system_tag, sub_system_tag from building_menu where building_tag = @building_tag and is_link = 1
|
||||
) as bm on v2.system_value = bm.sub_system_tag and v1.system_value = bm.main_system_tag
|
||||
where c.account = @account
|
||||
order by v2.system_priority", new { @account = myUser.account, @sub_system_type = sub_system_type, @main_system_type = main_system_type, @building_tag = fd.building_tag });
|
||||
|
Loading…
Reference in New Issue
Block a user