cjl
2023-10-08 010dc15d38f1dfa50d8e57009b213bb5d8c6616f
screen-api/src/main/resources/mapper/HistoryHourlyMapper.xml
@@ -99,12 +99,9 @@
         <if test="mac != null and mac != ''">
            and mac = #{mac}
         </if>
        <if test="startDate!=null and startDate!='' ">
            and time BETWEEN #{startDate} and #{endDate}
        </if>
        <if test="time!=null and time!='' ">
            and time =#{time} and limit 1
        </if>
         and time BETWEEN #{startDate} and #{endDate}
        order by time desc
    </select>
</mapper>