mysql时间的处理
mysql中格式化时间为:
1,DATE_FORMAT(APPLYDATE,'%Y-%m-%d %H:%i:%S') AS APPLYDATE
2,DATE_FORMAT(CHKSIGNDATE, '%Y-%m-%d') = DATE_FORMAT(#{chksignDate}, '%Y-%m-%d')
3,AND DATE_FORMAT(APPLYDATE, '%Y-%m-%d') > #{minApplyDate}
4,AND DATE_FORMAT(APPLYDATE, '%Y-%m-%d') < #{maxApplyDate}
5,日期区间在今天内一定要有空格between ''+' 00:00:00' and ''+' 23:59:59';