springboot 使用通用mapper时pojo 定义为基本类型 从数据库查不到数据 返回null

1、定义成基本类型的查询SQL语句

 2、修改成包装类型

猜你喜欢

转载自blog.csdn.net/mobin518/article/details/87905314