项目人员信息档案新增、导入补充:机构划分、组织单元、人员分类、员工子组、备注信息
This commit is contained in:
@@ -347,7 +347,7 @@ namespace BLL
|
||||
where x.ProjectId == projectId && (strUnitId == null || x.UnitId == strUnitId)
|
||||
&& (strWorkPostId == null || x.WorkPostId == strWorkPostId)
|
||||
select x;
|
||||
if (unitId != Const.UnitId_TCC && !string.IsNullOrEmpty(unitId))
|
||||
if (unitId != Const.UnitId_XJYJ && !string.IsNullOrEmpty(unitId))
|
||||
{
|
||||
getViews = getViews.Where(x => x.UnitId == unitId);
|
||||
}
|
||||
@@ -1152,7 +1152,7 @@ namespace BLL
|
||||
ChangeTime = string.Format("{0:yyyy-MM-dd HH:mm}", x.ChangeTime),
|
||||
ChangeTimeD = x.ChangeTime,
|
||||
};
|
||||
if (!string.IsNullOrEmpty(unitId) && unitId != Const.UnitId_TCC)
|
||||
if (!string.IsNullOrEmpty(unitId) && unitId != Const.UnitId_XJYJ)
|
||||
{
|
||||
personInOuts = personInOuts.Where(x => x.UnitId == unitId);
|
||||
}
|
||||
@@ -1204,7 +1204,7 @@ namespace BLL
|
||||
ChangeTime = string.Format("{0:yyyy-MM-dd HH:mm}", x.ChangeTime),
|
||||
ChangeTimeD = x.ChangeTime,
|
||||
};
|
||||
if (!string.IsNullOrEmpty(userUnitId) && userUnitId != Const.UnitId_TCC)
|
||||
if (!string.IsNullOrEmpty(userUnitId) && userUnitId != Const.UnitId_XJYJ)
|
||||
{
|
||||
personInOuts = personInOuts.Where(x => x.UnitId == userUnitId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user