From c10d6358b9f014375a13821465bc978d0c0da22e Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Wed, 29 May 2024 17:17:08 +0800
Subject: [PATCH] 通过E呼即办数据统计

---
 src/main/java/org/springblade/modules/police/mapper/PoliceStationMapper.xml |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/main/java/org/springblade/modules/police/mapper/PoliceStationMapper.xml b/src/main/java/org/springblade/modules/police/mapper/PoliceStationMapper.xml
index 2a01801..558b840 100644
--- a/src/main/java/org/springblade/modules/police/mapper/PoliceStationMapper.xml
+++ b/src/main/java/org/springblade/modules/police/mapper/PoliceStationMapper.xml
@@ -22,5 +22,14 @@
         select * from jczz_police_station where is_deleted = 0
     </select>
 
+    <!--派出所树查询-->
+    <select id="tree" resultType="org.springblade.common.node.TreeStringNode">
+        SELECT
+        code as id,
+        parent_code as parentId,
+        name
+        FROM jczz_police_station
+    </select>
+
 
 </mapper>

--
Gitblit v1.9.3