|
@@ -148,7 +148,7 @@ public class SharePathServiceImpl implements SharePathService {
|
|
|
List<SharePathDO> sharePathDO = sharePathMapper.selectList(new LambdaQueryWrapperX<SharePathDO>()
|
|
|
.eqIfPresent(SharePathDO::getDescendant, descendant)
|
|
|
.eqIfPresent(SharePathDO::getDepth, 1));
|
|
|
- return sharePathDO != null;
|
|
|
+ return !sharePathDO.isEmpty();
|
|
|
}
|
|
|
|
|
|
@Override
|