![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mybatis
weixin_43831120
这个作者很懒,什么都没留下…
展开
-
MybatisPlus插入时设置的自动生成ID、时间等为空
MybatisPlus,强转对象,空值原创 2023-01-30 16:05:27 · 1318 阅读 · 0 评论 -
数据库Oracle转mysql项目中遇到的错
1、DAO层使用的是mybatis2、cast(substr(table_column,3) as signed integer 错误,sql可以直接执行,在代码中就不行。去掉integer后可以。3、子查询必须要有别名4、TRUNCATE(x,0)函数可以在sql中直接执行作保留小数位数使用,放在代码中无法使用。可能与TRUNCATE也作为mysql中关键字有关系。最后使用round()函数替代。5、mysql保留关键字如果作为表的字段,则在使用时必须加反引号。6、You can’t speci原创 2020-07-17 18:16:24 · 230 阅读 · 0 评论