Correct Sort Order
This commit is contained in:
parent
58b890d6a5
commit
4c1c3f5da8
2 changed files with 22 additions and 22 deletions
|
|
@ -392,7 +392,7 @@ namespace BMA.EHR.Report.Service.Controllers
|
||||||
ExamName = $"{p.PeriodExam.Name} ครั้งที่ {p.PeriodExam.Round}/{p.PeriodExam.Year.Value.ToThaiYear()}",
|
ExamName = $"{p.PeriodExam.Name} ครั้งที่ {p.PeriodExam.Round}/{p.PeriodExam.Year.Value.ToThaiYear()}",
|
||||||
|
|
||||||
|
|
||||||
Number = sr == null ? "" : sr.Number,
|
Number = sr == null ? 99999 : Convert.ToInt32(sr.Number),
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -467,10 +467,10 @@ namespace BMA.EHR.Report.Service.Controllers
|
||||||
|
|
||||||
ExamName = $"{p.PeriodExam.Name} ครั้งที่ {p.PeriodExam.Round}/{p.PeriodExam.Year.Value.ToThaiYear()}",
|
ExamName = $"{p.PeriodExam.Name} ครั้งที่ {p.PeriodExam.Round}/{p.PeriodExam.Year.Value.ToThaiYear()}",
|
||||||
|
|
||||||
Number = p.Number,
|
Number = p.Number == null ? 99999 : Convert.ToInt32(p.Number),
|
||||||
|
|
||||||
FullA = 0,
|
FullA = 0,
|
||||||
SumA =0,
|
SumA = 0,
|
||||||
FullB = p.PointTotalB,
|
FullB = p.PointTotalB,
|
||||||
SumB = p.PointB,
|
SumB = p.PointB,
|
||||||
FullC = p.PointTotalC,
|
FullC = p.PointTotalC,
|
||||||
|
|
|
||||||
|
|
@ -310,7 +310,7 @@ namespace BMA.EHR.Report.Service.Controllers
|
||||||
ExamName = $"{p.RecruitImport.Name} ครั้งที่ {p.RecruitImport.Order}/{p.RecruitImport.Year.ToThaiYear()}",
|
ExamName = $"{p.RecruitImport.Name} ครั้งที่ {p.RecruitImport.Order}/{p.RecruitImport.Year.ToThaiYear()}",
|
||||||
|
|
||||||
|
|
||||||
Number = sr == null ? "" : sr.Number,
|
Number = sr == null ? 99999 : Convert.ToInt32(sr.Number),
|
||||||
ExamCount = _recruitService.GetExamCount(p.CitizenId),
|
ExamCount = _recruitService.GetExamCount(p.CitizenId),
|
||||||
ScoreExpire = p.RecruitImport.AnnouncementDate == null ? "" : p.RecruitImport.AnnouncementDate.Value.AddYears(2).ToThaiShortDate(),
|
ScoreExpire = p.RecruitImport.AnnouncementDate == null ? "" : p.RecruitImport.AnnouncementDate.Value.AddYears(2).ToThaiShortDate(),
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue