fix .
This commit is contained in:
@@ -323,7 +323,7 @@ public class AppointmentService : IAppointmentService
|
||||
var detail = await _dbContext.Queryable<VisitorAppointmentDetailEntity>().Where(x => x.Id == detailId).SingleAsync();
|
||||
detail.ThrowIfNull("数据不存在");
|
||||
|
||||
var areaCodes = GetValidAreaCodes(detail, false).ToList();
|
||||
var areaCodes = GetValidAreaCodes(detail, true).ToList();
|
||||
if (areaCodes.IsEmpty()) return new List<string>();
|
||||
|
||||
var existsAreaCodes = await _dbContext.Queryable<AppointmentAreaEntity>().Where(x => areaCodes.Contains(x.CustomCode)).Select(x => x.CustomCode).ToListAsync();
|
||||
|
||||
Reference in New Issue
Block a user