![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
预付是变更
这个作者很懒,什么都没留下…
展开
-
mybatis-小数点设计数据库
mybatis的mapper文件<if test="VOLUME != null"> VOLUME = #{VOLUME,jdbcType=VARCHAR},</if>对应的数据库字段。`VOLUME` decimal(20,6) DEFAULT NULL COMMENT '体积'原创 2019-10-23 19:29:32 · 447 阅读 · 0 评论 -
mybatis 坑- and 不能大写
<if test="REGIS_DATE != null and REGIS_DATE != '' "> REGIS_DATE = #{REGIS_DATE,jdbcType=DATE},</if><if test>标签中的and 不能大写,否则会报错。当将上述代码改为:<if test="REGIS_DATE != null AND ...转载 2019-10-23 19:06:51 · 1049 阅读 · 0 评论