This commit is contained in:
Captain.B 2020-04-26 16:17:26 +08:00
parent e0a47493ab
commit 9d69bf054f
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ public class ReportService {
LoadTestReportResultExample example = new LoadTestReportResultExample();
example.createCriteria().andReportIdEqualTo(id).andReportKeyEqualTo(reportKey.name());
List<LoadTestReportResult> loadTestReportResults = loadTestReportResultMapper.selectByExampleWithBLOBs(example);
if (loadTestReportResults.size() != 1) {
if (loadTestReportResults.size() == 0) {
MSException.throwException("get report result error.");
}
return loadTestReportResults.get(0).getReportValue();