|
@@ -481,7 +481,7 @@ public class SysPcAddressServiceImpl extends ServiceImpl<SysPcAddressMapper, Sys
|
|
|
@Override
|
|
@Override
|
|
|
public BasePageResult<SysPcAddressHistory> queryPcAddressHistoryInfo(PcAddressInfoDto addressInfoDto) {
|
|
public BasePageResult<SysPcAddressHistory> queryPcAddressHistoryInfo(PcAddressInfoDto addressInfoDto) {
|
|
|
Page page = new Page(addressInfoDto.getPageNum(), addressInfoDto.getPageSize());
|
|
Page page = new Page(addressInfoDto.getPageNum(), addressInfoDto.getPageSize());
|
|
|
- IPage<SysPcAddressHistory> sysPcAddressHistoryIPage = null;
|
|
|
|
|
|
|
+ IPage<SysPcAddressHistory> sysPcAddressHistoryIPage;
|
|
|
//登陆人的下属id
|
|
//登陆人的下属id
|
|
|
String userId = BaseController.getUserId();
|
|
String userId = BaseController.getUserId();
|
|
|
List<String> collectIds = new ArrayList<>();
|
|
List<String> collectIds = new ArrayList<>();
|
|
@@ -492,7 +492,7 @@ public class SysPcAddressServiceImpl extends ServiceImpl<SysPcAddressMapper, Sys
|
|
|
.eq(SysUser::getLeaderId, BaseController.getUserId()).ne(SysUser::getStatus, 0));
|
|
.eq(SysUser::getLeaderId, BaseController.getUserId()).ne(SysUser::getStatus, 0));
|
|
|
collectIds = sysUsers.stream().map(SysUser::getId).collect(Collectors.toList());
|
|
collectIds = sysUsers.stream().map(SysUser::getId).collect(Collectors.toList());
|
|
|
if (collectIds.size() == 0)
|
|
if (collectIds.size() == 0)
|
|
|
- return new BasePageResult<>(addressInfoDto.getPageNum(), addressInfoDto.getPageSize(), 0l, 0l, null);
|
|
|
|
|
|
|
+ return new BasePageResult<>(addressInfoDto.getPageNum(), addressInfoDto.getPageSize(), 0L, 0L, null);
|
|
|
List<String> idList = queryList(collectIds, ids);
|
|
List<String> idList = queryList(collectIds, ids);
|
|
|
collectIds.addAll(idList);
|
|
collectIds.addAll(idList);
|
|
|
}
|
|
}
|