fix 查询问题
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user