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

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) {

View file

@ -322,7 +322,7 @@ export class CreateSalaryProfile {
posExecutive: string | null;
@Column()
amount: number;
amount: number | null;
@Column("uuid")
rootId: string | null;