如截图,想把FBOOKEDDATE字段通过日期组件进行区间筛选,但是报错,是否是语句写错了?.
报什么错
----------
你是不是有个日期为空哦
我一般这样写
${if(len(dateEditor1)==0,""," and fbookeddate>='"+dateEditor1+"'")}
${if(len(dateEditor2)==0,""," and fbookeddate<='"+dateEditor2+"'")}
加'${}',统一日期格式