From b2cd6192c5ca30e18de1f5af8b26222cad4a9b58 Mon Sep 17 00:00:00 2001 From: kittapath Date: Tue, 18 Mar 2025 14:05:30 +0700 Subject: [PATCH] sort salary --- src/controllers/ProfileSalaryController.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/controllers/ProfileSalaryController.ts b/src/controllers/ProfileSalaryController.ts index 7a4e130e..c89d7a7f 100644 --- a/src/controllers/ProfileSalaryController.ts +++ b/src/controllers/ProfileSalaryController.ts @@ -267,8 +267,8 @@ export class ProfileSalaryController extends Controller { }, { profileId: profile.id, commandCode: IsNull() }, ], - // order: { order: "ASC" }, - order: { commandDateAffect: "ASC" }, + order: { order: "ASC" }, + // order: { commandDateAffect: "ASC" }, }); return new HttpSuccess(record); } @@ -313,8 +313,8 @@ export class ProfileSalaryController extends Controller { }, { profileId: profileId, commandCode: IsNull() }, ], - // order: { order: "ASC" }, - order: { commandDateAffect: "ASC" }, + order: { order: "ASC" }, + // order: { commandDateAffect: "ASC" }, }); return new HttpSuccess(record); }