กรองสถานะขอลาออกฝั่ง user #1586
All checks were successful
Build & Deploy Retirement Service / build (push) Successful in 1m52s

This commit is contained in:
harid 2026-05-29 14:56:16 +07:00
parent 513956c861
commit ad70043264
2 changed files with 2 additions and 2 deletions

View file

@ -89,7 +89,7 @@ namespace BMA.EHR.Retirement.Service.Controllers
return Error("ไม่พบหน่วยงานของผู้ใช้งานคนนี้", 404);
var retirementResignEmployees = await _context.RetirementResignEmployees.AsQueryable()
.Where(x => x.profileId == org.result.profileId)
.Where(x => x.Status != "DELETE" && x.profileId == org.result.profileId)
.OrderByDescending(x => x.CreatedAt)
.Select(p => new
{