Fix นำเข้าผลสอบ
This commit is contained in:
parent
95b7ef95de
commit
a6b236c413
1 changed files with 3 additions and 0 deletions
|
|
@ -1566,6 +1566,9 @@ namespace BMA.EHR.Recruit.Service.Controllers
|
|||
// preload score
|
||||
var score = rec_import.ScoreImport.Scores
|
||||
.Where(s => !string.IsNullOrEmpty(s.ExamId))
|
||||
.GroupBy(x => x.ExamId)
|
||||
.Where(g => g.Count() == 1)
|
||||
.Select(g => g.First())
|
||||
.ToDictionary(s => s.ExamId, s => s);
|
||||
|
||||
// ถ้าไม่มีผลคะแนนสอบแข่งขันให้จบการทำงาน
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue