This commit is contained in:
2021-08-26 16:55:27 +08:00
parent d21c25aabb
commit d4905aac01
4 changed files with 128 additions and 343 deletions
@@ -158,6 +158,26 @@ namespace BLL
}
}
/// <summary>
/// 身份证号码发生变化时 修改实名制出入记录
/// </summary>
/// <param name="personId"></param>
public static void UpdateRealNameInOut(string personId, string oldCardNo, string newIdCardNo)
{
Model.SGGLDB db = Funs.DB;
var personInOuts = from x in db.RealName_PersonInOutNow
where x.PersonId == personId && x.IdcardNumber == oldCardNo
select x;
if (personInOuts.Count() > 0)
{
foreach (var item in personInOuts)
{
item.IdcardNumber = newIdCardNo;
db.SubmitChanges();
}
}
}
/// <summary>
/// 获取出入记录人工时
/// </summary>
+6 -3
View File
@@ -87,7 +87,6 @@ namespace BLL
{
getPersonList = getPersonList.Where(x => x.IdentityCard == null || x.HeadImage == null || (x.IdentityCard.Length != 15 && x.IdentityCard.Length != 18));
}
count = getPersonList.Count();
if (count == 0)
{
@@ -445,7 +444,11 @@ namespace BLL
newPerson.CardNo = person.CardNo;
newPerson.PersonName = person.PersonName;
newPerson.Sex = person.Sex;
newPerson.IdentityCard = person.IdentityCard;
if (newPerson.IdentityCard != person.IdentityCard)
{
PersonInOutService.UpdateRealNameInOut(newPerson.PersonId, newPerson.IdentityCard, person.IdentityCard);
newPerson.IdentityCard = person.IdentityCard;
}
newPerson.Address = person.Address;
newPerson.ProjectId = person.ProjectId;
newPerson.UnitId = person.UnitId;
@@ -482,7 +485,7 @@ namespace BLL
{
newPerson.AuditorDate = person.AuditorDate;
}
newPerson.IsForeign = person.IsForeign;
newPerson.IsOutside = person.IsOutside;
newPerson.Birthday = person.Birthday;
+1 -340
View File
@@ -1,340 +1 @@
错误信息开始=====>
错误类型:HttpException
错误信息:找到多个具有相同 ID“ftpl_508df6b2-74db-452f-bb13-87fd221f0716_3”的控件。FindControl 要求控件具有唯一的 ID。
错误堆栈:
在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Page.FindControl(String id)
在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:08/26/2021 10:36:43
出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
IP地址:::1
操作人员:JT
出错时间:08/26/2021 10:36:43
错误信息开始=====>
错误类型:HttpException
错误信息:找到多个具有相同 ID“ftpl_508df6b2-74db-452f-bb13-87fd221f0716_3”的控件。FindControl 要求控件具有唯一的 ID。
错误堆栈:
在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Page.FindControl(String id)
在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:08/26/2021 10:36:45
出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
IP地址:::1
操作人员:JT
出错时间:08/26/2021 10:36:45
错误信息开始=====>
错误类型:HttpException
错误信息:找到多个具有相同 ID“ftpl_508df6b2-74db-452f-bb13-87fd221f0716_3”的控件。FindControl 要求控件具有唯一的 ID。
错误堆栈:
在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Page.FindControl(String id)
在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:08/26/2021 10:36:46
出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
IP地址:::1
操作人员:JT
出错时间:08/26/2021 10:36:46
错误信息开始=====>
错误类型:HttpException
错误信息:找到多个具有相同 ID“ftpl_508df6b2-74db-452f-bb13-87fd221f0716_3”的控件。FindControl 要求控件具有唯一的 ID。
错误堆栈:
在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Page.FindControl(String id)
在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:08/26/2021 10:37:53
出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
IP地址:::1
操作人员:JT
出错时间:08/26/2021 10:37:53
错误信息开始=====>
错误类型:HttpException
错误信息:找到多个具有相同 ID“ftpl_508df6b2-74db-452f-bb13-87fd221f0716_3”的控件。FindControl 要求控件具有唯一的 ID。
错误堆栈:
在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Page.FindControl(String id)
在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:08/26/2021 10:37:55
出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
IP地址:::1
操作人员:JT
出错时间:08/26/2021 10:37:55
错误信息开始=====>
错误类型:HttpException
错误信息:找到多个具有相同 ID“ftpl_508df6b2-74db-452f-bb13-87fd221f0716_3”的控件。FindControl 要求控件具有唯一的 ID。
错误堆栈:
在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Page.FindControl(String id)
在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:08/26/2021 10:37:56
出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
IP地址:::1
操作人员:JT
出错时间:08/26/2021 10:37:56
错误信息开始=====>
错误类型:HttpException
错误信息:找到多个具有相同 ID“ftpl_508df6b2-74db-452f-bb13-87fd221f0716_3”的控件。FindControl 要求控件具有唯一的 ID。
错误堆栈:
在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Page.FindControl(String id)
在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:08/26/2021 10:37:57
出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
IP地址:::1
操作人员:JT
出错时间:08/26/2021 10:37:57
错误信息开始=====>
错误类型:HttpException
错误信息:找到多个具有相同 ID“ftpl_508df6b2-74db-452f-bb13-87fd221f0716_3”的控件。FindControl 要求控件具有唯一的 ID。
错误堆栈:
在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Page.FindControl(String id)
在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:08/26/2021 10:37:58
出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
IP地址:::1
操作人员:JT
出错时间:08/26/2021 10:37:58
错误信息开始=====>
错误类型:HttpException
错误信息:找到多个具有相同 ID“ftpl_508df6b2-74db-452f-bb13-87fd221f0716_3”的控件。FindControl 要求控件具有唯一的 ID。
错误堆栈:
在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Page.FindControl(String id)
在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:08/26/2021 10:37:59
出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
IP地址:::1
操作人员:JT
出错时间:08/26/2021 10:37:59
错误信息开始=====>
错误类型:HttpException
错误信息:找到多个具有相同 ID“ftpl_508df6b2-74db-452f-bb13-87fd221f0716_3”的控件。FindControl 要求控件具有唯一的 ID。
错误堆栈:
在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Page.FindControl(String id)
在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:08/26/2021 10:38:02
出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
IP地址:::1
操作人员:JT
出错时间:08/26/2021 10:38:02
错误信息开始=====>
错误类型:HttpException
错误信息:找到多个具有相同 ID“ftpl_508df6b2-74db-452f-bb13-87fd221f0716_3”的控件。FindControl 要求控件具有唯一的 ID。
错误堆栈:
在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Page.FindControl(String id)
在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:08/26/2021 10:38:03
出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
IP地址:::1
操作人员:JT
出错时间:08/26/2021 10:38:03
错误信息开始=====>
错误类型:HttpException
错误信息:找到多个具有相同 ID“ftpl_508df6b2-74db-452f-bb13-87fd221f0716_3”的控件。FindControl 要求控件具有唯一的 ID。
错误堆栈:
在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Page.FindControl(String id)
在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:08/26/2021 10:38:18
出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
IP地址:::1
操作人员:JT
出错时间:08/26/2021 10:38:18
错误信息开始=====>
错误类型:HttpException
错误信息:找到多个具有相同 ID“ftpl_508df6b2-74db-452f-bb13-87fd221f0716_3”的控件。FindControl 要求控件具有唯一的 ID。
错误堆栈:
在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Page.FindControl(String id)
在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:08/26/2021 10:38:19
出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
IP地址:::1
操作人员:JT
出错时间:08/26/2021 10:38:19
错误信息开始=====>
错误类型:HttpException
错误信息:找到多个具有相同 ID“ftpl_508df6b2-74db-452f-bb13-87fd221f0716_3”的控件。FindControl 要求控件具有唯一的 ID。
错误堆栈:
在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Page.FindControl(String id)
在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:08/26/2021 10:38:20
出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
IP地址:::1
操作人员:JT
出错时间:08/26/2021 10:38:20
错误信息开始=====>
错误类型:HttpException
错误信息:找到多个具有相同 ID“ftpl_508df6b2-74db-452f-bb13-87fd221f0716_3”的控件。FindControl 要求控件具有唯一的 ID。
错误堆栈:
在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Page.FindControl(String id)
在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:08/26/2021 10:39:17
出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
IP地址:::1
操作人员:JT
出错时间:08/26/2021 10:39:17
错误信息开始=====>
错误类型:HttpException
错误信息:找到多个具有相同 ID“ftpl_508df6b2-74db-452f-bb13-87fd221f0716_3”的控件。FindControl 要求控件具有唯一的 ID。
错误堆栈:
在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Page.FindControl(String id)
在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:08/26/2021 10:39:18
出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
IP地址:::1
操作人员:JT
出错时间:08/26/2021 10:39:18
错误信息开始=====>
错误类型:HttpException
错误信息:找到多个具有相同 ID“ftpl_508df6b2-74db-452f-bb13-87fd221f0716_3”的控件。FindControl 要求控件具有唯一的 ID。
错误堆栈:
在 System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Control.FindControl(String id, Int32 pathOffset)
在 System.Web.UI.Page.FindControl(String id)
在 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
出错时间:08/26/2021 10:39:19
出错文件:http://localhost:8118/HSSE/SitePerson/PersonList.aspx
IP地址:::1
操作人员:JT
出错时间:08/26/2021 10:39:19