@ -15,6 +15,7 @@ import com.epmet.commons.tools.page.PageData;
import com.epmet.commons.tools.redis.common.CustomerOrgRedis ;
import com.epmet.commons.tools.redis.common.CustomerStaffRedis ;
import com.epmet.commons.tools.redis.common.bean.AgencyInfoCache ;
import com.epmet.commons.tools.redis.common.bean.GridInfoCache ;
import com.epmet.commons.tools.security.dto.TokenDto ;
import com.epmet.commons.tools.utils.ConvertUtils ;
import com.epmet.commons.tools.utils.ExcelPoiUtils ;
@ -170,6 +171,15 @@ public class IcEpidemicSpecialAttentionServiceImpl extends BaseServiceImpl<IcEpi
result . setList ( list ) ;
result . setTotal ( list . size ( ) ) ;
}
if ( CollectionUtils . isNotEmpty ( result . getList ( ) ) ) {
result . getList ( ) . forEach ( r - > {
GridInfoCache gridInfo = CustomerOrgRedis . getGridInfo ( r . getGridId ( ) ) ;
if ( null = = gridInfo ) {
throw new EpmetException ( "查询网格失败:" + r . getGridId ( ) ) ;
}
r . setGridName ( gridInfo . getGridNamePath ( ) ) ;
} ) ;
}
}
if ( CollectionUtils . isNotEmpty ( result . getList ( ) ) ) {
result . getList ( ) . forEach ( v - > {