screen-api/src/main/resources/mapper/HistorySecondUavMapper.xml
@@ -11,4 +11,10 @@ <result column="batch" property="batch" /> </resultMap> <select id="reList" resultType="com.moral.api.entity.HistorySecondUav"> SELECT `value` FROM history_second_uav WHERE mac = #{mac} AND batch = #{batch} HAVING abs(`value`->>'$.flyhig') <![CDATA[>=]]> #{height} </select> </mapper>