天天看点

postgreSQL 插入时间戳没有时分秒

最开始用oracle的to_date

有日期,没有时分秒

postgreSQL 插入时间戳没有时分秒

pgsql中

postgreSQL 插入时间戳没有时分秒

修改为

to_timestamp(#{saveDate},‘yyyy-mm-dd hh24:mi:ss’),

postgreSQL 插入时间戳没有时分秒