springboot使用通用mapper,selectByPrimaryKey 没有查询出来结果

通用 Mapper 的 selectByPrimaryKey 方法无法识别 int 类型,需要在 POJO 类中将 基本类型 改为包装类型

posted @ 2020-11-30 11:31  心态美女  阅读(310)  评论(0)    收藏  举报