fix: 修复模糊查询无效的bug

This commit is contained in:
xiaojunnuo
2024-08-06 10:12:02 +08:00
parent 1b0ae8654f
commit 93559174c7
3 changed files with 7 additions and 9 deletions
@@ -46,7 +46,8 @@ export class PipelineController extends CrudController<PipelineService> {
body.sort = { prop: 'order', asc: false };
}
return super.page({ ...body, buildQuery });
const pageRet = await this.getService().page(body?.query, body?.page, body?.sort, buildQuery);
return this.ok(pageRet);
}
@Post('/add', { summary: Constants.per.authOnly })