20230630人员自定义卡号验证
This commit is contained in:
@@ -642,7 +642,9 @@ namespace BLL
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
{
|
||||
List<Model.Person_Persons> list = new List<Model.Person_Persons>();
|
||||
var getPersons = from x in db.Person_Persons select x;
|
||||
var getPersons = from x in db.Person_Persons
|
||||
where x.IsPost == true
|
||||
select x;
|
||||
if (!string.IsNullOrEmpty(unitId))
|
||||
{
|
||||
getPersons = getPersons.Where(x => x.UnitId == unitId);
|
||||
@@ -651,7 +653,7 @@ namespace BLL
|
||||
{
|
||||
getPersons = getPersons.Where(x => x.DepartId == DepartId);
|
||||
}
|
||||
list = getPersons.OrderBy(x=>x.UnitId).OrderBy(x=>x.PersonName).ToList();
|
||||
list = getPersons.OrderBy(x => x.UnitId).OrderBy(x => x.PersonName).ToList();
|
||||
return list;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user