From 2e58a6116a521be24097e6c70dff52905653cc20 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Tue, 16 Sep 2025 22:42:43 +0800 Subject: [PATCH] fix IsEnterDoorArea --- .../Appointment/Services/Implements/AppointmentService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Dlhis.External/Appointment/Services/Implements/AppointmentService.cs b/Src/Dlhis.External/Appointment/Services/Implements/AppointmentService.cs index 0a88b262..a0d0d8c5 100644 --- a/Src/Dlhis.External/Appointment/Services/Implements/AppointmentService.cs +++ b/Src/Dlhis.External/Appointment/Services/Implements/AppointmentService.cs @@ -249,7 +249,7 @@ public class AppointmentService : IAppointmentService //sta = null, //状态 null或空时后台保存为"R" newFunc = dto.IsEnterWorkplace ? 1 : 0, // 是否进入车间 - yqgw = dto.IsEnterWorkplace + yqgw = dto.IsEnterDoorArea ? areas.Where(x => x.Type == AppointmentAreaEnumType.Door) .Where(x => dto.ApplyDoorArea.Contains(x.CustomCode)) .Select(x => x.Name)