[後端] 修改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 try
{ {
var buildmenusql = await backendRepository.GetAllAsync<BuildMenuSql>(@$" var buildmenusql = await backendRepository.GetAllAsync<BuildMenuSql>(@$"
select select
me.* , me.* ,
@ -195,7 +194,7 @@ namespace FrontendWebApi.ApiControllers
) ra ) ra
left join auth_page ap on ra.AuthCode = ap.AuthCode left join auth_page ap on ra.AuthCode = ap.AuthCode
where ap.AuthType = 1 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 }); order by b.priority, v1.system_priority, v2.system_priority, v2.created_at DESC", new { Account = account });
var floorsql = await backendRepository.GetAllAsync<Floorsql>(@" var floorsql = await backendRepository.GetAllAsync<Floorsql>(@"