From 006e6389385e9a03e6d689b3a131214ebd28a68a Mon Sep 17 00:00:00 2001 From: liguoyang Date: Mon, 9 Sep 2024 14:49:28 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=A0=B9=E6=8D=AE=E7=BC=96=E7=A0=81?= =?UTF-8?q?=E5=88=A4=E6=96=AD=E5=8C=BA=E5=9F=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Appointment/Services/Implements/AppointmentService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/Dlhis.External/Appointment/Services/Implements/AppointmentService.cs b/Src/Dlhis.External/Appointment/Services/Implements/AppointmentService.cs index ff1b7951..8681c948 100644 --- a/Src/Dlhis.External/Appointment/Services/Implements/AppointmentService.cs +++ b/Src/Dlhis.External/Appointment/Services/Implements/AppointmentService.cs @@ -88,7 +88,7 @@ public class AppointmentService : IAppointmentService Phone = item.Phone, Remark = item.Remark, DoorStatus = areas.Where(x => x.Type == AppointmentAreaEnumType.Door) - .Select(x => x.Name) + .Select(x => x.CustomCode) .Contains(item.ApplyDoorArea) ? VisitorAppointmentDetailStatusEnumType.Wait : VisitorAppointmentDetailStatusEnumType.Obsolete, @@ -99,7 +99,7 @@ public class AppointmentService : IAppointmentService IsEnterWorkplace = item.IsEnterWorkplace, WorkplaceStatus = item.IsEnterWorkplace && item.ApplyWorkplaceAreas.All(p => areas.Where(x => x.Type == AppointmentAreaEnumType.Workplace) - .Select(x => x.Name) + .Select(x => x.CustomCode) .Contains(p)) ? VisitorAppointmentDetailStatusEnumType.Wait : VisitorAppointmentDetailStatusEnumType.Obsolete,