fix(测试计划): 快捷修改报告名称失败
--bug=1040982 --user=宋昌昌 【测试计划】报告列表-快捷修改报告名称失败 https://www.tapd.cn/55049933/s/1519105
This commit is contained in:
parent
ec46aedefc
commit
d855781507
|
@ -60,7 +60,7 @@ public class TestPlanReportController {
|
||||||
@PostMapping("/rename/{id}")
|
@PostMapping("/rename/{id}")
|
||||||
@Operation(summary = "测试计划-报告-重命名")
|
@Operation(summary = "测试计划-报告-重命名")
|
||||||
@RequiresPermissions(PermissionConstants.TEST_PLAN_REPORT_READ_UPDATE)
|
@RequiresPermissions(PermissionConstants.TEST_PLAN_REPORT_READ_UPDATE)
|
||||||
@CheckOwner(resourceId = "#request.getId()", resourceType = "test_plan_report")
|
@CheckOwner(resourceId = "#id", resourceType = "test_plan_report")
|
||||||
@Log(type = OperationLogType.UPDATE, expression = "#msClass.updateLog(#id)", msClass = TestPlanReportLogService.class)
|
@Log(type = OperationLogType.UPDATE, expression = "#msClass.updateLog(#id)", msClass = TestPlanReportLogService.class)
|
||||||
public void rename(@PathVariable String id, @RequestBody Object name) {
|
public void rename(@PathVariable String id, @RequestBody Object name) {
|
||||||
testPlanReportService.rename(id, name.toString());
|
testPlanReportService.rename(id, name.toString());
|
||||||
|
|
Loading…
Reference in New Issue