|
|
@ -14,36 +14,31 @@ import com.epmet.commons.tools.redis.common.bean.AgencyInfoCache; |
|
|
|
import com.epmet.commons.tools.redis.common.bean.BuildingInfoCache; |
|
|
|
import com.epmet.commons.tools.utils.EpmetRequestHolder; |
|
|
|
import com.epmet.dataaggre.constant.OrgConstant; |
|
|
|
import com.epmet.dataaggre.dto.coverage.AnalysisGovernedTargetsResult; |
|
|
|
import com.epmet.dataaggre.constant.OrgConstant; |
|
|
|
import com.epmet.dataaggre.constant.TableConstant; |
|
|
|
import com.epmet.dataaggre.dto.coverage.AnalysisGovernedTargetsResult; |
|
|
|
import com.epmet.dataaggre.dto.coverage.AnalysisResourceCategoriesResult; |
|
|
|
import com.epmet.dataaggre.dto.epmetuser.result.IcResiInfoResultDTO; |
|
|
|
import com.epmet.dataaggre.dto.govorg.form.CoverageAnalisisDataListLeftFormDTO; |
|
|
|
import com.epmet.dataaggre.dto.govorg.form.CoverageHomeSearchFormDTO; |
|
|
|
import com.epmet.dataaggre.dto.govorg.result.CoverageAnalisisDataListResultDTO; |
|
|
|
import com.epmet.dataaggre.dto.govorg.result.CoverageAnalisisDataListResultDTOV2; |
|
|
|
import com.epmet.dataaggre.dto.govorg.result.CoverageHomeSearchResultDTO; |
|
|
|
import com.epmet.dataaggre.dto.govorg.result.IcEnterisePatrolResultDTO; |
|
|
|
import com.epmet.dataaggre.dto.govorg.result.*; |
|
|
|
import com.epmet.dataaggre.entity.epmetuser.IcResiUserEntity; |
|
|
|
import com.epmet.dataaggre.entity.govorg.*; |
|
|
|
import com.epmet.dataaggre.entity.govproject.IcEventEntity; |
|
|
|
import com.epmet.dataaggre.entity.heart.IcCommunitySelfOrganizationEntity; |
|
|
|
import com.epmet.dataaggre.entity.heart.IcPartyUnitEntity; |
|
|
|
import com.epmet.dataaggre.entity.opercustomize.IcResiCategoryWarnConfigEntity; |
|
|
|
import com.epmet.dataaggre.enums.MenusEnums; |
|
|
|
import com.epmet.dataaggre.redis.GovCustomerMenuRedis; |
|
|
|
import com.epmet.dataaggre.entity.opercustomize.IcResiCategoryWarnConfigEntity; |
|
|
|
import com.epmet.dataaggre.service.CoverageService; |
|
|
|
import com.epmet.dataaggre.service.epmetuser.IcResiService; |
|
|
|
import com.epmet.dataaggre.service.govorg.GovOrgCoverageService; |
|
|
|
import com.epmet.dataaggre.service.govorg.GovOrgService; |
|
|
|
import com.epmet.dataaggre.service.govproject.GovProjectService; |
|
|
|
import com.epmet.dataaggre.service.heart.HeartService; |
|
|
|
import com.epmet.dataaggre.service.opercustomize.IcResiCategoryWarnService; |
|
|
|
import com.epmet.dto.GovMenuDTO; |
|
|
|
import com.github.pagehelper.PageHelper; |
|
|
|
import com.github.pagehelper.PageInfo; |
|
|
|
import com.epmet.dataaggre.service.opercustomize.IcResiCategoryWarnService; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.apache.commons.collections4.CollectionUtils; |
|
|
|
import org.apache.commons.collections4.MapUtils; |
|
|
@ -507,7 +502,8 @@ public class CoverageServiceImpl implements CoverageService { |
|
|
|
String[] coordinates = getUserCoordinates(re.getId(), re.getBuildId(), rootAgency); |
|
|
|
|
|
|
|
return new CoverageAnalisisDataListResultDTO( |
|
|
|
re.getId(), categoryKey, isPage ? categoryDict.getCategoryName() : null, placeType, isPage ? re.getName() : null, |
|
|
|
re.getId(), categoryKey, isPage ? categoryDict.getCategoryName() : null, placeType, |
|
|
|
re.getName().concat(StrConstant.BRACKET_LEFT).concat(re.getIdCard()).concat(StrConstant.BRACKET_RIGNT), |
|
|
|
coordinates[1], coordinates[0]); |
|
|
|
|
|
|
|
}).collect(Collectors.toList()); |
|
|
@ -521,7 +517,8 @@ public class CoverageServiceImpl implements CoverageService { |
|
|
|
|
|
|
|
return new CoverageAnalisisDataListResultDTO( |
|
|
|
re.getId(), categoryKey, isPage ? categoryDict.getCategoryName() : null, placeType, |
|
|
|
isPage ? re.getName() : null, coordinates[1], coordinates[0]); |
|
|
|
re.getName().concat(StrConstant.BRACKET_LEFT).concat(re.getIdNum()).concat(StrConstant.BRACKET_RIGNT), |
|
|
|
coordinates[1], coordinates[0]); |
|
|
|
|
|
|
|
}).collect(Collectors.toList()); |
|
|
|
} else if (CoveragePlaceTypeEnum.EVENT.getCode().equals(placeType)) { |
|
|
|