20230316新增人员出入记录操作日志

This commit is contained in:
2023-03-16 10:48:42 +08:00
parent f2a3954a44
commit 2747440a89
15 changed files with 173 additions and 161 deletions
+12 -1
View File
@@ -1,4 +1,6 @@
using Microsoft.SqlServer.Dts.Runtime;
using Model;
using NPOI.SS.Formula.PTG;
using System;
using System.Collections.Generic;
using System.Configuration;
@@ -572,7 +574,16 @@ namespace BLL
if (!string.IsNullOrEmpty(newProjectPerson.SitePersonId))
{
SitePerson_PersonService.UpdateSitePerson(newProjectPerson);
Model.Sys_Log newlog = new Sys_Log
{
UserId = newPerson.PersonId,
MenuId = Const.PersonListMenuId,
OperationName = "APP修改人员",
OperationLog = "修改人员"+newPerson.PersonName,
DataId = newPerson.PersonId,
ProjectId = person.ProjectId,
};
SitePerson_PersonService.UpdateSitePerson(newProjectPerson, newlog);
}
else
{