|
@@ -189,7 +189,9 @@ public class AppUserAgentServiceImpl extends ServiceImpl<AppUserAgentMapper, App
|
|
|
|
|
|
@Override
|
|
|
public List<AppAgentTeamVo> teamList(AppAgentTeamDto teamDto) {
|
|
|
- teamDto.setPid(SecurityUtils.getUserId());
|
|
|
+ if(null == teamDto.getPid()) {
|
|
|
+ teamDto.setPid(SecurityUtils.getUserId());
|
|
|
+ }
|
|
|
List<AppAgentTeamVo> list = appUserAgentMapper.teamList(teamDto);
|
|
|
if(null != list && list.size() > 0){
|
|
|
List<Long> ids = list.stream().map(e->{return e.getUserId();}).collect(Collectors.toList());
|