fix(性能测试): 删除测试报告时删除相关的jtl
This commit is contained in:
parent
c0329ce42a
commit
b9052ca787
|
@ -105,6 +105,9 @@ public class ReportService {
|
||||||
example.createCriteria().andReportIdEqualTo(reportId);
|
example.createCriteria().andReportIdEqualTo(reportId);
|
||||||
loadTestReportDetailMapper.deleteByExample(example);
|
loadTestReportDetailMapper.deleteByExample(example);
|
||||||
|
|
||||||
|
// delete jtl file
|
||||||
|
fileService.deleteFileById(loadTestReport.getFileId());
|
||||||
|
|
||||||
loadTestReportMapper.deleteByPrimaryKey(reportId);
|
loadTestReportMapper.deleteByPrimaryKey(reportId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue