|
@@ -1,592 +0,0 @@
|
|
|
-//package com.gis.web.controller;
|
|
|
-//
|
|
|
-//
|
|
|
-//import com.alibaba.fastjson.JSON;
|
|
|
-//import com.alibaba.fastjson.JSONObject;
|
|
|
-//import com.alibaba.fastjson.serializer.SerializerFeature;
|
|
|
-//import com.gis.common.base.entity.dto.DeviceInfo;
|
|
|
-//import com.gis.common.deyuan.util.ResultUtils;
|
|
|
-//import com.gis.common.util.DoorUtils;
|
|
|
-//import com.gis.common.util.Result;
|
|
|
-//import com.gis.web.dto.PageDto;
|
|
|
-//import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
|
|
|
-//import io.swagger.annotations.Api;
|
|
|
-//import io.swagger.annotations.ApiImplicitParam;
|
|
|
-//import io.swagger.annotations.ApiImplicitParams;
|
|
|
-//import io.swagger.annotations.ApiOperation;
|
|
|
-//import lombok.extern.log4j.Log4j2;
|
|
|
-//import lombok.extern.slf4j.Slf4j;
|
|
|
-//import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-//import org.springframework.web.bind.annotation.*;
|
|
|
-//
|
|
|
-//import java.util.HashMap;
|
|
|
-//import java.util.TreeMap;
|
|
|
-//
|
|
|
-//
|
|
|
-///**
|
|
|
-// * Created by owen on 2020/10/18 0018 12:17
|
|
|
-// */
|
|
|
-//@Slf4j
|
|
|
-//@Api(tags = "大屏BI接口")
|
|
|
-//@RestController
|
|
|
-//@RequestMapping("screen")
|
|
|
-//public class ScreenController1 {
|
|
|
-//
|
|
|
-// @Autowired
|
|
|
-// ResultUtils resultUtils;
|
|
|
-//
|
|
|
-// @ApiOperationSupport(order=1)
|
|
|
-// @ApiOperation("街道人员组成、房屋信息")
|
|
|
-// @GetMapping("baseData/{code}")
|
|
|
-// public Result baseData(@PathVariable String code){
|
|
|
-// String apiUrl = "/open/api/v1/community/base-data";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @ApiOperationSupport(order=1)
|
|
|
-// @ApiOperation("街道服务")
|
|
|
-// @GetMapping("serviceData/{code}")
|
|
|
-// public JSONObject serviceData(@PathVariable String code){
|
|
|
-// String apiUrl = "/open/api/v1/community/service-data";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGet(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @ApiOperationSupport(order=1)
|
|
|
-// @ApiOperation("市民之声数据")
|
|
|
-// @GetMapping("citizenVoiceData/{code}")
|
|
|
-// public JSONObject citizenVoiceData(@PathVariable String code){
|
|
|
-// String apiUrl = "/open/api/v1/community/citizen-voice-data";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGet(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @ApiOperationSupport(order=1)
|
|
|
-// @ApiOperation("公共空间数据")
|
|
|
-// @GetMapping("spaceData/{code}")
|
|
|
-// public JSONObject spaceData(@PathVariable String code){
|
|
|
-// String apiUrl = "/open/api/v1/community/space-data";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGet(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-//
|
|
|
-// @ApiImplicitParams({
|
|
|
-// @ApiImplicitParam(name = "code", value = "行政编码 (必传)", dataType = "String"),
|
|
|
-// @ApiImplicitParam(name = "children", value = "查询下级节点(非必传), 必传是否查询街道及其以下社区:" +"true ", dataType = "String")
|
|
|
-// })
|
|
|
-// @ApiOperationSupport(order=1)
|
|
|
-// @ApiOperation("社区活动")
|
|
|
-// @GetMapping("activityData")
|
|
|
-// public JSONObject activityData(@PathVariable String code,@PathVariable Boolean children){
|
|
|
-// String apiUrl = "/open/api/v1/community/activity-data";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// param.put("children", children);
|
|
|
-// return resultUtils.doGet(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("邻里交流,cityCode:510124112")
|
|
|
-// @GetMapping("interFlow/{cityCode}")
|
|
|
-// public Result interFlow(@PathVariable String cityCode) {
|
|
|
-// String apiUrl = "/open/api/v1/community/statistics/interflow";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("cityCode", cityCode);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("积分商城数据")
|
|
|
-// @GetMapping("pointData/{code}")
|
|
|
-// public Result pointData(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/community/point-data";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("社区资讯")
|
|
|
-// @GetMapping("infoData/{code}")
|
|
|
-// public Result infoData(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/community/info-data";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("可信生活圈")
|
|
|
-// @GetMapping("businessData/{code}/{type}")
|
|
|
-// public Result businessData(@PathVariable String group,@PathVariable String[] type) {
|
|
|
-// String apiUrl = "/open/api/v1/community/business-data";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("group", group);
|
|
|
-// param.put("type", type);
|
|
|
-//
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-//
|
|
|
-// @ApiImplicitParams({
|
|
|
-// @ApiImplicitParam(name = "appId", value = "应用Id(必传)", dataType = "String"),
|
|
|
-// @ApiImplicitParam(name = "sign", value = "参数签名(必传), ", dataType = "String"),
|
|
|
-// @ApiImplicitParam(name = "data", value = "data(非必传) ", dataType = "String")
|
|
|
-// })
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("就业专栏")
|
|
|
-// @GetMapping("getStatistics")
|
|
|
-// public Result getStatistics(@PathVariable String appId,@PathVariable String sign,@PathVariable String data) {
|
|
|
-// String apiUrl = "/open/api/v1/community/deyuan/getStatistics";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("appId", appId);
|
|
|
-// param.put("sign", sign);
|
|
|
-// param.put("data", data);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * 2021-02-19
|
|
|
-// * @param xzCode 行政编码
|
|
|
-// * @param xzLevel 行政级别
|
|
|
-// * @return
|
|
|
-// */
|
|
|
-// @ApiOperation("一键报警, 510124112006:4, 510124112:3")
|
|
|
-// @GetMapping("getInfo")
|
|
|
-// public Result getInfo(@PathVariable String xzCode, @PathVariable String xzLevel, @PathVariable String topic, @PathVariable String lastestNewsNum, @PathVariable String reportStarttime, @PathVariable String reportEndtime, @PathVariable String dealStartTime, @PathVariable String dealEndTime) {
|
|
|
-// String apiUrl = "/open/api/v1/sspReportInfo/getInfo";
|
|
|
-//
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("xzCode", xzCode);
|
|
|
-// param.put("xzLevel", xzLevel);
|
|
|
-// param.put("topic", topic);
|
|
|
-// param.put("lastestNewsNum", lastestNewsNum);
|
|
|
-// param.put("reportStarttime", reportStarttime);
|
|
|
-// param.put("reportEndtime", reportEndtime);
|
|
|
-// param.put("dealStartTime", dealStartTime);
|
|
|
-// param.put("dealEndTime", dealEndTime);
|
|
|
-// return Result.success(resultUtils.doGet(apiUrl, param));
|
|
|
-// }
|
|
|
-//
|
|
|
-//
|
|
|
-// @ApiImplicitParams({
|
|
|
-// @ApiImplicitParam(name = "code", value = "行政编码 (必传)", dataType = "String"),
|
|
|
-// @ApiImplicitParam(name = "xzLevel", value = "行政级别(必传), ", dataType = "String"),
|
|
|
-// @ApiImplicitParam(name = "topic", value = "查询主题, DB 表示待办, YB 表示已办 (必传), ", dataType = "String")
|
|
|
-// })
|
|
|
-// @ApiOperation("一键报警(已办/代办), 510124112006:4, 510124112:3")
|
|
|
-// @GetMapping("sspReportInfo")
|
|
|
-// public Result sspReportInfo(@PathVariable String code, @PathVariable String xzLevel, @PathVariable String topic, @PathVariable String reportStarttime, @PathVariable String reportEndtime, @PathVariable String dealStartTime, @PathVariable String dealEndTime) {
|
|
|
-// String apiUrl = "/open/api/v1/sspReportInfo/getInfoList";
|
|
|
-//
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("xzCode", code);
|
|
|
-// param.put("xzLevel", xzLevel);
|
|
|
-// param.put("topic", topic);
|
|
|
-// param.put("reportStarttime", reportStarttime);
|
|
|
-// param.put("reportEndtime", reportEndtime);
|
|
|
-// param.put("dealStartTime", dealStartTime);
|
|
|
-// param.put("dealEndTime", dealEndTime);
|
|
|
-// return Result.success(resultUtils.doGet(apiUrl, param));
|
|
|
-// }
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("党建活动")
|
|
|
-// @GetMapping("activity/{code}")
|
|
|
-// public Result activity(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/community/deyuan/activity";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("党组织概况")
|
|
|
-// @GetMapping("organization/{code}")
|
|
|
-// public Result organization(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/community/deyuan/organization";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("党建资讯")
|
|
|
-// @GetMapping("article/{code}")
|
|
|
-// public Result article(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/deyuan/article";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("智慧门禁健康码推送")
|
|
|
-// @GetMapping("article")
|
|
|
-// public Result entranceGuard(@PathVariable String idCard,@PathVariable String dataTime,@PathVariable String status,@PathVariable String desc) throws Exception{
|
|
|
-// String apiUrl = "/open/api/v1/ entrance-guard/health/pull";
|
|
|
-// TreeMap<String, Object> param = new TreeMap<>();
|
|
|
-// param.put("idCard", idCard);
|
|
|
-// param.put("dataTime", dataTime);
|
|
|
-// param.put("status", status);
|
|
|
-// param.put("desc", desc);
|
|
|
-// return DoorUtils.doPost(apiUrl,param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("走访打更")
|
|
|
-// @GetMapping("zfSignin")
|
|
|
-// public Result zfSignin(@PathVariable String townCode,@PathVariable String page,@PathVariable String size) {
|
|
|
-// String apiUrl = "/open/api/v1/zfSignin/querySign";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("townCode", townCode);
|
|
|
-// param.put("page", page);
|
|
|
-// param.put("size", size);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("社区警务室信息")
|
|
|
-// @GetMapping("policeRoom/{code}")
|
|
|
-// public Result policeRoom(@PathVariable String code) throws Exception{
|
|
|
-// String apiUrl = "/open/api/screen/policeRoom";
|
|
|
-// TreeMap<String, Object> param = new TreeMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return DoorUtils.doPost(apiUrl,param);
|
|
|
-// }
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("证明申请信息统计")
|
|
|
-// @GetMapping("screenCount/{code}")
|
|
|
-// public Result screenCount(@PathVariable String code) throws Exception{
|
|
|
-// String apiUrl = "/open/api/screen/count";
|
|
|
-// TreeMap<String, Object> param = new TreeMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return DoorUtils.doPost(apiUrl,param);
|
|
|
-// }
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("证明申请最新动态")
|
|
|
-// @GetMapping("screenCount/{code}/{count}")
|
|
|
-// public Result screenCount(@PathVariable String code,@PathVariable int count)throws Exception {
|
|
|
-// String apiUrl = "/open/api/screen/count";
|
|
|
-// TreeMap<String, Object> param = new TreeMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// param.put("count", count);
|
|
|
-// return DoorUtils.doPost(apiUrl,param);
|
|
|
-// }
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("社区积分商城商品数量(社区排行榜)")
|
|
|
-// @GetMapping("getStatics/{code}")
|
|
|
-// public Result getStatics(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/bi/getStatics";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("空间数量统计(社区排行榜")
|
|
|
-// @GetMapping("communalSpace/{code}")
|
|
|
-// public Result communalSpace(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/bi/communal/space";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("空间数量统计(社区排行榜)")
|
|
|
-// @GetMapping("activityStatics/{code}")
|
|
|
-// public Result activityStatics(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/bi/activity/statics";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("资讯数量统计(社区排行榜)")
|
|
|
-// @GetMapping("newsManage/{code}")
|
|
|
-// public Result newsManage(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/bi/news-manage";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("加入和访问社区统计接口(7天,30天,当天,累计加入)")
|
|
|
-// @GetMapping("budCloudGovernanceBiz/{code}/{date}")
|
|
|
-// public Result budCloudGovernanceBiz(@PathVariable String code,@PathVariable String date) {
|
|
|
-// String apiUrl = "/open/api/v1/bi/bud-cloud-governance-biz";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// param.put("date", date);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperationSupport(order=2)
|
|
|
-// @ApiOperation("基库 - 查询社区各类标签的使用详情")
|
|
|
-// @GetMapping("labelUsed/{code}/{date}")
|
|
|
-// public Result labelUsed(@PathVariable String code,@PathVariable String labelType) {
|
|
|
-// String apiUrl = "/open/api/v1/community/label-used";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// param.put("labelType", labelType);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @ApiOperation("积分商城-积分兑换统计,code:510124112")
|
|
|
-// @GetMapping("shopPoint/{code}")
|
|
|
-// public Result shopPoint(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/community/shop-point";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @ApiOperation("积分商城-积分发放统计,code:510124112")
|
|
|
-// @GetMapping("pointCountByCode/{code}")
|
|
|
-// public Result pointCountByCode(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/community/pointCountByCode";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("areaCode", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @ApiOperation("基库-社区人员各个省份分布")
|
|
|
-// @GetMapping("provinceDistributed/{code}")
|
|
|
-// public Result provinceDistributed(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/community/province-distributed";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @ApiOperation("基库-社区人员本省城市分布(新增)")
|
|
|
-// @GetMapping("cityDistributed/{code}")
|
|
|
-// public Result cityDistributed(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/community/city-distributed";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-//
|
|
|
-// @ApiOperation("基库-小区楼栋信息(新增)")
|
|
|
-// @GetMapping("residential/{code}")
|
|
|
-// public Result residential(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/community/residential/info";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @ApiOperation("基库-高龄老人进出预警(新增-天府用)")
|
|
|
-// @GetMapping("focusAlarm/{code}")
|
|
|
-// public Result focusAlarm(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/community/focus/alarm";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("residentialCode", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperation("基库-根据标签查询人员列表(新增)")
|
|
|
-// @GetMapping("getPeopleByLabel/{code}/{pageIndex}/{pageSize}/{labelId}")
|
|
|
-// public Result getPeopleByLabel(@PathVariable String code,@PathVariable String pageIndex,@PathVariable String pageSize,@PathVariable String labelId) {
|
|
|
-// String apiUrl = "/open/api/v1/community/getPeopleByLabel";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// param.put("pageIndex", pageIndex);
|
|
|
-// param.put("pageSize", pageSize);
|
|
|
-// param.put("labelId", labelId);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @ApiOperation("加入社区,门户访问量")
|
|
|
-// @GetMapping("doorStatistical/{code}")
|
|
|
-// public Result doorStatistical(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/bi/door/statistical";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @ApiOperation("启用服务数,服务总次数")
|
|
|
-// @GetMapping("serviceUsestatistical/{code}")
|
|
|
-// public Result serviceUsestatistical(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/bi/service-use/statistics";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperation("市级别服务饼图")
|
|
|
-// @GetMapping("classStatistical/{code}")
|
|
|
-// public Result classStatistical(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/bi/service/class-statistical";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperation("市级服务使用排行")
|
|
|
-// @GetMapping("rankStatistical/{code}")
|
|
|
-// public Result rankStatistical(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/bi/service/rank-statistical";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperation("居民使用接口")
|
|
|
-// @GetMapping("monthStatistical/{code}")
|
|
|
-// public Result monthStatistical(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/bi/service/month-statistical";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperation("积分发放总数、积分发放核 销分析")
|
|
|
-// @GetMapping("activePointStatistical/{code}")
|
|
|
-// public Result activePointStatistical(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/bi/service/active-point-statistical";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperation("问卷使用量接口")
|
|
|
-// @GetMapping("summaryStatistics/{code}")
|
|
|
-// public Result summaryStatistics(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/bi/summary-statistics";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperation("资讯阅读数统计")
|
|
|
-// @GetMapping("newsManageScreen")
|
|
|
-// public Result summaryStatistics(@PathVariable String code,@PathVariable String num,@PathVariable String size) {
|
|
|
-// String apiUrl = "/open/api/v1/bi/news-manage/screen";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// param.put("num", num);
|
|
|
-// param.put("size", size);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-// @ApiOperation("积分商城兑换统计")
|
|
|
-// @GetMapping("communityPointData")
|
|
|
-// public Result communityPointData(@PathVariable String code,@PathVariable String size) {
|
|
|
-// String apiUrl = "/open/api/v1/community/point-data";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// param.put("size", size);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperation("党建-最新一条党建活动")
|
|
|
-// @GetMapping("partyActivityOne/{code}")
|
|
|
-// public Result communityPointData(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/community/party/activity-one";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("community_code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperation("工具使用量统计")
|
|
|
-// @GetMapping("toolsServerData/{code}")
|
|
|
-// public Result toolsServerData(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/community/tools/server-data";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperation("积分发放核销分析")
|
|
|
-// @GetMapping("activePointMonthStatistical/{code}")
|
|
|
-// public Result activePointMonthStatistical(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/bi/active-point-month-statistical";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperation("基库-高龄老人进出预警(新)-测试地址")
|
|
|
-// @GetMapping("alarmFocus/{code}")
|
|
|
-// public Result alarmFocus(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/device/alarm/focus";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("code", code);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-// @ApiOperation("数据告警信息")
|
|
|
-// @PostMapping("deviceInfo")
|
|
|
-// public Result deviceInfo(@RequestBody DeviceInfo deviceInfo) throws Exception{
|
|
|
-// String apiUrl = "/open/api/device/info";
|
|
|
-// TreeMap<String, Object> param = new TreeMap<>();
|
|
|
-// param.put("deviceType", deviceInfo.getDeviceType());
|
|
|
-// param.put("channel", deviceInfo.getChannel());
|
|
|
-// param.put("name", deviceInfo.getName());
|
|
|
-// param.put("address", deviceInfo.getAddress());
|
|
|
-// param.put("deviceCode", deviceInfo.getDeviceCode());
|
|
|
-// param.put("deviceStatus", deviceInfo.getDeviceStatus());
|
|
|
-// param.put("deviceWarn", deviceInfo.getDeviceWarn());
|
|
|
-// param.put("deviceWarnContent", deviceInfo.getDeviceWarnContent());
|
|
|
-// param.put("deviceWarnTime", deviceInfo.getDeviceWarnTime());
|
|
|
-// param.put("manageDepartment", deviceInfo.getDeviceType());
|
|
|
-// param.put("altitude", deviceInfo.getDeviceType());
|
|
|
-// param.put("longitude", deviceInfo.getDeviceType());
|
|
|
-// param.put("villageCode", deviceInfo.getDeviceType());
|
|
|
-// param.put("outId", deviceInfo.getDeviceType());
|
|
|
-// JSONObject object = JSONObject.parseObject(deviceInfo.getExtras());
|
|
|
-// param.put("extras", JSON.toJSONString(object, SerializerFeature.PrettyFormat, SerializerFeature.WriteMapNullValue,
|
|
|
-// SerializerFeature.WriteDateUseDateFormat));
|
|
|
-// return DoorUtils.doPost(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-//
|
|
|
-//
|
|
|
-//
|
|
|
-////----------------------------------------------------------------------以上接口2021.12.13日修改
|
|
|
-//
|
|
|
-// @ApiOperation(value = "就业发展-就业专栏(code:510124112、510100)", notes = "510100:有数据")
|
|
|
-// @GetMapping("getStatistics/{code}")
|
|
|
-// public Result getStatistics(@PathVariable String code) {
|
|
|
-// String apiUrl = "/open/api/v1/community/deyuan/getStatistics";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("cityCode", code);
|
|
|
-// // 商家分组编码
|
|
|
-// param.put("group", "5f3de3d925892e0001e10312");
|
|
|
-// return Result.success(resultUtils.doGet(apiUrl, param));
|
|
|
-// }
|
|
|
-//
|
|
|
-//
|
|
|
-//
|
|
|
-// /**
|
|
|
-// * 2021-02-19
|
|
|
-// * 新增接口
|
|
|
-// * @param pageDto
|
|
|
-// * @return
|
|
|
-// */
|
|
|
-// @ApiOperation("网格治理-走访打更")
|
|
|
-// @PostMapping("zfSignin/querySign")
|
|
|
-// public Result zfSignin(@RequestBody PageDto pageDto) {
|
|
|
-// String apiUrl = "/open/api/v1/zfSignin/querySign";
|
|
|
-// HashMap<String, Object> param = new HashMap<>();
|
|
|
-// param.put("townCode", pageDto.getCode());
|
|
|
-// Integer pageSize = pageDto.getPageSize();
|
|
|
-// Integer pageNum = pageDto.getPageNum();
|
|
|
-// if (pageSize <= 0) {
|
|
|
-// pageSize = 10;
|
|
|
-// }
|
|
|
-// if (pageNum <= 0) {
|
|
|
-// pageNum = 1;
|
|
|
-// }
|
|
|
-// param.put("size", pageSize);
|
|
|
-// param.put("page", pageNum);
|
|
|
-// return resultUtils.doGetResult(apiUrl, param);
|
|
|
-// }
|
|
|
-//
|
|
|
-//
|
|
|
-//
|
|
|
-//
|
|
|
-//
|
|
|
-//
|
|
|
-//
|
|
|
-//
|
|
|
-//
|
|
|
-//
|
|
|
-//
|
|
|
-//
|
|
|
-//
|
|
|
-//
|
|
|
-//}
|