fix(测试跟踪): 导入excel格式用例操作日志记录
--bug=1010204 --user=李玉号 【测试跟踪】-【功能用例】-更多操作-导入excel格式用例操作-操作日志未更新该操作记录 https://www.tapd.cn/55049933/s/1120043
This commit is contained in:
parent
bfca3fd71e
commit
3d5ef126ef
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue