![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
Chloe :D
这个作者很懒,什么都没留下…
展开
-
SSM系统的war_exploded报错
一、mybatis的mapper.xml存在语法错误 提示 java.lang.IllegalArgumentException: No enum constant org.apache.ibatis.type.JdbcType.Date 文档中jdbcType="Date"改为jdbcType="DATE" 文档中parameterType="int"改为parameterType="java.lang.Integer" ...原创 2021-03-04 16:09:25 · 950 阅读 · 1 评论 -
基于SSM系统关于date的处理【总结篇】
一、后端处理 1、Mysql数据库 用date类型 2、Mybatis处理 这里主要是因为实体类的date是无法直接存入数据库的date,所以需要类型声明jdbcType=DATE: @Insert("insert into t_staff(staffid,staffname,staffimg,staffbirthdate) values (#{staffid},#{staffname},#{staffimg},#{staffbirthdate,jdbcType=DATE})") public void原创 2021-03-01 15:25:53 · 563 阅读 · 0 评论