From 11ac466c39c972e965dee0c17688a57af86fe4d5 Mon Sep 17 00:00:00 2001
From: linwei <872216696@qq.com>
Date: Thu, 29 Jan 2026 14:50:12 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 drone-service/drone-fw/src/main/java/org/sxkj/fw/area/controller/FwPoliceStationController.java |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/drone-service/drone-fw/src/main/java/org/sxkj/fw/area/controller/FwPoliceStationController.java b/drone-service/drone-fw/src/main/java/org/sxkj/fw/area/controller/FwPoliceStationController.java
index 221e70f..afa9b50 100644
--- a/drone-service/drone-fw/src/main/java/org/sxkj/fw/area/controller/FwPoliceStationController.java
+++ b/drone-service/drone-fw/src/main/java/org/sxkj/fw/area/controller/FwPoliceStationController.java
@@ -31,6 +31,7 @@
 import org.springframework.web.bind.annotation.*;
 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
 import com.baomidou.mybatisplus.core.metadata.IPage;
+import org.sxkj.fw.area.dto.FwPoliceStationPolygonQueryDTO;
 import org.sxkj.fw.area.entity.FwPoliceStationEntity;
 import org.sxkj.fw.area.vo.FwPoliceStationVO;
 import org.sxkj.fw.area.excel.FwPoliceStationExcel;
@@ -163,4 +164,15 @@
 		ExcelUtil.export(response, "派出所信息表数据" + DateUtil.time(), "派出所信息表数据表", list, FwPoliceStationExcel.class);
 	}
 
+	/**
+	 * 根据多边形区域查询派出所
+	 */
+	@PostMapping("/queryByPolygons")
+	@ApiOperationSupport(order = 8)
+	@ApiOperation(value = "根据多边形区域查询派出所", notes = "传入多边形WKT字符串集合")
+	public R<List<FwPoliceStationVO>> queryByPolygons(@Valid @RequestBody FwPoliceStationPolygonQueryDTO dto) {
+		List<FwPoliceStationVO> result = fwPoliceStationService.selectByPolygons(dto.getPolygons());
+		return R.data(result);
+	}
+
 }

--
Gitblit v1.9.3