เช็ควันที่ยกเลิกขอลาออก
This commit is contained in:
parent
35c9d32f8b
commit
36541f075a
1 changed files with 1 additions and 1 deletions
|
|
@ -2751,7 +2751,7 @@ namespace BMA.EHR.Application.Repositories.Commands
|
||||||
// 2. Query
|
// 2. Query
|
||||||
var appointPeople = await _dbContext.Set<RetirementResign>()
|
var appointPeople = await _dbContext.Set<RetirementResign>()
|
||||||
.Where(x => !otherCommandReceivers.Contains(x.citizenId))
|
.Where(x => !otherCommandReceivers.Contains(x.citizenId))
|
||||||
.Where(x => x.Status.Trim().ToUpper() == "DONE" || x.Status.Trim().ToUpper() == "DONECANCEL")
|
.Where(x => (x.Status.Trim().ToUpper() == "DONE" && x.ActiveDate > DateTime.Now.AddDays(1)) || x.Status.Trim().ToUpper() == "DONECANCEL")
|
||||||
.OrderBy(x => x.citizenId)
|
.OrderBy(x => x.citizenId)
|
||||||
.ToListAsync();
|
.ToListAsync();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue