修改錯誤

This commit is contained in:
dev02 2023-05-05 11:10:29 +08:00
parent 1ce4aacc2d
commit 8071a0bb50
2 changed files with 5 additions and 1 deletions

View File

@ -242,6 +242,10 @@ namespace Backend.Controllers
return apiResult; return apiResult;
} }
/// <summary>
/// 獲取專案名稱(東別)
/// </summary>
/// <returns></returns>
[HttpPost] [HttpPost]
public async Task<ApiResult<Variable>> ProjectName() public async Task<ApiResult<Variable>> ProjectName()
{ {

View File

@ -207,7 +207,7 @@ namespace FrontendWebApi.ApiControllers
where SUBSTRING(ap.AuthCode,1,1) = 'C' and ui.account = '{account}' where SUBSTRING(ap.AuthCode,1,1) = 'C' and ui.account = '{account}'
"); ");
var building = buildmenusql.GroupBy(a => a.main_system_tag).ToList(); var building = buildmenusql.GroupBy(a => a.building_tag).ToList();
List<Building> buildingMenus = new List<Building>(); List<Building> buildingMenus = new List<Building>();
foreach (var menu in building) foreach (var menu in building)