请输入任务描述
第一步先修改你SQL中的逗号
第二步:
where 1=1
${IF(len(开始时间)==0||len(结束时间)==0,"","and recordtime between '"+开始时间+"' and '"+结束时间+"'")}