首页
技术
登录
6mi
u
盘
搜
搜 索
技术
springboot通用Mapper使用selectByPrimaryKey时动态SQL语句不匹配
springboot通用Mapper使用selectByPrimaryKey时动态SQL语句不匹配
技术
2023-07-22
73
数据库字段
定义类
使用
结果给的SQL语句并不是通过主键查询
查了原因之后,有一种解释是通用Mapper的这个方法不能识别int类型,用Integer或Long类型不会发生这个问题。
转载请注明原文地址:https://ipadbbs.8miu.com/read-43403.html
最新回复
(
0
)