fix(接口测试): 修复dubbo测试报告一直不能完成的bug

This commit is contained in:
q4speed 2020-12-17 16:27:21 +08:00
parent 556ddddd84
commit 4c1f6bb985
1 changed files with 6 additions and 4 deletions

View File

@ -25,6 +25,7 @@ import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.nio.charset.StandardCharsets;
import java.text.SimpleDateFormat;
import java.time.Instant;
@ -149,8 +150,9 @@ public class APIReportService {
} catch (Exception e) {
LogUtil.error(e);
}
if (listApiDataView.size() > 0) {
apiDataViewMapper.insertListApiData(listApiDataView);
}
}
public String create(ApiTest test, String triggerMode) {