fix(接口测试): 修复开启url可重复,导入接口会重复添加新接口的缺陷
--bug=1025305 --user=王孝刚 【接口测试】github#23542,接口定义导入swagger文件,导入模式选择覆盖或者不覆盖都会新增接口 https://www.tapd.cn/55049933/s/1361359
This commit is contained in:
parent
a0115f2b2a
commit
f6ec5453f4
|
@ -404,7 +404,7 @@ public class ApiDefinitionImportUtilService {
|
|||
if (StringUtils.isBlank(request.getModuleId())) {
|
||||
request.setModuleId(null);
|
||||
}
|
||||
List<ApiDefinitionWithBLOBs> repeatApiDefinitionWithBLOBs = extApiDefinitionMapper.selectRepeatByBLOBsSameUrl(optionData, projectId, request.getModuleId());
|
||||
List<ApiDefinitionWithBLOBs> repeatApiDefinitionWithBLOBs = extApiDefinitionMapper.selectRepeatByBLOBsSameUrl(optionData, projectId, null);
|
||||
|
||||
//如果系统内,没有重复数据,要把文件重复的数据改成接口的case
|
||||
if (CollectionUtils.isEmpty(repeatApiDefinitionWithBLOBs)) {
|
||||
|
|
Loading…
Reference in New Issue