ZhuDongming
2019-08-06 1b92dd5752347a995f91d4383a48a5b374d55aaf
修改不填时间查询前一天最后一小时的各因子数据
1 files modified
4 ■■■■ changed files
src/main/resources/mapper/HistoryMinutelyMapper.xml 4 ●●●● patch | view | raw | blame | history
src/main/resources/mapper/HistoryMinutelyMapper.xml
@@ -163,8 +163,8 @@
                and hm.time <![CDATA[<=]]> #{endTime}
            </when>
            <otherwise>
                and hm.time >= DATE_ADD(NOW(), INTERVAL -30 MINUTE)
                and hm.time <![CDATA[<=]]> now()
                and hm.time >= date_add(now(), interval '-1 01:00:00' day_second)
                and hm.time <![CDATA[<=]]> date_sub(now(),interval 1 day)
            </otherwise>
        </choose>
        ORDER BY hm.time