tuning api (ตัด profileSalary เส้นที่ไม่ได้ใช้งาน)

This commit is contained in:
harid 2026-01-28 11:02:11 +07:00
parent 987f8ef81a
commit 43ae825ac0
3 changed files with 24 additions and 24 deletions

View file

@ -2071,13 +2071,13 @@ export class ProfileEmployeeTempController extends Controller {
"current_holders.orgChild2",
"current_holders.orgChild3",
"current_holders.orgChild4",
"profileSalary",
// "profileSalary",
],
order: {
profileSalary: {
order: "DESC",
},
},
// order: {
// profileSalary: {
// order: "DESC",
// },
// },
});
if (!profile) {
if (request.user.role.includes("SUPER_ADMIN")) {