Merge branch 'develop' into working
This commit is contained in:
commit
84c725977f
1 changed files with 1 additions and 1 deletions
|
|
@ -57,6 +57,7 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
|||
{
|
||||
var data_search = (from x in _context.DisciplineDisciplinarys
|
||||
where x.Title.Contains(keyword)
|
||||
where x.Status.Contains("DONE") || x.Status.Contains("REPORT")
|
||||
// x.DisciplinaryFaultLevel == null ? false : x.DisciplinaryFaultLevel.Contains(keyword) ||
|
||||
// x.DisciplinaryCaseFault == null ? false : x.DisciplinaryCaseFault.Contains(keyword) ||
|
||||
select x).ToList();
|
||||
|
|
@ -72,7 +73,6 @@ namespace BMA.EHR.DisciplineResult.Service.Controllers
|
|||
Status = x.Status,//สถานะหรือผลการสอบสวน
|
||||
CreatedAt = x.CreatedAt,//วันที่สร้างเรื่องสอบสวน
|
||||
})
|
||||
.Where(x => x.Status == "DONE" || x.Status == "REPORT")
|
||||
.OrderByDescending(x => x.CreatedAt)
|
||||
.Skip((page - 1) * pageSize)
|
||||
.Take(pageSize)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue