|
@@ -2085,6 +2085,11 @@ public class SysPartnerServiceImpl extends ServiceImpl<SysPartnerMapper, SysPart
|
|
|
.eq(SysRelationPerson::getDelFlag, 1)
|
|
.eq(SysRelationPerson::getDelFlag, 1)
|
|
|
.eq(SysRelationPerson::getType, 0));
|
|
.eq(SysRelationPerson::getType, 0));
|
|
|
levelPartnerVo.setDeptManNum(sysRelationPersonList.size());
|
|
levelPartnerVo.setDeptManNum(sysRelationPersonList.size());
|
|
|
|
|
+ if (CollectionUtil.isNotEmpty(sysRelationPersonList)) {
|
|
|
|
|
+ List<String> strings = sysRelationPersonList.stream().map(SysRelationPerson::getAgencyLeaderId).collect(Collectors.toList());
|
|
|
|
|
+ levelPartnerVo.setPartnerIds(strings);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
// if (CollectionUtil.isNotEmpty(sysRelationPersonList)) {
|
|
// if (CollectionUtil.isNotEmpty(sysRelationPersonList)) {
|
|
|
// List<String> collects = sysRelationPersonList.stream().map(SysRelationPerson::getAgencyLeaderId).collect(Collectors.toList());
|
|
// List<String> collects = sysRelationPersonList.stream().map(SysRelationPerson::getAgencyLeaderId).collect(Collectors.toList());
|
|
|
// //查工作室下的团队
|
|
// //查工作室下的团队
|
|
@@ -2300,7 +2305,7 @@ public class SysPartnerServiceImpl extends ServiceImpl<SysPartnerMapper, SysPart
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
- public PartnerInfoFreeVo getLevelPartnerInfo(String userId) {
|
|
|
|
|
|
|
+ public PartnerInfoFreeVo getLevelPartnerInfo(List<String> partnerIds) {
|
|
|
PartnerInfoFreeVo partnerInfoFreeVo = new PartnerInfoFreeVo();
|
|
PartnerInfoFreeVo partnerInfoFreeVo = new PartnerInfoFreeVo();
|
|
|
List<PartnerInfoVo> partnerInfoVoList = new ArrayList<>();
|
|
List<PartnerInfoVo> partnerInfoVoList = new ArrayList<>();
|
|
|
|
|
|