From 8581cb51906f13d56115defeb0e8606208dd76ad Mon Sep 17 00:00:00 2001 From: liguoyang Date: Thu, 22 May 2025 14:43:01 +0800 Subject: [PATCH] =?UTF-8?q?fix=20nullable.value=E9=97=AE=E9=A2=98,?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E4=BD=BF=E7=94=A8=E4=BF=AE=E6=94=B9=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Organization/Services/Implements/GainfoUpdateService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Dlhis.Basic/Organization/Services/Implements/GainfoUpdateService.cs b/Src/Dlhis.Basic/Organization/Services/Implements/GainfoUpdateService.cs index 80d8627d..1834aa66 100644 --- a/Src/Dlhis.Basic/Organization/Services/Implements/GainfoUpdateService.cs +++ b/Src/Dlhis.Basic/Organization/Services/Implements/GainfoUpdateService.cs @@ -312,7 +312,7 @@ public class GainfoUpdateService : IGainfoUpdateService { try { - var resignationDate = DateOnly.FromDateTime(gainfo.ResignationDate!.Value); + var resignationDate = DateOnly.FromDateTime(gainfo.ModifiedTime); var workGridSchedules = await _dbContext.Queryable().Where(x => x.UserCode == gainfo.Code) .Where(x => x.Date >= resignationDate)