migrate add ScoreExpireDate
This commit is contained in:
parent
57831420f8
commit
536e7e924d
10 changed files with 3310 additions and 69 deletions
|
|
@ -2480,7 +2480,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
Number = candidate.Number,
|
||||
ReviewPoint = candidate.ReviewPoint,
|
||||
Review = candidate.Review,
|
||||
AnnouncementDate = exam.AnnouncementDate?.AddYears(2),
|
||||
// เดิมคำนวณวันหมดอายุจาก AnnouncementDate + 2 ปี (เก็บไว้สำหรับอ้างอิงข้อมูลเก่า)
|
||||
//AnnouncementDate = exam.AnnouncementDate?.AddYears(2),
|
||||
AnnouncementDate = exam.ScoreExpireDate,
|
||||
Id = candidate.Id,
|
||||
Position = positionName,
|
||||
PositionLevel = positionLevelName,
|
||||
|
|
@ -2540,7 +2542,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
Number = candidate.Number,
|
||||
ReviewPoint = candidate.ReviewPoint,
|
||||
Review = candidate.Review,
|
||||
AnnouncementDate = candidate.PeriodExam?.AnnouncementDate?.AddYears(2),
|
||||
// เดิมคำนวณวันหมดอายุจาก AnnouncementDate + 2 ปี (เก็บไว้สำหรับอ้างอิงข้อมูลเก่า)
|
||||
//AnnouncementDate = candidate.PeriodExam?.AnnouncementDate?.AddYears(2),
|
||||
AnnouncementDate = candidate.PeriodExam?.ScoreExpireDate,
|
||||
Id = candidate.Id,
|
||||
Position = positionName,
|
||||
PositionLevel = positionLevelName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue