sort ข้อมูลหลัก

This commit is contained in:
Bright 2024-11-27 10:20:40 +07:00
parent 94f92b5c9a
commit 2df1e19dc3
13 changed files with 171 additions and 57 deletions

View file

@ -162,12 +162,11 @@ export class EducationLevelController extends Controller {
"createdFullName",
"lastUpdateFullName",
],
order: { rank: "ASC" },
order: {
rank: "ASC",
createdAt: "DESC"
},
});
// if (!educationLevel) {
// return new HttpSuccess([]);
// }
return new HttpSuccess(educationLevel);
}
}