From a24cade55813e3dd84bef847c1382649baffcdb1 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Fri, 18 Oct 2024 18:27:05 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=9F=A5=E8=AF=A2=E9=97=AE=E9=A2=98?= 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.Basic/Appointment/Services/Implements/AppointmentService.cs b/Src/Dlhis.Basic/Appointment/Services/Implements/AppointmentService.cs index 48d156a8..78741101 100644 --- a/Src/Dlhis.Basic/Appointment/Services/Implements/AppointmentService.cs +++ b/Src/Dlhis.Basic/Appointment/Services/Implements/AppointmentService.cs @@ -75,7 +75,7 @@ public class AppointmentService : IAppointmentService ImageUrl = x.ImageUrl, Remark = x.Remark, DoorStatus = x.DoorStatus, - WorkplaceStatus = VisitorAppointmentDetailStatusEnumType.Wait + WorkplaceStatus = x.WorkplaceStatus, }) .ToListAsync(); } @@ -86,7 +86,7 @@ public class AppointmentService : IAppointmentService detail.ThrowIfNull("预约信息不存在"); await GenerateTaskAndUpdateFaceAsync(detail.Id, request.Base64Image, DeviceTaskEnumType.Add); - + if (detail.DoorStatus == VisitorAppointmentDetailStatusEnumType.Wait) { detail.DoorStatus = VisitorAppointmentDetailStatusEnumType.Arrived;