diff --git a/src/controllers/SalaryPeriodController.ts b/src/controllers/SalaryPeriodController.ts index a4edf1a..2d790c2 100644 --- a/src/controllers/SalaryPeriodController.ts +++ b/src/controllers/SalaryPeriodController.ts @@ -785,6 +785,7 @@ export class SalaryPeriodController extends Controller { }), ) .orderBy("profile.citizenId", "ASC") + .addOrderBy("profile.isReserve", "ASC") .skip((body.page - 1) * body.pageSize) .take(body.pageSize) .getManyAndCount();