|
|
@@ -10,6 +10,7 @@ import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.ResponseBody; |
|
|
|
|
|
|
@@ -32,7 +33,7 @@ public class GisMapController extends BaseController { |
|
|
|
@Log(title = "GIS", businessType = BusinessType.UPDATE) |
|
|
|
@PostMapping("/point/do") |
|
|
|
@ResponseBody |
|
|
|
public AjaxResult pointSave(SysGis gis) { |
|
|
|
public AjaxResult pointSave(@RequestBody SysGis gis) { |
|
|
|
return toAjax(gisService.updateGeomByPoint(gis)); |
|
|
|
} |
|
|
|
|
|
|
@@ -42,7 +43,7 @@ public class GisMapController extends BaseController { |
|
|
|
@Log(title = "GIS", businessType = BusinessType.UPDATE) |
|
|
|
@PostMapping("/point/private/do") |
|
|
|
@ResponseBody |
|
|
|
public AjaxResult pointSavePri(SysGis gis) { |
|
|
|
public AjaxResult pointSavePri(@RequestBody SysGis gis) { |
|
|
|
return toAjax(gisService.updateGeomByPointPri(gis)); |
|
|
|
} |
|
|
|
|
|
|
@@ -53,7 +54,7 @@ public class GisMapController extends BaseController { |
|
|
|
@Log(title = "GIS", businessType = BusinessType.UPDATE) |
|
|
|
@PostMapping("/polygon/do") |
|
|
|
@ResponseBody |
|
|
|
public AjaxResult areaSave(SysGis gis) { |
|
|
|
public AjaxResult areaSave(@RequestBody SysGis gis) { |
|
|
|
return toAjax(gisService.updateGeomByPolygon(gis)); |
|
|
|
} |
|
|
|
|
|
|
@@ -64,7 +65,7 @@ public class GisMapController extends BaseController { |
|
|
|
@Log(title = "GIS", businessType = BusinessType.UPDATE) |
|
|
|
@PostMapping("/polygon/private/do") |
|
|
|
@ResponseBody |
|
|
|
public AjaxResult areaSavePri(SysGis gis) { |
|
|
|
public AjaxResult areaSavePri(@RequestBody SysGis gis) { |
|
|
|
return toAjax(gisService.updateGeomByPolygonPri(gis)); |
|
|
|
} |
|
|
|
|
|
|
@@ -75,7 +76,7 @@ public class GisMapController extends BaseController { |
|
|
|
@Log(title = "GIS", businessType = BusinessType.UPDATE) |
|
|
|
@PostMapping("/clean/do") |
|
|
|
@ResponseBody |
|
|
|
public AjaxResult cleanSave(SysGis gis) { |
|
|
|
public AjaxResult cleanSave(@RequestBody SysGis gis) { |
|
|
|
return toAjax(gisService.cleanGeomById(gis)); |
|
|
|
} |
|
|
|
|
|
|
@@ -86,7 +87,7 @@ public class GisMapController extends BaseController { |
|
|
|
@Log(title = "GIS", businessType = BusinessType.UPDATE) |
|
|
|
@PostMapping("/clean/private/do") |
|
|
|
@ResponseBody |
|
|
|
public AjaxResult cleanSavePri(SysGis gis) { |
|
|
|
public AjaxResult cleanSavePri(@RequestBody SysGis gis) { |
|
|
|
return toAjax(gisService.cleanGeomByIdPri(gis)); |
|
|
|
} |
|
|
|
|
|
|
|