sort salary

This commit is contained in:
kittapath 2025-03-18 14:05:30 +07:00
parent 9b4db9a66f
commit b2cd6192c5

View file

@ -267,8 +267,8 @@ export class ProfileSalaryController extends Controller {
}, },
{ profileId: profile.id, commandCode: IsNull() }, { profileId: profile.id, commandCode: IsNull() },
], ],
// order: { order: "ASC" }, order: { order: "ASC" },
order: { commandDateAffect: "ASC" }, // order: { commandDateAffect: "ASC" },
}); });
return new HttpSuccess(record); return new HttpSuccess(record);
} }
@ -313,8 +313,8 @@ export class ProfileSalaryController extends Controller {
}, },
{ profileId: profileId, commandCode: IsNull() }, { profileId: profileId, commandCode: IsNull() },
], ],
// order: { order: "ASC" }, order: { order: "ASC" },
order: { commandDateAffect: "ASC" }, // order: { commandDateAffect: "ASC" },
}); });
return new HttpSuccess(record); return new HttpSuccess(record);
} }