diff --git a/Src/Dlhis.Basic/Organization/Services/Implements/GainfoUpdateService.cs b/Src/Dlhis.Basic/Organization/Services/Implements/GainfoUpdateService.cs index cf560e0a..6405d538 100644 --- a/Src/Dlhis.Basic/Organization/Services/Implements/GainfoUpdateService.cs +++ b/Src/Dlhis.Basic/Organization/Services/Implements/GainfoUpdateService.cs @@ -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}的排班信息,请前往系统处理!";