diff --git a/src/controllers/SalaryRankEmployeeController.ts b/src/controllers/SalaryRankEmployeeController.ts index ca51580..1b0324e 100644 --- a/src/controllers/SalaryRankEmployeeController.ts +++ b/src/controllers/SalaryRankEmployeeController.ts @@ -158,8 +158,8 @@ export class SalaryRankEmployeeController extends Controller { ); }), ) - .orderBy("salaryRankEmployee.salary", "DESC") - .addOrderBy("salaryRankEmployee.salaryHalf", "DESC") + .orderBy("salaryRankEmployee.salaryMonth", "DESC") + .addOrderBy("salaryRankEmployee.salaryDay", "DESC") .skip((page - 1) * pageSize) .take(pageSize) .getManyAndCount();