|
|
@ -50,6 +50,10 @@ public class DataSyncRecordDeathServiceImpl extends BaseServiceImpl<DataSyncReco |
|
|
|
formDTO.setAgencyId(null != staffInfoCacheResult ? staffInfoCacheResult.getAgencyId() : null); |
|
|
|
PageHelper.startPage(formDTO.getPageNo(), formDTO.getPageSize(),formDTO.getIsPage()); |
|
|
|
List<DataSyncRecordDeathDTO> records = baseDao.pageSelect(formDTO.getCustomerId(),formDTO.getIdCard(), formDTO.getName(), formDTO.getAgencyId()); |
|
|
|
records.forEach(r->{ |
|
|
|
GridInfoCache gridInfoCache = CustomerOrgRedis.getGridInfo(r.getGridId()); |
|
|
|
r.setGridName(null != gridInfoCache ? gridInfoCache.getGridNamePath() : StrConstant.EPMETY_STR); |
|
|
|
}); |
|
|
|
PageInfo<DataSyncRecordDeathDTO> pi = new PageInfo<>(records); |
|
|
|
return new PageData<>(records, pi.getTotal()); |
|
|
|
} |
|
|
|