เงินเดือนว่างได้

This commit is contained in:
Kittapath 2024-02-29 14:41:44 +07:00
parent 0888d3d8d8
commit 442be8bf38
2 changed files with 2 additions and 1 deletions

View file

@ -527,6 +527,7 @@ export class SalaryPeriodController extends Controller {
const salaryOrgAll = await this.salaryOrgRepository.find({
where: {
salaryPeriodId: salaryOrg.salaryPeriodId,
snapshot: salaryOrg.snapshot,
},
});
if (!salaryOrgAll) {