From 1b486f61ad2d3607857678653b84751d8c583415 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Fri, 18 Oct 2024 18:15:46 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=9F=A5=E8=AF=A2=E5=8C=B9=E9=85=8D?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/Dlhis.ScheduledTask/Jobs/AutoConfirmAppointmentJob.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Dlhis.ScheduledTask/Jobs/AutoConfirmAppointmentJob.cs b/Src/Dlhis.ScheduledTask/Jobs/AutoConfirmAppointmentJob.cs index a584ce6f..27a91a5b 100644 --- a/Src/Dlhis.ScheduledTask/Jobs/AutoConfirmAppointmentJob.cs +++ b/Src/Dlhis.ScheduledTask/Jobs/AutoConfirmAppointmentJob.cs @@ -28,7 +28,7 @@ public class AutoConfirmAppointmentJob : BaseJob foreach (var detail in details) { - var gainfo = await DbContext.Queryable().Where(x => x.No == detail.No).SingleAsync(); + var gainfo = await DbContext.Queryable().Where(x => x.No == detail.UserNo).SingleAsync(); var isExternal = gainfo.Type == GainfoUserTypeEnumType.External; var areaCodes = GetValidAreaCodes(isExternal, detail);