![](https://img-blog.csdnimg.cn/060cfcceccc64ba390f6274418a70a40.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
MyBatis
文章平均质量分 64
mybatis学习,分享技术
给自己一个 smile
梦想要有的,万一实现了,加油!
展开
-
MybatisPlus自定义 Sql 实现多表查询
MybatisPlus自定义 Sql 实现多表查询原创 2021-12-10 17:30:00 · 3613 阅读 · 1 评论 -
Mybatis-Plus 使用 update 优雅操作方式
Mybatis-Plus 使用 update 优雅操作方式原创 2021-04-13 21:19:37 · 10394 阅读 · 0 评论 -
Mybatis返回int类型为空时报错 attempted to return null from a method with a primitive return type (int)
一、前言在往常敲代码的时候没有留意过int和Integer的区别,今天在敲代码的时候,ORM框架使用的是Mybatis,一个简单的查询,返回查询的条数。当查询为null的时候,就报错了。二、报的错误试图从具有原始返回类型(int)的方法返回nullattempted to return null from a method with a primitive...原创 2019-04-17 14:59:06 · 2061 阅读 · 0 评论