แก้ไขบัค employeeSalary

This commit is contained in:
AnandaTon 2024-05-17 09:42:49 +07:00
parent 067231d291
commit 6f74d3ddcc
3 changed files with 5 additions and 8 deletions

View file

@ -67,7 +67,7 @@ export class ProfileSalaryEmployeeController extends Controller {
}
const dest_item = await this.salaryRepo.findOne({
where: { profileId: body.profileEmployeeId },
where: { profileEmployeeId: body.profileEmployeeId },
order: { order: "DESC" },
});