no message
This commit is contained in:
parent
6d8e728c53
commit
cb8f453efd
1 changed files with 8 additions and 6 deletions
|
|
@ -1235,9 +1235,10 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
||||||
candidates = await _context.Candidates
|
candidates = await _context.Candidates
|
||||||
.AsQueryable()
|
.AsQueryable()
|
||||||
.Include(x => x.PositionExam)
|
.Include(x => x.PositionExam)
|
||||||
.OrderBy(x => x.PositionExam == null ? null : x.PositionExam.PositionName)
|
// .OrderBy(x => x.PositionExam == null ? null : x.PositionExam.PositionName)
|
||||||
.ThenBy(x => x.PositionExam == null ? null : x.PositionExam.PositionLevelName)
|
// .ThenBy(x => x.PositionExam == null ? null : x.PositionExam.PositionLevelName)
|
||||||
.ThenBy(x => x.ExamIdenNumber)
|
// .ThenBy(x => x.ExamIdenNumber)
|
||||||
|
.OrderBy(x => x.ExamIdenNumber)
|
||||||
.Where(x => x.PeriodExam == periodExam)
|
.Where(x => x.PeriodExam == periodExam)
|
||||||
.Where(x => x.Status != "waiver")
|
.Where(x => x.Status != "waiver")
|
||||||
.Where(x => x.Status != "register")
|
.Where(x => x.Status != "register")
|
||||||
|
|
@ -1248,9 +1249,10 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
||||||
candidates = await _context.Candidates
|
candidates = await _context.Candidates
|
||||||
.AsQueryable()
|
.AsQueryable()
|
||||||
.Include(x => x.PositionExam)
|
.Include(x => x.PositionExam)
|
||||||
.OrderBy(x => x.PositionExam == null ? null : x.PositionExam.PositionName)
|
// .OrderBy(x => x.PositionExam == null ? null : x.PositionExam.PositionName)
|
||||||
.ThenBy(x => x.PositionExam == null ? null : x.PositionExam.PositionLevelName)
|
// .ThenBy(x => x.PositionExam == null ? null : x.PositionExam.PositionLevelName)
|
||||||
.ThenBy(x => x.ExamIdenNumber)
|
// .ThenBy(x => x.ExamIdenNumber)
|
||||||
|
.OrderBy(x => x.ExamIdenNumber)
|
||||||
.Where(x => x.PeriodExam == periodExam)
|
.Where(x => x.PeriodExam == periodExam)
|
||||||
.Where(x => x.Status != "register")
|
.Where(x => x.Status != "register")
|
||||||
.ToListAsync();
|
.ToListAsync();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue