cjl
2023-10-07 7e2f3abca2f5bb83459f809b8e7195b361e0a372
ci:补充提交
1 files modified
9 ■■■■■ changed files
screen-api/src/main/resources/mapper/HistoryHourlyMapper.xml 9 ●●●●● patch | view | raw | blame | history
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>