refactor: 代码格式化

This commit is contained in:
zhangdahai112 2022-06-15 15:14:48 +08:00
parent 4f690198e1
commit f16ac488bf
1 changed files with 1 additions and 1 deletions

View File

@ -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);