吉安感知网项目-后端
linwei
2026-04-07 968aa1fa668e9bb02206079dd38e44997d6f6cd0
drone-service/drone-gd/src/main/java/org/sxkj/gd/workorder/mapper/GdManageDeviceMapper.xml
@@ -84,7 +84,7 @@
                and md.device_payload like concat('%', #{devicePayload}, '%')
            </if>
            <if test="geom != null and geom != ''">
                AND ST_Intersects ( ST_SetSRID ( md.geom::geometry, 4326 ), ST_GeomFromText(#{geom}::text, 4326))
                AND public.st_intersects ( md.geom, public.st_geomfromtext(#{geom}::text, 4326))
            </if>
            <if test="deviceType != null and deviceType != '' ">
                and md.device_type::text = #{deviceType}::text