fix .
This commit is contained in:
@@ -45,7 +45,7 @@ public class AppointmentService : IAppointmentService
|
||||
var invalids = new[] { GainfoUserTypeEnumType.Normal, GainfoUserTypeEnumType.SecurityWhite };
|
||||
|
||||
var idNos = request.Items.Where(x => x.IsEnterDoorArea).Select(x => x.IdNo).Distinct().ToList();
|
||||
var errors = await _dbContext.Queryable<GainfoEntity>().Where(x => idNos.Contains(x.Code) || idNos.Contains(x.Code))
|
||||
var errors = await _dbContext.Queryable<GainfoEntity>().Where(x => idNos.Contains(x.IdNo) || idNos.Contains(x.Code))
|
||||
.Where(x => invalids.Contains(x.Type))
|
||||
.Select(x => x.Code).ToListAsync();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user