This commit is contained in:
2021-08-29 12:41:15 +08:00
parent c2b5344d0f
commit 969c81925b
5 changed files with 45 additions and 18 deletions
@@ -109,6 +109,7 @@ namespace FineUIPro.Web.ZHGL.RealName
}
#endregion
#region
/// <summary>
/// 推送参建企业
/// </summary>
@@ -118,7 +119,9 @@ namespace FineUIPro.Web.ZHGL.RealName
{
ShowNotify(BLL.SynchroSetService.PushCollCompany(), MessageBoxIcon.Information);
}
#endregion
#region
/// <summary>
/// 推送项目参建单位
/// </summary>
@@ -139,7 +142,9 @@ namespace FineUIPro.Web.ZHGL.RealName
ShowNotify("当前项目还没有与实名制对接!", MessageBoxIcon.Information);
}
}
#endregion
#region
/// <summary>
/// 推送施工队
/// </summary>
@@ -160,6 +165,7 @@ namespace FineUIPro.Web.ZHGL.RealName
ShowNotify("当前项目还没有与实名制对接!", MessageBoxIcon.Information);
}
}
#endregion
/// <summary>
/// 推送人员信息
@@ -301,8 +307,9 @@ namespace FineUIPro.Web.ZHGL.RealName
}
}
#region
/// <summary>
///
/// 考勤记录 去重
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
@@ -369,7 +376,14 @@ namespace FineUIPro.Web.ZHGL.RealName
return;
}
}
#endregion
#region
/// <summary>
/// 新增
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnAllPushData_Click(object sender, EventArgs e)
{
string message = string.Empty;
@@ -399,6 +413,8 @@ namespace FineUIPro.Web.ZHGL.RealName
}
}
}
SynchroSetService.InsertRealNamePushLog(projectId, proCode, "单条人员批量推送(增加)", "推送完成", null, message);
if (string.IsNullOrEmpty(message))
{
ShowNotify("同步完成!" + count.ToString() + "条", MessageBoxIcon.Success);
@@ -408,7 +424,11 @@ namespace FineUIPro.Web.ZHGL.RealName
Alert.ShowInParent("同步完成!" + count.ToString() + "条;" + message, MessageBoxIcon.Warning);
}
}
/// <summary>
/// 更新
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnUpdate_Click(object sender, EventArgs e)
{
string message = string.Empty;
@@ -438,6 +458,8 @@ namespace FineUIPro.Web.ZHGL.RealName
}
}
}
SynchroSetService.InsertRealNamePushLog(projectId, proCode, "单条人员批量推送(更新)", "推送完成", null, message);
if (string.IsNullOrEmpty(message))
{
ShowNotify("同步完成!" + count.ToString() + "条", MessageBoxIcon.Success);
@@ -447,5 +469,6 @@ namespace FineUIPro.Web.ZHGL.RealName
Alert.ShowInParent("同步完成!" + count.ToString() + "条;" + message, MessageBoxIcon.Warning);
}
}
#endregion
}
}