Mybatis中,当插入数据后,返回最新主键id(注解方式)

@Options(useGeneratedKeys = true, keyProperty = "id")

 

posted @ 2019-02-24 16:04  民院小青年  阅读(5879)  评论(1编辑  收藏  举报