This commit is contained in:
AdisakKanthawilang 2025-09-17 17:58:44 +07:00
parent 6a43edef46
commit aa2831307b
2 changed files with 109 additions and 16 deletions

View file

@ -2355,6 +2355,7 @@ export class PositionController extends Controller {
.addOrderBy("orgChild3.orgChild3Order", "ASC")
.addOrderBy("orgChild4.orgChild4Order", "ASC")
.addOrderBy("posMaster.posMasterOrder", "ASC")
.addOrderBy("posMaster.createdAt", "ASC")
.skip((body.page - 1) * body.pageSize)
.take(body.pageSize)
.getManyAndCount();