Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 50s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 50s
This commit is contained in:
commit
f73753742c
2 changed files with 29 additions and 28 deletions
|
|
@ -283,10 +283,10 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
|
||||
#endregion
|
||||
|
||||
#region " จัดการรอบการสมัครสอบคัดเลือกผู้พิการ "
|
||||
#region " จัดการรอบการสมัครสอบคัดเลือกอื่นๆ "
|
||||
|
||||
/// <summary>
|
||||
/// แสดงข้อมูลรอบการสอบคัดเลือกผู้พิการ
|
||||
/// แสดงข้อมูลรอบการสอบคัดเลือกอื่นๆ
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
/// <response code="200">เมื่อทำการอ่านข้อมูลจาก Relational Database สำเร็จ</response>
|
||||
|
|
@ -341,9 +341,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// แสดงข้อมูลรอบการสอบคัดเลือกผู้พิการเป็นรายการ
|
||||
/// แสดงข้อมูลรอบการสอบคัดเลือกอื่นๆเป็นรายการ
|
||||
/// </summary>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกผู้พิการ</param>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกอื่นๆ</param>
|
||||
/// <returns></returns>
|
||||
/// <response code="200">เมื่อทำการอ่านข้อมูลจาก Relational Database สำเร็จ</response>
|
||||
/// <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response>
|
||||
|
|
@ -451,7 +451,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
|
||||
|
||||
/// <summary>
|
||||
/// เพิ่มข้อมูลรอบการจัดสอบคัดเลือกผู้พิการ
|
||||
/// เพิ่มข้อมูลรอบการจัดสอบคัดเลือกอื่นๆ
|
||||
/// </summary>
|
||||
/// <param name="req">Request parameters</param>
|
||||
/// <returns></returns>
|
||||
|
|
@ -525,9 +525,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// แก้ไขข้อมูลรอบการจัดสอบคัดเลือกผู้พิการ
|
||||
/// แก้ไขข้อมูลรอบการจัดสอบคัดเลือกอื่นๆ
|
||||
/// </summary>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกผู้พิการ</param>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกอื่นๆ</param>
|
||||
/// <param name="req">Request parameters</param>
|
||||
/// <returns></returns>
|
||||
/// <response code="200">เมื่อทำการเพิ่มข้อมูลสำเร็จ</response>
|
||||
|
|
@ -587,9 +587,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
|
||||
|
||||
/// <summary>
|
||||
/// ลบข้อมูลรอบการจัดสอบคัดเลือกผู้พิการ
|
||||
/// ลบข้อมูลรอบการจัดสอบคัดเลือกอื่นๆ
|
||||
/// </summary>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกผู้พิการ</param>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกอื่นๆ</param>
|
||||
/// <returns></returns>
|
||||
/// <response code="200">เมื่อทำการลบข้อมูลสำเร็จ</response>
|
||||
/// <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response>
|
||||
|
|
@ -648,7 +648,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
#region " Candidate Files "
|
||||
|
||||
/// <summary>
|
||||
/// แสดงข้อมูลสำหรับหน้าจอ รายการนำเข้าข้อมูลผู้สมัครสอบคัดเลือกผู้พิการ
|
||||
/// แสดงข้อมูลสำหรับหน้าจอ รายการนำเข้าข้อมูลผู้สมัครสอบคัดเลือกอื่นๆ
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
/// <response code="200">เมื่อแสดงรายการข้อมูลสำเร็จ</response>
|
||||
|
|
@ -704,7 +704,8 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
ImportYear = x.ScoreImport.Year,
|
||||
ImportDate = x.CreatedAt.Date.ToThaiShortDate(),
|
||||
ScoreCount = x.ScoreImport.Scores.Count(),
|
||||
ResultCount = x.ScoreImport.Scores.Count(x => !string.IsNullOrEmpty(x.Number))
|
||||
// ResultCount = x.ScoreImport.Scores.Count(x => !string.IsNullOrEmpty(x.Number))
|
||||
ResultCount = x.ScoreImport.Scores.Count(x => x.ExamStatus == "ผ่าน")
|
||||
},
|
||||
x.CreatedUserId,
|
||||
})
|
||||
|
|
@ -722,7 +723,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
|
||||
|
||||
/// <summary>
|
||||
/// นำเข้ารายชื่อผู้สมัครสอบคัดเลือกผู้พิการ
|
||||
/// นำเข้ารายชื่อผู้สมัครสอบคัดเลือกอื่นๆ
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
/// <response code="200">เมื่อทำนำเข้าข้อมูลสำเร็จ</response>
|
||||
|
|
@ -774,7 +775,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
{
|
||||
new DisableImportHistory
|
||||
{
|
||||
Description = "นำเข้าข้อมูลผู้สมัครสอบคัดเลือกผู้พิการ",
|
||||
Description = "นำเข้าข้อมูลผู้สมัครสอบคัดเลือกอื่นๆ",
|
||||
CreatedAt = DateTime.Now,
|
||||
CreatedUserId = UserId ?? "",
|
||||
CreatedFullName = FullName ?? "System Administrator",
|
||||
|
|
@ -964,9 +965,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// ลบข้อมูลนำข้อมูลผู้สมัครสอบคัดเลือกผู้พิการ
|
||||
/// ลบข้อมูลนำข้อมูลผู้สมัครสอบคัดเลือกอื่นๆ
|
||||
/// </summary>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกผู้พิการ</param>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกอื่นๆ</param>
|
||||
/// <returns></returns>
|
||||
/// <response code="200">เมื่อทำนำเข้าข้อมูลสำเร็จ</response>
|
||||
/// <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response>
|
||||
|
|
@ -1029,9 +1030,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// แสดงประวัติการนำเข้าข้อมูลการสอบคัดเลือกผู้พิการ
|
||||
/// แสดงประวัติการนำเข้าข้อมูลการสอบคัดเลือกอื่นๆ
|
||||
/// </summary>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกผู้พิการ</param>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกอื่นๆ</param>
|
||||
/// <returns></returns>
|
||||
/// <response code="200">เมื่อทำนำเข้าข้อมูลสำเร็จ</response>
|
||||
/// <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response>
|
||||
|
|
@ -1069,9 +1070,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
|
||||
|
||||
/// <summary>
|
||||
/// นำเข้ารายชื่อผู้สมัครสอบคัดเลือกผู้พิการ (ข้อมูลผู้สมัครสอบ)
|
||||
/// นำเข้ารายชื่อผู้สมัครสอบคัดเลือกอื่นๆ (ข้อมูลผู้สมัครสอบ)
|
||||
/// </summary>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกผู้พิการ</param>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกอื่นๆ</param>
|
||||
/// <returns></returns>
|
||||
/// <response code="200">เมื่อทำนำเข้าข้อมูลสำเร็จ</response>
|
||||
/// <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response>
|
||||
|
|
@ -1140,7 +1141,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
// สร้างรอบการบรรจุ โดยเอาเข้ามูลมาใส่จาก Request
|
||||
imported.ImportHostories.Add(new DisableImportHistory
|
||||
{
|
||||
Description = "นำเข้าข้อมูลผู้สมัครสอบคัดเลือกผู้พิการ",
|
||||
Description = "นำเข้าข้อมูลผู้สมัครสอบคัดเลือกอื่นๆ",
|
||||
CreatedAt = DateTime.Now,
|
||||
CreatedUserId = UserId ?? "",
|
||||
CreatedFullName = FullName ?? "System Administrator",
|
||||
|
|
@ -1469,9 +1470,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
|
||||
#region " Score File "
|
||||
/// <summary>
|
||||
/// นำเข้าผลคะแนนสอบคัดเลือกผู้พิการ (บัญชีรวมคะแนน)
|
||||
/// นำเข้าผลคะแนนสอบคัดเลือกอื่นๆ (บัญชีรวมคะแนน)
|
||||
/// </summary>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกผู้พิการ</param>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกอื่นๆ</param>
|
||||
/// <returns></returns>
|
||||
/// <response code="200">เมื่อทำนำเข้าข้อมูลสำเร็จ</response>
|
||||
/// <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response>
|
||||
|
|
@ -1584,7 +1585,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
|
||||
var r = new DisableScore();
|
||||
|
||||
#region นำเข้าผลคะแนนสอบคัดเลือกผู้พิการ old
|
||||
#region นำเข้าผลคะแนนสอบคัดเลือกอื่นๆ old
|
||||
|
||||
////r.ExamId = workSheet?.Cells[row, 2]?.GetValue<string>();
|
||||
|
||||
|
|
@ -1694,9 +1695,9 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
|
||||
#region " Result File "
|
||||
/// <summary>
|
||||
/// นำเข้าผลการสอบคัดเลือกผู้พิการ (ผลการสอบ)
|
||||
/// นำเข้าผลการสอบคัดเลือกอื่นๆ (ผลการสอบ)
|
||||
/// </summary>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกผู้พิการ </param>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกอื่นๆ </param>
|
||||
/// <returns></returns>
|
||||
/// <response code="200">เมื่อทำนำเข้าข้อมูลสำเร็จ</response>
|
||||
/// <response code="400">ค่าตัวแปรที่ส่งมาไม่ถูกต้อง</response>
|
||||
|
|
@ -1768,7 +1769,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
.Select(g => g.First())
|
||||
.ToDictionary(s => s.ExamId, s => s);
|
||||
|
||||
// ถ้าไม่มีผลคะแนนสอบคัดเลือกผู้พิการให้จบการทำงาน
|
||||
// ถ้าไม่มีผลคะแนนสอบคัดเลือกอื่นๆให้จบการทำงาน
|
||||
if (score.Count == 0) return Success();
|
||||
|
||||
var file = Request.Form.Files[0];
|
||||
|
|
@ -2579,7 +2580,7 @@ namespace BMA.EHR.Recurit.Exam.Service.Controllers
|
|||
/// <summary>
|
||||
/// ผลคะแนนผู้สมัครสอบ
|
||||
/// </summary>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกผู้พิการ</param>
|
||||
/// <param name="id">รหัสรอบการสอบคัดเลือกอื่นๆ</param>
|
||||
/// <param name="examId">เลขประจำตัวสอบ</param>
|
||||
/// <returns></returns>
|
||||
/// <response code="200">เมื่อทำการอ่านข้อมูลจำนวนผู้สอบผ่านแข่งขันเพื่อบรรจุเข้ารับราชการเป็นข้าราชการ กทม. สามัญสำเร็จ</response>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ using System.ComponentModel.DataAnnotations;
|
|||
namespace BMA.EHR.Recurit.Exam.Service.Request.Disables
|
||||
{
|
||||
/// <summary>
|
||||
/// ตัวแปรสำหรับสร้างข้อมูลการสอบคัดเลือกผู้พิการ
|
||||
/// ตัวแปรสำหรับสร้างข้อมูลการสอบคัดเลือกอื่นๆ
|
||||
/// </summary>
|
||||
public class PostDisableImportRequest
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue