From d8cd15555d2be5dbb9c39629c3c49ae5bb5e5b6a Mon Sep 17 00:00:00 2001
From: gaofei1985 <181547018@qq.com>
Date: Mon, 10 Feb 2025 11:33:17 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../BLL/HSSE/OccupationHealth/PhysicalExaminationService.cs | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/SGGL/BLL/HSSE/OccupationHealth/PhysicalExaminationService.cs b/SGGL/BLL/HSSE/OccupationHealth/PhysicalExaminationService.cs
index 4400b648..1e3b62bb 100644
--- a/SGGL/BLL/HSSE/OccupationHealth/PhysicalExaminationService.cs
+++ b/SGGL/BLL/HSSE/OccupationHealth/PhysicalExaminationService.cs
@@ -37,7 +37,9 @@ namespace BLL
///
public static IEnumerable getListData(string projectId, string personName, Grid Grid1)
{
- IQueryable getDataList = getDataLists;
+ var db1 = Funs.DB;
+ IQueryable getDataList = from x in db1.SitePerson_Person
+ select x;
if (!string.IsNullOrEmpty(projectId))
{
getDataList = getDataList.Where(e => e.ProjectId == projectId);
@@ -53,7 +55,7 @@ namespace BLL
return null;
}
getDataList = SortConditionHelper.SortingAndPaging(getDataList, Grid1.SortField, Grid1.SortDirection, Grid1.PageIndex, Grid1.PageSize);
- var db1 = Funs.DB;
+
return from x in getDataList
select new
{