migrate + ปรับระบบสรรหาสอบคัดเลือก
This commit is contained in:
parent
577c7b289e
commit
f20abe032d
19 changed files with 6470 additions and 15 deletions
|
|
@ -185,6 +185,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
Round = x.Round,
|
||||
SetSeat = x.SetSeat,
|
||||
Year = x.Year,
|
||||
GraduationYearLock = x.GraduationYearLock,
|
||||
BankExam = x.BankExam.OrderBy(o => o.CreatedAt).Select(b => new BankExam
|
||||
{
|
||||
Id = b.Id,
|
||||
|
|
@ -203,6 +204,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
PositionLevelName = b.PositionLevelName,
|
||||
HighDegree = b.HighDegree,
|
||||
Code = b.Code,
|
||||
EducationLevel = b.EducationLevel,
|
||||
}).ToList(),
|
||||
Documents = x.PeriodExamDocuments.OrderBy(o => o.CreatedAt).Select(b => new FileListResponse
|
||||
{
|
||||
|
|
@ -364,6 +366,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
CompanyCode = inserted.CompanyCode,
|
||||
Reason = inserted.Reason,
|
||||
RefNo1 = inserted.RefNo1,
|
||||
GraduationYearLock = inserted.GraduationYearLock,
|
||||
CreatedAt = DateTime.Now,
|
||||
CreatedUserId = UserId ?? "",
|
||||
LastUpdatedAt = DateTime.Now,
|
||||
|
|
@ -406,6 +409,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
Code = position.Code,
|
||||
TypeId = position.TypeId,
|
||||
TypeName = position.TypeName,
|
||||
EducationLevel = position.EducationLevel,
|
||||
CreatedAt = DateTime.Now,
|
||||
CreatedUserId = UserId ?? "",
|
||||
LastUpdatedAt = DateTime.Now,
|
||||
|
|
@ -464,6 +468,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
periodExam.CompanyCode = updated.CompanyCode;
|
||||
periodExam.Reason = updated.Reason;
|
||||
periodExam.RefNo1 = updated.RefNo1;
|
||||
periodExam.GraduationYearLock = updated.GraduationYearLock;
|
||||
periodExam.LastUpdatedAt = DateTime.Now;
|
||||
periodExam.LastUpdateUserId = UserId ?? "";
|
||||
periodExam.LastUpdateFullName = FullName ?? "";
|
||||
|
|
@ -539,6 +544,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
position.Code = positionData.Code;
|
||||
position.TypeId = positionData.TypeId;
|
||||
position.TypeName = positionData.TypeName;
|
||||
position.EducationLevel = positionData.EducationLevel;
|
||||
position.LastUpdatedAt = DateTime.Now;
|
||||
position.LastUpdateUserId = UserId ?? "";
|
||||
position.LastUpdateFullName = FullName ?? "";
|
||||
|
|
@ -573,6 +579,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Services
|
|||
Code = position.Code,
|
||||
TypeId = position.TypeId,
|
||||
TypeName = position.TypeName,
|
||||
EducationLevel = position.EducationLevel,
|
||||
CreatedAt = DateTime.Now,
|
||||
CreatedUserId = UserId ?? "",
|
||||
LastUpdatedAt = DateTime.Now,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue