[後端] 修改getmenu api

This commit is contained in:
dev02 2023-05-02 10:25:48 +08:00
parent 412a8ec909
commit 25945aad63

View File

@ -167,7 +167,6 @@ namespace FrontendWebApi.ApiControllers
}
try
{
var buildmenusql = await backendRepository.GetAllAsync<BuildMenuSql>(@$"
select
me.* ,
@ -195,7 +194,7 @@ namespace FrontendWebApi.ApiControllers
) ra
left join auth_page ap on ra.AuthCode = ap.AuthCode
where ap.AuthType = 1
) shower on shower.building_tag = me.building_tag and shower.ShowView = v2.id
) shower on shower.building_tag = me.building_tag and shower.ShowView = v2.system_value
order by b.priority, v1.system_priority, v2.system_priority, v2.created_at DESC", new { Account = account });
var floorsql = await backendRepository.GetAllAsync<Floorsql>(@"