20220320 修改项目单位同步实名制 根据设置是否同步标识

This commit is contained in:
2022-03-20 22:46:04 +08:00
parent 1ca2236fc9
commit afe93d04b9
12 changed files with 227 additions and 156 deletions
@@ -428,7 +428,7 @@ namespace FineUIPro.Web.ZHGL.RealName
&& x.IsCardNoOK==true
&& v.TeamId.HasValue && x.HeadImage != null && x.HeadImage.Length > 0
&& !x.RealNameAddTime.HasValue
&& p.UnitType != Const.ProjectUnitType_3 && p.UnitType != Const.ProjectUnitType_4
&& p.IsSynchro == true
select x.IdentityCard).Take(500);
foreach (var item in getIdentityCards)
{
@@ -477,8 +477,8 @@ namespace FineUIPro.Web.ZHGL.RealName
join v in Funs.DB.ProjectData_TeamGroup on x.TeamGroupId equals v.TeamGroupId
join p in Funs.DB.Project_ProjectUnit on new { x.UnitId, x.ProjectId } equals new { p.UnitId, p.ProjectId }
where x.ProjectId == projectId && x.IsCardNoOK == true && v.TeamId.HasValue
&& !x.RealNameUpdateTime.HasValue
&& p.UnitType != Const.ProjectUnitType_3 && p.UnitType != Const.ProjectUnitType_4
&& !x.RealNameUpdateTime.HasValue
&& p.IsSynchro == true
select x.IdentityCard).Take(100);
foreach (var item in getIdentityCards)
{