fix(测试计划): 修复缺陷列表报错问题

--bug=1042562 --user=王旭 【测试计划】计划详情-功能用例关联了缺陷-点击缺陷列表报错-不展示关联缺陷 https://www.tapd.cn/55049933/s/1531609
This commit is contained in:
WangXu10 2024-06-19 13:34:30 +08:00 committed by 刘瑞斌
parent ce28d64da4
commit 78b0948669
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ public class TestPlanBugController {
@PostMapping("/page")
@Operation(summary = "缺陷列表-分页查询")
@RequiresPermissions(PermissionConstants.TEST_PLAN_READ)
@CheckOwner(resourceId = "#requst.getPlanId()", resourceType = "test_plan")
@CheckOwner(resourceId = "#request.getPlanId()", resourceType = "test_plan")
public Pager<List<TestPlanBugPageResponse>> page(@Validated @RequestBody TestPlanBugPageRequest request) {
Page<Object> page = PageHelper.startPage(request.getCurrent(), request.getPageSize(),
StringUtils.isNotBlank(request.getSortString()) ? request.getSortString() : "b.create_time desc");