时间转换成对应的字符串格式之后。在mapper.xml文件中。
涉及到mysql时间的时候,要加上 jdbcType = DATE;
涉及到java时间的时候最好加上
javaType = java.util.Date