数据源 mysql
sql: select * from (select round(complete/al,3)*100 as rate,it1,it2 from (select count(1) over () as complete,INPUT_TIME as it1 from t_work_order a where is_solve = 1 and OVERDUE = 0 and INPUT_TIME BETWEEN ‘${start}’ and ‘${end}’ limit 1) a
,
(select count(1) over () as al,INPUT_TIME as it2 from t_work_order where is_solve = 1 and INPUT_TIME BETWEEN ‘${start}’ and ‘${end}’ limit 1) b) c
绑定时间组件,选定日期范围后,没有返回值。但是在参数设置那块设置的参数值,能正确返回值