แก้ไขบัคปรับ salary

This commit is contained in:
AnandaTon 2024-05-16 11:36:17 +07:00
parent 3e62126570
commit 701ab5af6e
4 changed files with 4 additions and 32 deletions

View file

@ -40,7 +40,7 @@ export class ProfileLeaveEmployeeController extends Controller {
public async getLeave(@Path() profileId: string) {
const record = await this.leaveRepo.find({
relations: { leaveType: true },
where: { profileId },
where: { profileEmployeeId: profileId },
});
return new HttpSuccess(record);
}