看下xml中sql语句时间类型字段的jdbcType 如果jdbcType=Date ,插入的即为2020-08-03 00:00:00 需要修改为 jdbcType=TIMESTAMP 第一条jdbcType=Date; 第二条jdbcType=TIMESTAMP;