orderBy
This commit is contained in:
parent
67c54e3273
commit
c9c14f052b
8 changed files with 18 additions and 6 deletions
|
|
@ -199,6 +199,7 @@ export class PosExecutiveController extends Controller {
|
|||
async GetPosExecutive() {
|
||||
const posExecutive = await this.posExecutiveRepository.find({
|
||||
select: ["id", "posExecutiveName", "posExecutivePriority"],
|
||||
order: { posExecutivePriority: "ASC" },
|
||||
});
|
||||
// if (!posExecutive) {
|
||||
// return new HttpSuccess([]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue