fix 处理查询问题

This commit is contained in:
2024-10-18 17:55:36 +08:00
parent 48089940a3
commit f508aa0df5
3 changed files with 3 additions and 7 deletions

View File

@@ -1,5 +1,6 @@
using Dlhis.Entity.Visitor.Enums;
using Kurisu.AspNetCore.Utils.Extensions;
using Newtonsoft.Json;
namespace Dlhis.Basic.Appointment.Response;
@@ -82,7 +83,7 @@ public class AppointmentDetailResponse
}
}
[JsonIgnore]
public string ApplyWorkplaceAreasString { get; set; }
/// <summary>

View File

@@ -68,7 +68,7 @@ public class AppointmentService : IAppointmentService
ApplyDoorArea = x.ApplyDoorArea,
DoorStart = x.DoorStart,
DoorEnd = x.DoorEnd,
IsEnterWorkplace = false,
IsEnterWorkplace = x.IsEnterWorkplace,
ApplyWorkplaceAreasString = x.ApplyWorkplaceAreas.ToString(),
WorkplaceStart = x.WorkplaceStart,
WorkplaceEnd = x.WorkplaceEnd,

View File

@@ -30,11 +30,6 @@ public class AppointmentService : IAppointmentService
var mst = new VisitorAppointmentEntity
{
Id = 0,
CreatedBy = 0,
CreateTime = default,
ModifiedBy = 0,
ModifiedTime = default,
No = request.No,
Title = request.Title,
Code = request.Code,