linwe
2024-06-19 6b113a88e7b7b625405cc0b1d46efa22d46c71a2
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>