Merge branch 'master' of https://gitee.com/frane-yang/SGGL_SeDin_New
This commit is contained in:
@@ -46,7 +46,7 @@ namespace BLL
|
||||
/// <param name="personType">人员类型</param>
|
||||
/// <param name="Grid1"></param>
|
||||
/// <returns></returns>
|
||||
public static IEnumerable getListData(string unitId, string departId, string projetcId, string name, string idCard, string isPost, string personType, Grid Grid1)
|
||||
public static IEnumerable getListData(string unitId, string departId, string projetcId, string name, string idCard, string isPost, string personType,string account, Grid Grid1)
|
||||
{
|
||||
IQueryable<Model.Person_Persons> getDataList = getDataLists.OrderBy(x => x.UnitId).ThenBy(x => x.DepartId);
|
||||
if (!string.IsNullOrEmpty(unitId) && unitId != Const._Null)
|
||||
@@ -73,6 +73,10 @@ namespace BLL
|
||||
{
|
||||
getDataList = getDataList.Where(e => e.PersonName.Contains(name));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(account))
|
||||
{
|
||||
getDataList = getDataList.Where(e => e.Account.Contains(account));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(idCard))
|
||||
{
|
||||
getDataList = getDataList.Where(e => e.IdentityCard.Contains(idCard));
|
||||
|
||||
Reference in New Issue
Block a user