From 7994d831f1229205db469ff622268db538789bd5 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Sun, 4 Jan 2026 17:11:28 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BC=98=E5=8C=96=E5=B7=AE=E5=BC=82?= =?UTF-8?q?=E4=BA=BA=E6=95=B0=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Services/Implements/GainfoUpdateService.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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}的排班信息,请前往系统处理!";