fix(UI 自动化): UI 报告删除,服务器存在报错日志问题修复

--bug=1014304 --user=周骏弘 【接口测试】&【UI测试】删除测试报告后端报异常 https://www.tapd.cn/55049933/s/1188915
This commit is contained in:
junhong 2022-06-23 10:10:37 +08:00 committed by John Bro
parent dbac38446e
commit 9f7c2eb458
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public class APIScenarioReportController {
@PostMapping("/delete")
@MsAuditLog(module = OperLogModule.API_AUTOMATION_REPORT, type = OperLogConstants.DELETE, beforeEvent = "#msClass.getLogDetails(#request.id)", msClass = ApiScenarioReportService.class)
@SendNotice(taskType = NoticeConstants.TaskType.API_REPORT_TASK, event = NoticeConstants.Event.DELETE, target = "#targetClass.get(#request.id)", targetClass = ApiScenarioReportService.class,
@SendNotice(taskType = NoticeConstants.TaskType.API_REPORT_TASK, event = NoticeConstants.Event.DELETE, target = "#targetClass.get(#request.id, false)", targetClass = ApiScenarioReportService.class,
subject = "接口报告通知")
public void delete(@RequestBody DeleteAPIReportRequest request) {
apiReportService.delete(request);