refactor(性能测试): 性能测试重构
This commit is contained in:
parent
d0ffcdc053
commit
35ac66b928
|
@ -59,6 +59,8 @@ public class PerformanceReportService {
|
|||
@Resource
|
||||
private LoadTestReportResultMapper loadTestReportResultMapper;
|
||||
@Resource
|
||||
private LoadTestReportResultPartMapper loadTestReportResultPartMapper;
|
||||
@Resource
|
||||
private LoadTestReportLogMapper loadTestReportLogMapper;
|
||||
@Resource
|
||||
private TestResourceService testResourceService;
|
||||
|
@ -123,6 +125,11 @@ public class PerformanceReportService {
|
|||
loadTestReportResultExample.createCriteria().andReportIdEqualTo(reportId);
|
||||
loadTestReportResultMapper.deleteByExample(loadTestReportResultExample);
|
||||
|
||||
// delete load_test_report_result
|
||||
LoadTestReportResultPartExample loadTestReportResultPartExample = new LoadTestReportResultPartExample();
|
||||
loadTestReportResultPartExample.createCriteria().andReportIdEqualTo(reportId);
|
||||
loadTestReportResultPartMapper.deleteByExample(loadTestReportResultPartExample);
|
||||
|
||||
// delete load_test_report_detail
|
||||
LoadTestReportDetailExample example = new LoadTestReportDetailExample();
|
||||
example.createCriteria().andReportIdEqualTo(reportId);
|
||||
|
|
Loading…
Reference in New Issue