select a.* from table
where
${date} = date_format(createdate,'%Y-%m')
mybatis使用date_format函数时,只能采用 $ 查询不能用 #
select a.* from table
where
${date} = date_format(createdate,'%Y-%m')
mybatis使用date_format函数时,只能采用 $ 查询不能用 #