From 8071a0bb50d06b8cbf49704dab90d608838b7a13 Mon Sep 17 00:00:00 2001 From: dev02 Date: Fri, 5 May 2023 11:10:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=8C=AF=E8=AA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Backend/Controllers/VariableController.cs | 4 ++++ FrontendWebApi/ApiControllers/BuildController.cs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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)