diff --git a/Backend/Controllers/VariableController.cs b/Backend/Controllers/VariableController.cs
index a79ecbf..7943488 100644
--- a/Backend/Controllers/VariableController.cs
+++ b/Backend/Controllers/VariableController.cs
@@ -242,6 +242,10 @@ namespace Backend.Controllers
return apiResult;
}
+ ///
+ /// 獲取專案名稱(東別)
+ ///
+ ///
[HttpPost]
public async Task> ProjectName()
{
diff --git a/FrontendWebApi/ApiControllers/BuildController.cs b/FrontendWebApi/ApiControllers/BuildController.cs
index 15b59d9..3cf3c6b 100644
--- a/FrontendWebApi/ApiControllers/BuildController.cs
+++ b/FrontendWebApi/ApiControllers/BuildController.cs
@@ -207,7 +207,7 @@ namespace FrontendWebApi.ApiControllers
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 buildingMenus = new List();
foreach (var menu in building)