fix 任务生成描述
This commit is contained in:
@@ -175,7 +175,7 @@ public class GainfoUpdateService : IGainfoUpdateService
|
||||
{
|
||||
await _dbContext.InsertAsync(info);
|
||||
await _identityUserSyncService.SyncAccountAsync(info.Code, info.Name, info.IdNo, info.Factory);
|
||||
}, new List<string> { info.No });
|
||||
}, new List<string> { info.No }, "入职生成");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -283,7 +283,7 @@ public class GainfoUpdateService : IGainfoUpdateService
|
||||
}).Where(x => x.Code == item.ename).ExecuteCommandAsync();
|
||||
|
||||
await _identityUserSyncService.SyncAccountAsync(gainfo.Code, gainfo.Name, gainfo.IdNo, factory);
|
||||
}, new List<string> { gainfo.No });
|
||||
}, new List<string> { gainfo.No }, "人员数据变更");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -307,7 +307,7 @@ public class GainfoUpdateService : IGainfoUpdateService
|
||||
|
||||
gainfo.Id = gainfo.IdentityUserId;
|
||||
await _dbContext.DeleteReallyAsync(gainfo);
|
||||
}, new List<string> { gainfo.No });
|
||||
}, new List<string> { gainfo.No }, "人员离职生成");
|
||||
|
||||
await _dbContext.Client.Ado.CommitTranAsync();
|
||||
}
|
||||
@@ -420,7 +420,7 @@ public class GainfoUpdateService : IGainfoUpdateService
|
||||
var native = GetNative(person.ZZ_SFZH);
|
||||
var sex = person.GESCH == "2" ? "F" : "M";
|
||||
|
||||
person.ZZ_SFZH = person.ZZ_SFZH?.TrimStart();
|
||||
person.ZZ_SFZH = person.ZZ_SFZH.TrimStart();
|
||||
GainfoSapEntity o = new()
|
||||
{
|
||||
gname = person.NAME,
|
||||
|
||||
Reference in New Issue
Block a user