jinpengyong
2023-08-04 b5a2fc07527ab700544f3b7ba0be01b2e015e2db
screen-api/src/main/resources/mapper/HistorySecondUavMapper.xml
@@ -12,9 +12,10 @@
        </resultMap>
    <select id="reList" resultType="com.moral.api.entity.HistorySecondUav">
        SELECT `value`
        SELECT history_second_uav.time,`value`
        FROM history_second_uav WHERE mac = #{mac}
        AND batch = #{batch}
        HAVING abs(`value`->>'$.flyhig') <![CDATA[>=]]> #{height}
        HAVING abs(`value`->>'$.flyhig') <![CDATA[>=]]> #{height1}
        and  abs(`value`->>'$.flyhig') <![CDATA[<=]]> #{height2}
    </select>
</mapper>