From e67b13b2fe6a7f0b5f992a39e2b12abffba8c3d8 Mon Sep 17 00:00:00 2001 From: xiaju <1784803958@qq.com> Date: Fri, 10 Apr 2026 15:03:22 +0800 Subject: [PATCH 1/2] 1 --- SGGL/FineUIPro.Web/ProjectData/ProjectSysSet.aspx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SGGL/FineUIPro.Web/ProjectData/ProjectSysSet.aspx b/SGGL/FineUIPro.Web/ProjectData/ProjectSysSet.aspx index 78b0a7c7..fe7da781 100644 --- a/SGGL/FineUIPro.Web/ProjectData/ProjectSysSet.aspx +++ b/SGGL/FineUIPro.Web/ProjectData/ProjectSysSet.aspx @@ -26,7 +26,7 @@ - <%----%> + From 87cb7eb7bae78051ccbd07d7a95e8c2b08ebbd0f Mon Sep 17 00:00:00 2001 From: xiaju <1784803958@qq.com> Date: Thu, 23 Apr 2026 09:25:11 +0800 Subject: [PATCH 2/2] 1 --- SGGL/BLL/HSSE/SitePerson/PersonService.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SGGL/BLL/HSSE/SitePerson/PersonService.cs b/SGGL/BLL/HSSE/SitePerson/PersonService.cs index a9120bc4..2d628661 100644 --- a/SGGL/BLL/HSSE/SitePerson/PersonService.cs +++ b/SGGL/BLL/HSSE/SitePerson/PersonService.cs @@ -11,7 +11,6 @@ namespace BLL /// public static class PersonService { - public static Model.SGGLDB db = Funs.DB; #region 劳务人员列表 /// @@ -26,7 +25,7 @@ namespace BLL /// /// 定义变量 /// - private static IQueryable getDataLists = from x in db.View_SitePerson_Person + private static IQueryable getDataLists = from x in Funs.DB.View_SitePerson_Person select x; /// @@ -42,6 +41,7 @@ namespace BLL /// public static IEnumerable getListData(string projetcId, string unitId, string workPostId, string name, string idCard, string states, Grid Grid1) { + Model.SGGLDB db = Funs.DB; IQueryable getDataList = getDataLists.OrderBy(x => x.ProjectId).ThenBy(x => x.UnitId); if (!string.IsNullOrEmpty(projetcId) && projetcId != Const._Null) { @@ -113,7 +113,7 @@ namespace BLL /// /// 定义变量 /// - private static IQueryable getPersonLists = from x in db.View_SitePerson_Person select x; + private static IQueryable getPersonLists = from x in Funs.DB.View_SitePerson_Person select x; /// /// 获取分页列表