diff --git a/Src/Dlhis.Entity/Visitor/Entity/VisitorAppointmentDetailEntity.cs b/Src/Dlhis.Entity/Visitor/Entity/VisitorAppointmentDetailEntity.cs
index ee427536..a73e98aa 100644
--- a/Src/Dlhis.Entity/Visitor/Entity/VisitorAppointmentDetailEntity.cs
+++ b/Src/Dlhis.Entity/Visitor/Entity/VisitorAppointmentDetailEntity.cs
@@ -51,6 +51,11 @@ public class VisitorAppointmentDetailEntity : SugarBaseEntity
[SugarColumn(ColumnDescription = "车牌")]
public string LicensePlate { get; set; }
+ ///
+ /// 进入门岗
+ ///
+ public bool IsEnterDoorArea { get; set; }
+
///
/// 预约门禁区域
///
diff --git a/Src/Dlhis.External/Appointment/Dto/AppointmentReceiveItemDto.cs b/Src/Dlhis.External/Appointment/Dto/AppointmentReceiveItemDto.cs
index bd0fd1b5..8710a565 100644
--- a/Src/Dlhis.External/Appointment/Dto/AppointmentReceiveItemDto.cs
+++ b/Src/Dlhis.External/Appointment/Dto/AppointmentReceiveItemDto.cs
@@ -45,6 +45,10 @@ public class AppointmentReceiveItemDto : IValidatableObject
///
public string ImageUrl { get; set; }
+ ///
+ /// 进入门岗
+ ///
+ public bool IsEnterDoorArea { get; set; }
///
/// 预约门岗区域
@@ -63,7 +67,7 @@ public class AppointmentReceiveItemDto : IValidatableObject
public DateTime DoorEnd { get; set; }
///
- /// 是否进入车间
+ /// 进入车间
///
public bool IsEnterWorkplace { get; set; }
diff --git a/Src/Dlhis.External/Appointment/Services/Implements/AppointmentService.cs b/Src/Dlhis.External/Appointment/Services/Implements/AppointmentService.cs
index dcc8bbd8..ff689b9f 100644
--- a/Src/Dlhis.External/Appointment/Services/Implements/AppointmentService.cs
+++ b/Src/Dlhis.External/Appointment/Services/Implements/AppointmentService.cs
@@ -88,12 +88,13 @@ public class AppointmentService : IAppointmentService
Name = item.Name,
Phone = item.Phone,
Remark = item.Remark,
- DoorStatus = areas.Where(x => x.Type == AppointmentAreaEnumType.Door)
+ DoorStatus = item.IsEnterDoorArea && areas.Where(x => x.Type == AppointmentAreaEnumType.Door)
.Select(x => x.CustomCode)
.Contains(item.ApplyDoorArea)
? VisitorAppointmentDetailStatusEnumType.Wait
: VisitorAppointmentDetailStatusEnumType.Obsolete,
LicensePlate = item.LicensePlate,
+ IsEnterDoorArea = item.IsEnterDoorArea,
ApplyDoorArea = item.ApplyDoorArea,
DoorStart = item.DoorStart,
DoorEnd = item.DoorEnd,