Browse Source

修改用户查看团队的人员显示

Yangzw 6 months ago
parent
commit
1219e9d669

+ 1 - 1
feifan-module-distri/feifan-module-distri-biz/src/main/java/cn/newfeifan/mall/module/distri/service/sharepath/SharePathServiceImpl.java

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