fix(接口导入): 修复非HTTP接口导入选择覆盖时未覆盖mock期望的bug
修复非HTTP接口导入选择覆盖时未覆盖mock期望的bug
This commit is contained in:
parent
7d0df7508d
commit
6c1e7c57ca
|
@ -708,6 +708,7 @@ public class ApiDefinitionService {
|
||||||
}
|
}
|
||||||
apiDefinition.setOrder(sameRequest.get(0).getOrder());
|
apiDefinition.setOrder(sameRequest.get(0).getOrder());
|
||||||
reSetImportCasesApiId(cases, originId, apiDefinition.getId());
|
reSetImportCasesApiId(cases, originId, apiDefinition.getId());
|
||||||
|
reSetImportMocksApiId(mocks, originId, apiDefinition.getId(), apiDefinition.getNum());
|
||||||
apiDefinitionMapper.updateByPrimaryKeyWithBLOBs(apiDefinition);
|
apiDefinitionMapper.updateByPrimaryKeyWithBLOBs(apiDefinition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue