migrate + ปรับระบบสรรหาสอบคัดเลือก (2)
This commit is contained in:
parent
f20abe032d
commit
876b085dd2
11 changed files with 3261 additions and 2 deletions
|
|
@ -319,6 +319,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
Year = periodExam.Year,
|
||||
Position = positionExam.PositionName,
|
||||
PositionLevel = positionExam.PositionLevelName,
|
||||
EducationLevel = positionExam.EducationLevel,
|
||||
};
|
||||
}
|
||||
else
|
||||
|
|
@ -330,6 +331,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
Year = periodExam.Year,
|
||||
Position = null,
|
||||
PositionLevel = null,
|
||||
EducationLevel = positionExam.EducationLevel,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
@ -366,7 +368,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
CompanyCode = inserted.CompanyCode,
|
||||
Reason = inserted.Reason,
|
||||
RefNo1 = inserted.RefNo1,
|
||||
GraduationYearLock = inserted.GraduationYearLock,
|
||||
GraduationYearLock = inserted.GraduationYearLock ?? 3,
|
||||
CreatedAt = DateTime.Now,
|
||||
CreatedUserId = UserId ?? "",
|
||||
LastUpdatedAt = DateTime.Now,
|
||||
|
|
@ -806,6 +808,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
Status = x.Status,
|
||||
PositionLevelName = x.PositionExam == null ? null : x.PositionExam.PositionLevelName,
|
||||
PositionName = x.PositionExam == null ? null : x.PositionExam.PositionName,
|
||||
IsShowExamInfo = x.IsShowExamInfo,
|
||||
})
|
||||
.Skip((page - 1) * pageSize)
|
||||
.Take(pageSize)
|
||||
|
|
@ -887,6 +890,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
Status = x.Status,
|
||||
PositionLevelName = x.PositionExam == null ? null : x.PositionExam.PositionLevelName,
|
||||
PositionName = x.PositionExam == null ? null : x.PositionExam.PositionName,
|
||||
IsShowExamInfo = x.IsShowExamInfo,
|
||||
})
|
||||
.ToListAsync();
|
||||
var _candidate = await _context.Candidates.AsQueryable()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue