如果查询时间是四月,就是默认本年底的一到四月,以此类推,而不是输入一个月就差一个月
直接小于等于?
and 1=1 ${if(len(s_date) == 0 , "" , " and pay_date like '"+left(s_date,4)+"%' ")}
类似于这样