fix log
This commit is contained in:
@@ -81,6 +81,7 @@ public class SyncPersonJob
|
||||
try
|
||||
{
|
||||
await InsertPerson(dbContext, item);
|
||||
_logger.LogInformation("执行新增成功 工号:{code},姓名:{name}", item.ename, item.gname);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
@@ -96,6 +97,7 @@ public class SyncPersonJob
|
||||
try
|
||||
{
|
||||
await UpdatePerson(dbContext, item);
|
||||
_logger.LogInformation("执行更新成功 工号:{code},姓名:{name}", item.ename, item.gname);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user