吉安感知网项目-后端
linwei
2026-04-07 35cabb115b2d0aba8544fca64be73762d4706b38
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, 4326 ), ST_GeomFromText(#{geom}::text, 4326))
                AND ST_Intersects ( ST_SetSRID ( md.geom::geometry, 4326 ), ST_GeomFromText(#{geom}::text, 4326))
            </if>
            <if test="deviceType != null and deviceType != '' ">
                and md.device_type::text = #{deviceType}::text