Fix นำเข้าผลสอบ
This commit is contained in:
parent
44e4ab3f9f
commit
5a92cf2852
1 changed files with 3 additions and 0 deletions
|
|
@ -1760,6 +1760,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
||||||
// preload score
|
// preload score
|
||||||
var score = rec_import.ScoreImport.Scores
|
var score = rec_import.ScoreImport.Scores
|
||||||
.Where(s => !string.IsNullOrEmpty(s.ExamId))
|
.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);
|
.ToDictionary(s => s.ExamId, s => s);
|
||||||
|
|
||||||
// ถ้าไม่มีผลคะแนนสอบคัดเลือกผู้พิการให้จบการทำงาน
|
// ถ้าไม่มีผลคะแนนสอบคัดเลือกผู้พิการให้จบการทำงาน
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue