比如我想查某一天的数据,现在只能这样写: select * from fine_record_execute where todate(time) between '2021-03-16 00:00:00' and '2021-03-16 23:59:59' 怎样实现参数查询? 如果是oracle的话,可以这样写:select * from fine_record_execute where trunc(todate(time)) =to_date('${date1}','yyyy-mm-dd') 但报表日志的hsql不支持 |