项目人员信息档案新增、导入补充:机构划分、组织单元、人员分类、员工子组、备注信息

This commit is contained in:
2025-08-08 17:54:10 +08:00
parent fd849d42e1
commit 8e4dec9037
212 changed files with 2489 additions and 617 deletions
+3 -3
View File
@@ -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);
}