|
|
@ -134,6 +134,8 @@ public class IcPlaceOrgServiceImpl extends BaseServiceImpl<IcPlaceOrgDao, IcPlac |
|
|
|
@Override |
|
|
|
public GetListPlaceOrgResultDTO getList(GetListPlaceOrgFormDTO formDTO) { |
|
|
|
GetListPlaceOrgResultDTO resultDTO = new GetListPlaceOrgResultDTO(); |
|
|
|
CustomerStaffInfoCacheResult staffInfoCache = CustomerStaffRedis.getStaffInfo(formDTO.getCustomerId(), formDTO.getStaffId()); |
|
|
|
formDTO.setPids(staffInfoCache.getAgencyPIds()); |
|
|
|
//1.根据查询条件分页查询场所数据
|
|
|
|
PageInfo<PlaceOrgDetailResultDTO> result = |
|
|
|
PageHelper.startPage(formDTO.getPageNo(), formDTO.getPageSize(), formDTO.getIsPage()).doSelectPageInfo(() -> baseDao.getList(formDTO)); |
|
|
|