zhongrj
2024-02-02 7ecbb9875d55c5323b2eba09e987a815171335c8
src/main/java/org/springblade/modules/police/mapper/PoliceAffairsGridMapper.xml
@@ -29,5 +29,9 @@
        select * from jczz_police_affairs_grid where is_deleted = 0
    </select>
    <!--判断该点在哪个警务网格-->
    <select id="spatialAnalysis" resultType="org.springblade.modules.police.entity.PoliceAffairsGridEntity">
        SELECT * FROM jczz_police_affairs_grid WHERE ST_Intersects(geom, ST_GeomFromText(${point},0))
    </select>
</mapper>