diff --git a/backend/services/test-plan/src/main/java/io/metersphere/plan/controller/TestPlanBugController.java b/backend/services/test-plan/src/main/java/io/metersphere/plan/controller/TestPlanBugController.java index 7ae9ecc851..9a30405870 100644 --- a/backend/services/test-plan/src/main/java/io/metersphere/plan/controller/TestPlanBugController.java +++ b/backend/services/test-plan/src/main/java/io/metersphere/plan/controller/TestPlanBugController.java @@ -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> page(@Validated @RequestBody TestPlanBugPageRequest request) { Page page = PageHelper.startPage(request.getCurrent(), request.getPageSize(), StringUtils.isNotBlank(request.getSortString()) ? request.getSortString() : "b.create_time desc");