数据格式为日期型,参数控件开始时间为空,结束时间为今天。分页预览查询就是文字与格式字符串不匹配,这是什么原因呀?
${if(len(starttime)=0,"","and actualendtime>=to_date('"+starttime+"','yyyy-mm-dd')")}
${if(len(endtime)=0,"","and actualendtime<=to_date('"+endtime+"','yyyy-mm-dd')")}
你是日期格式就改成这样
数据集格式错误
要么把数据库日期字段格式化,要么把参数控件的日期格式化一下
to_char(actualendtime,"yyyy-MM-dd")>=
你要精确到秒还是精确到天