1、现在mysql中将时间字段改为datetime 例如:alter table tablename add pay_date datetime comment '精确到秒的时间'
2、在sql语句中直接用now(). 例如: update tj_record set is_customerHandover ='1' and customer_handover_date = now() where id = #{record_id}
Copyright © 2019- mxzg.net 版权所有
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务