fix(接口测试): 修复接口定义回收站恢复数据报错的缺陷 (#15544)
--bug=1014656 --user=王孝刚 【接口测试】接口定义,回收站恢复接口,报错了 https://www.tapd.cn/55049933/s/1195815 Co-authored-by: wxg0103 <727495428@qq.com>
This commit is contained in:
parent
0d7fe4a902
commit
6ca32dbb4e
|
@ -465,6 +465,7 @@ public class ApiDefinitionService {
|
|||
apiDefinitionRequest.setPath(apiDefinition.getPath());
|
||||
apiDefinitionRequest.setName(apiDefinition.getName());
|
||||
apiDefinitionRequest.setId(apiDefinition.getId());
|
||||
apiDefinitionRequest.setModuleId(apiDefinition.getModuleId());
|
||||
apiDefinitionRequest.setVersionId(extProjectVersionMapper.getDefaultVersion(request.getProjectId()));
|
||||
checkNameExist(apiDefinitionRequest);
|
||||
|
||||
|
|
Loading…
Reference in New Issue