本地环境下过滤没有问题,切换到远程环境不久会出现过滤失败,
变成startdate<=日期<enddate,会比结束时间少一天
where 日期>='${startdate}' and 日期<='${enddate}'
enddate控件返回值改为字符串可以解决这个问题
时间边界分析-http://mtw.so/5uzJte
[平台]MySQL数据连接-https://help.fanruan.com/finereport/doc-view-2560.html
————
存在「时区差」或 「时间边界」问题,参考文档处理即可!
——————————————————