fix(测试跟踪): 导入excel格式用例操作日志记录

--bug=1010204 --user=李玉号 【测试跟踪】-【功能用例】-更多操作-导入excel格式用例操作-操作日志未更新该操作记录
https://www.tapd.cn/55049933/s/1120043
This commit is contained in:
shiziyuan9527 2022-03-17 14:54:39 +08:00 committed by shiziyuan9527
parent bfca3fd71e
commit 3d5ef126ef
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ public class TestCaseController {
@PostMapping("/import") @PostMapping("/import")
@MsAuditLog(module = OperLogModule.TRACK_TEST_CASE, type = OperLogConstants.IMPORT, project = "#projectId") @MsAuditLog(module = OperLogModule.TRACK_TEST_CASE, type = OperLogConstants.IMPORT, project = "#request.projectId")
public ExcelResponse testCaseImport(@RequestPart("request") TestCaseImportRequest request, @RequestPart("file") MultipartFile file, HttpServletRequest httpRequest) { public ExcelResponse testCaseImport(@RequestPart("request") TestCaseImportRequest request, @RequestPart("file") MultipartFile file, HttpServletRequest httpRequest) {
checkPermissionService.checkProjectOwner(request.getProjectId()); checkPermissionService.checkProjectOwner(request.getProjectId());
return testCaseService.testCaseImport(file, request, httpRequest); return testCaseService.testCaseImport(file, request, httpRequest);