首页 > 学院 > 开发设计 > 正文

spring mybates 自增字段返回id

2019-11-06 08:10:52
字体:
来源:转载
供稿:网友

1.mapper.xml设置

useGeneratedKeys="true" keyPRoperty="groupid"

2.取id


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表