update limite to offset

This commit is contained in:
2024-11-28 13:05:08 +07:00
parent 506f06370c
commit 09dcea8d99
4 changed files with 4 additions and 4 deletions

View File

@ -82,7 +82,7 @@ export class UserRoleController {
const res_list = repo.createQueryBuilder()
.where(whereAttr, whereVal)
.orderBy(param.order_field, param.order_direction)
.skip(offset)
.offset(offset)
.limit(param.limit);
if (param.with_deleted) {