五环大屏;进度管理;等
This commit is contained in:
@@ -122,7 +122,7 @@ namespace BLL
|
||||
/// <param name="PageSize">每页数量</param>
|
||||
/// <returns></returns>
|
||||
public static IEnumerable getListData(string projectId, string unitId, string personName, string identityCard, string treamGroupId, string workPostIds,
|
||||
bool ckTrain, string postType, bool ckJT, bool ckIdCardInfoNotOK, Grid Grid1,bool isBlack=false)
|
||||
bool ckTrain, string postType, bool ckJT, bool ckIdCardInfoNotOK, bool chManager, Grid Grid1,bool isBlack=false)
|
||||
{
|
||||
IQueryable<Model.View_SitePerson_Person> getPersonList = getPersonLists.Where(x => x.ProjectId == projectId);
|
||||
if (!string.IsNullOrEmpty(unitId))
|
||||
@@ -180,6 +180,10 @@ namespace BLL
|
||||
{
|
||||
getPersonList = getPersonList.Where(x => x.RealNameAddTime == null);
|
||||
}
|
||||
if (chManager)
|
||||
{
|
||||
getPersonList = getPersonList.Where(x => x.PostType == Const.PostType_1);
|
||||
}
|
||||
if (ckIdCardInfoNotOK)
|
||||
{
|
||||
getPersonList = getPersonList.Where(x => x.IdentityCard == null || x.HeadImage == null || (x.IdentityCard.Length != 15 && x.IdentityCard.Length != 18));
|
||||
|
||||
Reference in New Issue
Block a user