select *from table a where a.order_status=1 and a.is_online_pay=1 and a.site_id=1 and cast(a.pay_time as date) between '${起点}' and '${终点}'
数据库没响应,看下你的数据连接是否正常访问
sql语句拼出来