time='yy/mm/dd'
参数:yy:
mm:
查询
把字段拆开,mysql用date_format(),之后再筛选。如下格式:
where left(time,2) = '${yy}'
and right( left(time,5) ,2) = '${mm}'