liujie
2025-06-09 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/LargeScreenApi.java
@@ -1,6 +1,10 @@
package com.panzhihua.service_community.api;
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.R;
import com.panzhihua.common.model.vos.community.ComActDynVO;
import com.panzhihua.common.service.community.CommunityService;
@@ -8,8 +12,11 @@
import com.panzhihua.service_community.service.ComStreetService;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@Slf4j
@RestController
@@ -31,6 +38,11 @@
        return comStreetService.panzhihuaMap(areaCode);
    }
    /**
     * 根据 街道 查询 社区
     * @param streetId
     * @return
     */
    @GetMapping("/oneTagThreeReal")
    public R oneTagThreeReal(@RequestParam("streetId") Long streetId){
        return comStreetService.oneTagThreeReal(streetId);
@@ -78,5 +90,29 @@
        return comStreetService.probably(year, belongTo);
    }
    /**
     * 查询 一标三实 数据
     */
    @GetMapping("/sumAreaStreet")
    public R<SumAreaStreetResp> sumAreaStreet(){
        return R.ok(comStreetService.sumAreaStreet());
    }
    /**
     *  下拉 明细
     */
    @GetMapping(("/areaStreetDetail"))
    private R<AreaStreetDetail> areaStreetDetail(@RequestParam("code") String code,
                                                 @RequestParam("type") String type){
        return R.ok(comStreetService.areaStreetDetail(code, type));
    }
    /**
     *   双报到双服务
     */
    @GetMapping("/qryReport")
    public R<List<QryReportResp>> qryReport(@RequestParam(value = "yearTime",required = false) String yearTime){
        return R.ok(comStreetService.qryReport(yearTime));
    }
}