กรอง isDeleted
All checks were successful
Build & Deploy on Dev / build (push) Successful in 50s

This commit is contained in:
harid 2026-02-04 16:32:25 +07:00
parent 22639e72c6
commit 55085ab8d8
10 changed files with 16 additions and 15 deletions

View file

@ -1501,7 +1501,7 @@ export class ProfileEmployeeController extends Controller {
const actposition_raw = await this.profileActpositionRepo.find({
select: ["dateStart", "dateEnd", "position"],
where: { profileEmployeeId: id },
where: { profileEmployeeId: id, isDeleted: false },
order: { createdAt: "ASC" },
});
const assistance_raw = await this.profileAssistanceRepository.find({