feat(v2.4): 切换需求池领域主写
This commit is contained in:
@@ -20,8 +20,26 @@ export class RequirementController {
|
||||
findAll(
|
||||
@Param('productId') productId: string,
|
||||
@Query('status') status?: string,
|
||||
@Query('projectId') projectId?: string,
|
||||
@Query('versionId') versionId?: string,
|
||||
@Query('priority') priority?: string,
|
||||
@Query('type') type?: string,
|
||||
@Query('q') q?: string,
|
||||
@Query('sort') sort?: string,
|
||||
@Query('cursor') cursor?: string,
|
||||
@Query('limit') limit?: string,
|
||||
) {
|
||||
return this.requirementService.findAll(productId, status);
|
||||
return this.requirementService.findAll(productId, {
|
||||
projectId,
|
||||
versionId,
|
||||
status,
|
||||
priority,
|
||||
type,
|
||||
q,
|
||||
sort,
|
||||
cursor,
|
||||
limit,
|
||||
});
|
||||
}
|
||||
|
||||
@Get(':id')
|
||||
|
||||
Reference in New Issue
Block a user