|
|
|
@ -1,12 +1,6 @@
|
|
|
|
|
package com.air.applets.controller; |
|
|
|
|
|
|
|
|
|
import com.air.applets.entity.Dazutuan; |
|
|
|
|
import com.air.applets.entity.Facilities; |
|
|
|
|
import com.air.applets.entity.Huanxian; |
|
|
|
|
import com.air.applets.entity.Xingzhengqu; |
|
|
|
|
import com.air.applets.serivce.AppletsMapService; |
|
|
|
|
import com.air.land.entity.LandListedLonLat; |
|
|
|
|
import com.air.land.entity.LandToListLonLat; |
|
|
|
|
import com.cinderella.framework.common.core.util.R; |
|
|
|
|
import io.swagger.annotations.Api; |
|
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
@ -39,8 +33,8 @@ public class AppletsMapController {
|
|
|
|
|
*/ |
|
|
|
|
@ApiOperation(value = "根据定位经纬度范围行政区数据", notes = "根据定位经纬度范围行政区数据") |
|
|
|
|
@GetMapping("getRegionByLocation") |
|
|
|
|
public R<List<Map<String, String>>> getRegionByLocation() { |
|
|
|
|
return R.ok(mapService.getRegionByLocation(), "查询成功"); |
|
|
|
|
public R<List<Map<String, String>>> getRegionByLocation(String city) { |
|
|
|
|
return R.ok(mapService.getRegionByLocation(city), "查询成功"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -69,8 +63,8 @@ public class AppletsMapController {
|
|
|
|
|
*/ |
|
|
|
|
@ApiOperation(value = "根据定位经纬度返回5公里范围内的大组团小组团", notes = "根据定位经纬度返回5公里范围内的大组团小组团") |
|
|
|
|
@GetMapping("getTypeRegionByLocation") |
|
|
|
|
public R<List<Map<String, String>>> getTypeRegionByLocation(@RequestParam String type) { |
|
|
|
|
return R.ok(mapService.getTypeRegionByLocation(type), "查询成功"); |
|
|
|
|
public R<List<Map<String, String>>> getTypeRegionByLocation(@RequestParam String type,String city) { |
|
|
|
|
return R.ok(mapService.getTypeRegionByLocation(type,city), "查询成功"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -80,8 +74,8 @@ public class AppletsMapController {
|
|
|
|
|
*/ |
|
|
|
|
@ApiOperation(value = "根据定位经纬度范围行政区数据", notes = "根据定位经纬度范围行政区数据") |
|
|
|
|
@GetMapping("getLoopLine") |
|
|
|
|
public R<List<Map<String, String>>> getLoopLine() { |
|
|
|
|
return R.ok(mapService.getLoopLine(), "查询成功"); |
|
|
|
|
public R<List<Map<String, String>>> getLoopLine(String city) { |
|
|
|
|
return R.ok(mapService.getLoopLine(city), "查询成功"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -91,8 +85,8 @@ public class AppletsMapController {
|
|
|
|
|
*/ |
|
|
|
|
@ApiOperation(value = "获取拟挂牌地块数据", notes = "获取拟挂牌地块数据") |
|
|
|
|
@GetMapping("getLandToList") |
|
|
|
|
public R<List<Map<String, String>>> getLandToList() { |
|
|
|
|
return R.ok(mapService.getLandToList(), "查询成功"); |
|
|
|
|
public R<List<Map<String, String>>> getLandToList(String city) { |
|
|
|
|
return R.ok(mapService.getLandToList(city), "查询成功"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -102,8 +96,8 @@ public class AppletsMapController {
|
|
|
|
|
*/ |
|
|
|
|
@ApiOperation(value = "获取挂牌中数据", notes = "获取挂牌中数据") |
|
|
|
|
@GetMapping("getLandListing") |
|
|
|
|
public R<List<Map<String, String>>> getLandListing() { |
|
|
|
|
return R.ok(mapService.getLandListing(), "查询成功"); |
|
|
|
|
public R<List<Map<String, String>>> getLandListing(String city) { |
|
|
|
|
return R.ok(mapService.getLandListing(city), "查询成功"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -113,18 +107,19 @@ public class AppletsMapController {
|
|
|
|
|
*/ |
|
|
|
|
@ApiOperation(value = "获取出让地块数据", notes = "获取出让地块数据") |
|
|
|
|
@GetMapping("getLandList") |
|
|
|
|
public R<List<Map<String, String>>> getLandList(@RequestParam String start, @RequestParam String end) { |
|
|
|
|
return R.ok(mapService.getLandList(start, end), "查询成功"); |
|
|
|
|
public R<List<Map<String, String>>> getLandList(@RequestParam String start, @RequestParam String end,String city) { |
|
|
|
|
return R.ok(mapService.getLandList(start, end,city), "查询成功"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 设置行政区,环线,大组团,小组团经纬度 |
|
|
|
|
* |
|
|
|
|
* @author peihao |
|
|
|
|
* @date 2021/5/25 |
|
|
|
|
**/ |
|
|
|
|
@ApiOperation(value = "设置行政区,环线,大组团,小组团经纬度", notes = "设置行政区,环线,大组团,小组团经纬度") |
|
|
|
|
@GetMapping(value = "/setGeom/{type}") |
|
|
|
|
public R setGeom(@PathVariable String type){ |
|
|
|
|
public R setGeom(@PathVariable String type) { |
|
|
|
|
return R.ok(mapService.setGeom(type)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|