![](https://img-blog.csdnimg.cn/20200102134046226.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
Mybaits
Mybaits
honvin_
这个作者很懒,什么都没留下…
展开
-
Mybatis-Plus自动填充更新操作相关字段
在阿里开发手册的建表规约中有说明,数据库表中应该都要有create_time、update_time字段;那么在开发中,对于这些共有字段的处理应该要进行统一,这样就可以简化我们的开发过程。那么本文就对Mybatis-Plus中的字段自动填充进行记录。原创 2020-01-03 19:52:03 · 9866 阅读 · 4 评论 -
Mybatis-Plus - Invalid bound statement (not found)
记一个坑,之前在项目中直接调用IService接口的list()方法,报了如下错误: 然后从头到尾检查了一遍配置都没有错,最后发现是SessionFactoryBean引用成Mybatis的了,应该要引用Mybatis-Plus的才对。 解决方法:将配置中的SqlSessionFactoryBean替换为MybatisSqlSessionFactoryBean ...原创 2019-12-03 20:15:01 · 3593 阅读 · 0 评论