fix(接口导入): 修复非HTTP接口导入选择覆盖时未覆盖mock期望的bug

修复非HTTP接口导入选择覆盖时未覆盖mock期望的bug
This commit is contained in:
song-tianyang 2022-01-19 14:09:01 +08:00 committed by xiaomeinvG
parent 7d0df7508d
commit 6c1e7c57ca
1 changed files with 1 additions and 0 deletions

View File

@ -708,6 +708,7 @@ public class ApiDefinitionService {
}
apiDefinition.setOrder(sameRequest.get(0).getOrder());
reSetImportCasesApiId(cases, originId, apiDefinition.getId());
reSetImportMocksApiId(mocks, originId, apiDefinition.getId(), apiDefinition.getNum());
apiDefinitionMapper.updateByPrimaryKeyWithBLOBs(apiDefinition);
}