20210906
This commit is contained in:
@@ -90,6 +90,10 @@ namespace FineUIPro.Web.ZHGL.RealName
|
||||
{
|
||||
html = (row.FindControl("labNumber") as AspNet.Label).Text;
|
||||
}
|
||||
if (column.ColumnID == "tfShortName")
|
||||
{
|
||||
html = (row.FindControl("lblShortName") as AspNet.Label).Text;
|
||||
}
|
||||
if (column.ColumnID == "tfAge")
|
||||
{
|
||||
html = (row.FindControl("lblAge") as AspNet.Label).Text;
|
||||
|
||||
@@ -87,10 +87,10 @@
|
||||
<Items>
|
||||
<f:Label runat="server" ID="lbxx"></f:Label>
|
||||
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
||||
<f:Button ID="btnAllPushData" Icon="DatabaseAdd" runat="server" Text="上报所有人员" ToolTip="单条循环推送(100条)"
|
||||
<f:Button ID="btnAllPushData" Icon="DatabaseAdd" runat="server" Text="上报所有人员" ToolTip="单条循环推送(500条)"
|
||||
OnClick="btnAllPushData_Click">
|
||||
</f:Button>
|
||||
<f:Button ID="btnUpdate" Icon="DatabaseAdd" runat="server" Text="更新所有人员" ToolTip="单条循环推送(100条)"
|
||||
<f:Button ID="btnUpdate" Icon="DatabaseAdd" runat="server" Text="更新所有人员" ToolTip="单条循环推送(500条)"
|
||||
OnClick="btnUpdate_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
|
||||
@@ -395,15 +395,17 @@ namespace FineUIPro.Web.ZHGL.RealName
|
||||
{
|
||||
var getIdentityCards = (from x in Funs.DB.SitePerson_Person
|
||||
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.IdentityCard != null && (x.IdentityCard.Length == 15 || x.IdentityCard.Length == 18)
|
||||
&& v.TeamId.HasValue && x.HeadImage != null && x.HeadImage.Length > 0
|
||||
&& !x.RealNameAddTime.HasValue
|
||||
select x.IdentityCard).Take(100);
|
||||
&& p.UnitType != Const.ProjectUnitType_3 && p.UnitType != Const.ProjectUnitType_4
|
||||
select x.IdentityCard).Take(500);
|
||||
foreach (var item in getIdentityCards)
|
||||
{
|
||||
string mes = BLL.SynchroSetService.PushPersonsByIdentityCard(Const.BtnAdd, getRProjects.ProCode, item) ?? "";
|
||||
if (mes != "请求成功")
|
||||
if (mes.Contains("不合法"))
|
||||
{
|
||||
message += ("身份证号码" + item + "新增失败" + mes);
|
||||
}
|
||||
@@ -444,11 +446,11 @@ namespace FineUIPro.Web.ZHGL.RealName
|
||||
&& x.IdentityCard != null && (x.IdentityCard.Length == 15 || x.IdentityCard.Length == 18)
|
||||
&& v.TeamId.HasValue && x.HeadImage != null && x.HeadImage.Length > 0
|
||||
&& !x.RealNameUpdateTime.HasValue
|
||||
select x.IdentityCard).Take(100);
|
||||
select x.IdentityCard).Take(500);
|
||||
foreach (var item in getIdentityCards)
|
||||
{
|
||||
string mes = BLL.SynchroSetService.PushPersonsByIdentityCard(Const.BtnModify, getRProjects.ProCode, item) ?? "";
|
||||
if (mes != "请求成功")
|
||||
if (mes.Contains("不合法"))
|
||||
{
|
||||
message += ("身份证号码" + item + "更新失败" + mes);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user