|
@@ -136,7 +136,7 @@ public class SharePathServiceImpl implements SharePathService {
|
|
|
|
|
|
//获取团队数
|
|
|
LambdaQueryWrapperX<SharePathDO> wrapper = new LambdaQueryWrapperX<>();
|
|
|
- wrapper.eq(SharePathDO::getAncestor, userId).eq(SharePathDO::getDepth, 1);
|
|
|
+ wrapper.eq(SharePathDO::getAncestor, userId);
|
|
|
// +1 加自己
|
|
|
Long teamCount = sharePathMapper.selectCount(wrapper) + 1;
|
|
|
|