fix 优化差异人数显示
This commit is contained in:
@@ -50,6 +50,7 @@ public class GainfoUpdateService : IGainfoUpdateService
|
||||
var persons = personResp.Person.Items;
|
||||
|
||||
werkInfo.HandleMessage = "SAP人员数量" + persons.Count;
|
||||
werkInfo.DiffNumber = 0;
|
||||
werkInfo.Total = persons.Count;
|
||||
await _dbContext.UpdateAsync(werkInfo);
|
||||
|
||||
@@ -340,7 +341,8 @@ public class GainfoUpdateService : IGainfoUpdateService
|
||||
.Where(x => x.Code == workGridUser.WorkGridCode)
|
||||
.Select(x => new
|
||||
{
|
||||
x.LeaderUserCode, x.Name
|
||||
x.LeaderUserCode,
|
||||
x.Name
|
||||
}).SingleAsync();
|
||||
|
||||
var content = $"{workGrid.Name}的网格长,你好,检测到你网格中 {gainfo.Name}({gainfo.Code}),因发生离职或者异动,现已经删除该员工{dates}的排班信息,请前往系统处理!";
|
||||
@@ -405,7 +407,8 @@ public class GainfoUpdateService : IGainfoUpdateService
|
||||
.Where(x => x.Code == workGridUser.WorkGridCode)
|
||||
.Select(x => new
|
||||
{
|
||||
x.LeaderUserCode, x.Name
|
||||
x.LeaderUserCode,
|
||||
x.Name
|
||||
}).SingleAsync();
|
||||
var content = $"{workGrid.Name}的网格长,你好,检测到你网格中 {gainfo.Name}({gainfo.Code}),因发生离职或者异动,现已经删除该员工{dates}的排班信息,请前往系统处理!";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user