วินัยกำหนดให้ฟิวว่างได้ รายละเอียด
This commit is contained in:
parent
2f733cd2a6
commit
4369c35f93
23 changed files with 9215 additions and 53 deletions
|
|
@ -75,8 +75,10 @@ namespace BMA.EHR.DisciplineDisciplinary.Service.Controllers
|
|||
DisciplinaryCaseFault = x.DisciplinaryCaseFault,//กรณีความผิด
|
||||
Status = x.Status,//สถานะหรือผลการสอบสวน
|
||||
CreatedAt = x.CreatedAt,//วันที่สร้างเรื่องสอบสวน
|
||||
DisciplinaryDateStart = x.DisciplinaryDateStart,//
|
||||
DisciplinaryDateEnd = x.DisciplinaryDateEnd,//
|
||||
})
|
||||
.OrderByDescending(x => x.CreatedAt)
|
||||
.OrderByDescending(x => x.DisciplinaryDateStart)
|
||||
.Skip((page - 1) * pageSize)
|
||||
.Take(pageSize)
|
||||
.ToList();
|
||||
|
|
@ -632,7 +634,7 @@ namespace BMA.EHR.DisciplineDisciplinary.Service.Controllers
|
|||
Name = sumExtend > 0 ? "ขยายครั้งที่" + sumExtend : "วันที่สอบสวน",
|
||||
Num = sumExtend,
|
||||
DaysExtend = data.DisciplinaryDaysExtend,
|
||||
DateStart = sumExtend > 0 ? data.DisciplinaryDateEnd.Value.AddDays(data.DisciplinaryDaysExtend == null ? 0 : -(double)data.DisciplinaryDaysExtend) : data.DisciplinaryDateStart,
|
||||
DateStart = sumExtend > 0 && data.DisciplinaryDateEnd != null ? data.DisciplinaryDateEnd.Value.AddDays(data.DisciplinaryDaysExtend == null ? 0 : -(double)data.DisciplinaryDaysExtend + 1) : data.DisciplinaryDateStart,
|
||||
DateEnd = data.DisciplinaryDateEnd,
|
||||
CreatedFullName = FullName ?? "System Administrator",
|
||||
CreatedUserId = UserId ?? "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue