diff --git a/src/controllers/ProfileSalaryController.ts b/src/controllers/ProfileSalaryController.ts index c5da339f..e352dbe1 100644 --- a/src/controllers/ProfileSalaryController.ts +++ b/src/controllers/ProfileSalaryController.ts @@ -20,7 +20,7 @@ import { ProfileSalaryHistory } from "../entities/ProfileSalaryHistory"; import { RequestWithUser } from "../middlewares/user"; import { Profile } from "../entities/Profile"; import { ProfileEmployee } from "../entities/ProfileEmployee"; -import { In, LessThan, MoreThan } from "typeorm"; +import { In, IsNull, LessThan, MoreThan } from "typeorm"; import permission from "../interfaces/permission"; import { setLogDataDiff } from "../interfaces/utils"; import { TenurePositionOfficer } from "../entities/TenurePositionOfficer"; @@ -254,7 +254,7 @@ export class ProfileSalaryController extends Controller { "14", "15", "16", - null, + IsNull(), ]), }, // order: { order: "ASC" }, @@ -298,7 +298,7 @@ export class ProfileSalaryController extends Controller { "14", "15", "16", - null, + IsNull(), ]), }, // order: { order: "ASC" },