เพิ่ม field ในการแสดงข้อมูลการสอบ
This commit is contained in:
parent
b1f8c78ced
commit
de70220236
1 changed files with 5 additions and 0 deletions
|
|
@ -1321,6 +1321,10 @@ namespace BMA.EHR.Recruit.Service.Controllers
|
||||||
Remark = dr["remark"].ToString(),
|
Remark = dr["remark"].ToString(),
|
||||||
IsSpecial = dr["isspecial"].ToString(),
|
IsSpecial = dr["isspecial"].ToString(),
|
||||||
applyDate = dr["applydate"] == null ? "" : Convert.ToDateTime(dr["applydate"]).ToThaiShortDate(),
|
applyDate = dr["applydate"] == null ? "" : Convert.ToDateTime(dr["applydate"]).ToThaiShortDate(),
|
||||||
|
university = dr["university"].ToString(),
|
||||||
|
position_name = dr["position_name"].ToString(),
|
||||||
|
exam_name = dr["exam_name"].ToString(),
|
||||||
|
exam_order = dr["exam_order"].ToString(),
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1410,6 +1414,7 @@ namespace BMA.EHR.Recruit.Service.Controllers
|
||||||
ExamAttribute = _recruitService.CheckValidCertificate(p.Certificates.First().IssueDate, 5) ? "มีคุณสมบัติ" : "ไม่มีคุณสมบัติ",
|
ExamAttribute = _recruitService.CheckValidCertificate(p.Certificates.First().IssueDate, 5) ? "มีคุณสมบัติ" : "ไม่มีคุณสมบัติ",
|
||||||
IsSpecial = p.Isspecial,
|
IsSpecial = p.Isspecial,
|
||||||
Remark = p.Remark,
|
Remark = p.Remark,
|
||||||
|
University = p.Educations.First().University,
|
||||||
Score = sr == null ? 0 : sr.SumA + sr.SumB + sr.SumC,
|
Score = sr == null ? 0 : sr.SumA + sr.SumB + sr.SumC,
|
||||||
ScoreResult = sr == null ? null : new
|
ScoreResult = sr == null ? null : new
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue