fix(性能测试): 删除测试报告时删除相关的jtl

This commit is contained in:
Captain.B 2020-11-27 16:28:49 +08:00
parent c0329ce42a
commit b9052ca787
1 changed files with 3 additions and 0 deletions

View File

@ -105,6 +105,9 @@ public class ReportService {
example.createCriteria().andReportIdEqualTo(reportId);
loadTestReportDetailMapper.deleteByExample(example);
// delete jtl file
fileService.deleteFileById(loadTestReport.getFileId());
loadTestReportMapper.deleteByPrimaryKey(reportId);
}