This commit is contained in:
2026-06-10 12:41:06 +08:00
parent 403833e4b6
commit 04ff51015a
+1 -3
View File
@@ -38,8 +38,7 @@ namespace BLL
/// <returns></returns>
public static IEnumerable getListData(string workPostId, string postTitleId, string name, string certificateId, Grid Grid1)
{
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
{
Model.SGGLDB db = Funs.DB;
IQueryable<Model.Person_Persons> getDataList = from x in db.Person_Persons
where x.PersonId != Const.sysglyId && x.PersonId != Const.hfnbdId && x.UnitId == Const.UnitId_SEDIN
&& x.DepartId == Const.Depart_constructionId
@@ -99,7 +98,6 @@ namespace BLL
x.CertificateId,
};
}
}
#endregion
#region