order isReserve

This commit is contained in:
Bright 2024-03-07 17:27:51 +07:00
parent 8d492370b6
commit f008f5d891

View file

@ -650,6 +650,7 @@ export class SalaryPeriodController extends Controller {
}),
)
.orderBy("profile.citizenId", "ASC")
.addOrderBy("profile.isReserve", "ASC")
.skip((body.page - 1) * body.pageSize)
.take(body.pageSize)
.getManyAndCount();