不就是这样吗?
SELECT * from 表
where mytime >=concat(CURRENT_DATE(),' 07:00:00')
and mytime <=concat(DATE_ADD(CURRENT_DATE(),INTERVAL 1 DAY),' 07:00:00')
/*如果在帆软数据集中的话可以这样*/
SELECT * from 表
where mytime >='${CONCATENATE(format(today(),"yyyy-MM-dd")," 07:00:00")}'
and mytime <='${CONCATENATE(format(DATEDELTA(today(),1),"yyyy-MM-dd")," 07:00:00")}'