|
@ -117,7 +117,9 @@ public class IcSocietyOrgServiceImpl extends BaseServiceImpl<IcSocietyOrgDao, Ic |
|
|
public GetListSocietyOrgResultDTO getList(GetListSocietyOrgFormDTO formDTO) { |
|
|
public GetListSocietyOrgResultDTO getList(GetListSocietyOrgFormDTO formDTO) { |
|
|
GetListSocietyOrgResultDTO resultDTO = new GetListSocietyOrgResultDTO(); |
|
|
GetListSocietyOrgResultDTO resultDTO = new GetListSocietyOrgResultDTO(); |
|
|
CustomerStaffInfoCacheResult staffInfoCache = CustomerStaffRedis.getStaffInfo(formDTO.getCustomerId(), formDTO.getStaffId()); |
|
|
CustomerStaffInfoCacheResult staffInfoCache = CustomerStaffRedis.getStaffInfo(formDTO.getCustomerId(), formDTO.getStaffId()); |
|
|
formDTO.setPids(staffInfoCache.getAgencyPIds()); |
|
|
//2022.1.7 应产品要求 当前组织只能看到自己组织添加的社会组织数据,不允许看其他下级的
|
|
|
|
|
|
//formDTO.setPids(staffInfoCache.getAgencyPIds());
|
|
|
|
|
|
formDTO.setAgencyId(staffInfoCache.getAgencyId()); |
|
|
//1.根据查询条件分页查询社会组织数据
|
|
|
//1.根据查询条件分页查询社会组织数据
|
|
|
PageInfo<SocietyOrgListResultDTO> result = |
|
|
PageInfo<SocietyOrgListResultDTO> result = |
|
|
PageHelper.startPage(formDTO.getPageNo(), formDTO.getPageSize(), formDTO.getIsPage()).doSelectPageInfo(() -> baseDao.getList(formDTO)); |
|
|
PageHelper.startPage(formDTO.getPageNo(), formDTO.getPageSize(), formDTO.getIsPage()).doSelectPageInfo(() -> baseDao.getList(formDTO)); |
|
|