แก้ไขบัคปรับ salary
This commit is contained in:
parent
3e62126570
commit
701ab5af6e
4 changed files with 4 additions and 32 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue