[FrontedWebApi][運維管理] 棟別下拉選單 調整
This commit is contained in:
commit
0fae910469
@ -136,10 +136,10 @@ namespace FrontendWebApi.ApiControllers
|
||||
|
||||
try
|
||||
{
|
||||
var sqlString = @$"select b.building_tag, b.full_name as building_name
|
||||
var sqlString = @$"select building_tag as device_building_tag, b.full_name as building_name
|
||||
from building b
|
||||
where deleted = 0 and area_tag = @device_area_tag
|
||||
group by b.full_name, b.building_tag";
|
||||
group by b.full_name, building_tag";
|
||||
|
||||
bl = await backendRepository.GetAllAsync<BuildingList>(sqlString, new { @device_area_tag = b.device_area_tag });
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user