|
@@ -473,7 +473,7 @@ export class MatchExtController implements BaseController {
|
|
|
}
|
|
|
|
|
|
@Get('/step5/list/:match_id', { routerName: '决赛阶段-组织决赛-决赛人员名单' })
|
|
|
- async step5NameList(@Param('match_id') match_id: string) {
|
|
|
+ async step5NameList(@Param('match_id') match_id: string, @Query() query: object) {
|
|
|
/**
|
|
|
* 检查内容:
|
|
|
* 赛事拓展表:
|
|
@@ -485,7 +485,8 @@ export class MatchExtController implements BaseController {
|
|
|
*/
|
|
|
await this.service.checkMatchExtStatus(match_id, '5');
|
|
|
// 决赛名单,根据顺序升序
|
|
|
- const { data: list } = await this.matchRegService.query({ match_id, ext_status: '5' }, { order: { final_order_no: 'ASC' } });
|
|
|
+ const final_confirm = get(query, 'final_confirm')
|
|
|
+ const { data: list } = await this.matchRegService.query({ match_id, ext_status: '5', final_confirm }, { order: { final_order_no: 'ASC' } });
|
|
|
return list;
|
|
|
}
|
|
|
|