解决方法 修改当前会话的时间格式(缺点每次都要设置) ALTER session SET nls_date_format = 'YYYY-MM-DD'; 时间格式转换,to_date或者date 进行数据库的全局设置