使用Mybatis的@Insert自动返回自增主键

使用Mybatis的@Insert自动返回主键 entity mapper 注意:如果使用了@Param,则在keyProperty中必须指定为keyProperty = “eo.id”,否则获取不到主键
相关文章
相关标签/搜索