refactor: 代码格式化
This commit is contained in:
parent
4f690198e1
commit
f16ac488bf
|
@ -308,7 +308,7 @@ public class ApiModuleService extends NodeTreeService<ApiModuleDTO> {
|
||||||
criteria.andProtocolEqualTo(node.getProtocol());
|
criteria.andProtocolEqualTo(node.getProtocol());
|
||||||
}
|
}
|
||||||
//同一个模块下不能有相同名字的子模块
|
//同一个模块下不能有相同名字的子模块
|
||||||
if(StringUtils.isNotBlank(node.getParentId())){
|
if (StringUtils.isNotBlank(node.getParentId())) {
|
||||||
criteria.andParentIdEqualTo(node.getParentId());
|
criteria.andParentIdEqualTo(node.getParentId());
|
||||||
}
|
}
|
||||||
return apiModuleMapper.selectByExample(example);
|
return apiModuleMapper.selectByExample(example);
|
||||||
|
|
Loading…
Reference in New Issue