diff --git a/.vs/CNCEC_SUBQHSE_WUHUAN/v17/.wsuo b/.vs/CNCEC_SUBQHSE_WUHUAN/v17/.wsuo index a10de9ee..530fc33a 100644 Binary files a/.vs/CNCEC_SUBQHSE_WUHUAN/v17/.wsuo and b/.vs/CNCEC_SUBQHSE_WUHUAN/v17/.wsuo differ diff --git a/SGGL/BLL/API/APIBaseInfoService.cs b/SGGL/BLL/API/APIBaseInfoService.cs index 1a647d0c..7e5b29ac 100644 --- a/SGGL/BLL/API/APIBaseInfoService.cs +++ b/SGGL/BLL/API/APIBaseInfoService.cs @@ -71,6 +71,30 @@ namespace BLL } #endregion + #region 根据项目名称获取项目信息 + /// + /// 根据项目名称获取项目信息 + /// + /// + /// + public static Model.BaseInfoItem getProjectByName(string projectName) + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + var getDataLists = (from x in db.Base_Project + where x.ProjectName == projectName + select new Model.BaseInfoItem + { + BaseInfoId = x.ProjectId, + BaseInfoCode = x.ProjectCode, + BaseInfoName = x.ProjectName + } + ).FirstOrDefault(); + return getDataLists; + } + } + #endregion + #region 根据项目id获取区域表 /// /// 根据项目id获取区域表 diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index fec7f569..a0193e68 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -19232,7 +19232,7 @@ - + - - - - + + + + - + - + - + - + - - - + + + - + - + - + - + - - + + - + - - - - + + + + - - - + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + \ No newline at end of file diff --git a/SGGL/WebAPI/WebAPI.csproj.user b/SGGL/WebAPI/WebAPI.csproj.user index c2dcc265..199e5a73 100644 --- a/SGGL/WebAPI/WebAPI.csproj.user +++ b/SGGL/WebAPI/WebAPI.csproj.user @@ -9,7 +9,7 @@ - FolderProfile + D:\数据\诺必达\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\WebAPI\Properties\PublishProfiles\FolderProfile.pubxml MvcControllerEmptyScaffolder root/Common/MVC/Controller 600