fix(接口自动化): SQL历史数据升级数据源处理
This commit is contained in:
parent
24b172af9f
commit
bc5f317f15
|
@ -178,7 +178,9 @@ public class HistoricalDataUpgradeService {
|
|||
((MsJDBCSampler) element).setDataSourceId(dto.getDatabaseConfig().getId());
|
||||
((MsJDBCSampler) element).setDataSource(dto.getDatabaseConfig());
|
||||
}
|
||||
if (CollectionUtils.isEmpty(request1.getVariables())) {
|
||||
((MsJDBCSampler) element).setVariables(new ArrayList<>());
|
||||
}
|
||||
element.setType("JDBCSampler");
|
||||
}
|
||||
if (request instanceof TCPRequest) {
|
||||
|
|
Loading…
Reference in New Issue