LuoTong
2024-04-23 f0dcdcea46ed4981e33f662a7944ef68c02bad30
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComStreetServiceImpl.java
@@ -10,12 +10,14 @@
import javax.annotation.Resource;
import cn.hutool.core.collection.CollectionUtil;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.panzhihua.common.model.dtos.community.building.BuildingDto;
import com.panzhihua.common.model.dtos.community.large.AreaStreetDetail;
import com.panzhihua.common.model.dtos.community.large.AreaStreetDetailResp;
import com.panzhihua.common.model.dtos.community.large.SumAreaStreetResp;
import com.panzhihua.common.model.dtos.partybuilding.QryReportResp;
import com.panzhihua.common.model.vos.StreetVO;
import com.panzhihua.common.model.vos.area.StreetAndBuildVO;
import com.panzhihua.common.model.vos.community.bigscreen.ScreenStatics;
@@ -396,12 +398,21 @@
        List<Long> ids = doList.stream().map(ComActDO::getCommunityId).collect(Collectors.toList());
        AreaStreetDetail result = new AreaStreetDetail();
        if(CollectionUtil.isNotEmpty(ids)){
        //查询 街道相关信息
        AreaStreetDetailResp village = comActDAO.selectVillage(ids,type);
        result.setAreaStreetDetailResp(village);
        //查询 人口相关数据
        EventPopulationSpecialStatisticsVO eventResult = comActDAO.selectEvent(ids);
        result.setEventPopulationVO(eventResult);
        }
        return result;
    }
    @Override
    public List<QryReportResp> qryReport(String yearTime) {
        List<QryReportResp> result = comActDAO.qryReport(yearTime);
        return result;
    }
}