mysql 對日期的寫法 mybatis

[quote] 字段截日期來等於 傳入的日期類型 Date(ar.pay_finish_time) = #{payFinishTime} 字段值是 時間到小時分, 把它格式化下 , 並把傳入的string值跟它比較 where date_format(pay_finish_time, '%Y-%m-%d') = date_format(#{accountingDateStr},'%Y-%m-%d'
相關文章
相關標籤/搜索