fix 多重名No映射问题
This commit is contained in:
@@ -120,6 +120,7 @@ public class AppointmentService : IAppointmentService
|
||||
.Where(x => (x.IsEnterDoorArea && SqlFunc.DateIsSame(x.DoorStart, now)) || (x.IsEnterWorkplace && SqlFunc.DateIsSame(x.WorkplaceStart, now)))
|
||||
.Select(x => new AppointmentDetailResponse
|
||||
{
|
||||
No = x.No,
|
||||
Mst = SqlFunc.Subqueryable<VisitorAppointmentDetailEntity>().Where(p => p.No == x.No).First<AppointmentPageResponse>()
|
||||
}, true)
|
||||
.SingleAsync();
|
||||
|
||||
Reference in New Issue
Block a user