From 08f58c4a65fc6cbdb530ecac9153b3904763d8b6 Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Sat, 23 Mar 2024 11:45:12 +0800
Subject: [PATCH] 图斑
---
src/main/java/com/dji/sample/patches/controller/PatchesController.java | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/dji/sample/patches/controller/PatchesController.java b/src/main/java/com/dji/sample/patches/controller/PatchesController.java
index 5a2f11e..058fac3 100644
--- a/src/main/java/com/dji/sample/patches/controller/PatchesController.java
+++ b/src/main/java/com/dji/sample/patches/controller/PatchesController.java
@@ -2,12 +2,15 @@
import com.dji.sample.patches.model.PageBean;
import com.dji.sample.patches.service.impl.PatchesServiceImpl;
-import org.opengis.geometry.coordinate.Polygon;
+import org.locationtech.jts.geom.Geometry;
import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.data.geo.Polygon;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
+
+import java.sql.Array;
@RequestMapping("${url.patches.prefix}${url.patches.version}")
@RestController
@@ -17,7 +20,7 @@
@GetMapping("/getPatches")
public PageBean page(@RequestParam(defaultValue = "1") Integer page,
@RequestParam(defaultValue = "5") Integer pageSize,
- Integer id, String bsm, Polygon dkfw, String dklx){
+ Integer id, String bsm, String dkfw, String dklx){
//调用service分页查询
PageBean pageBean =patchesServiceimpl.limitGet( id, bsm, dkfw, dklx, page, pageSize);
return pageBean;
--
Gitblit v1.9.3