添加数据返回id

mapper.xml mapper -> insert -> selectKey

mybatis 单表的增删改查

 

 

mybatis 内置别名

mybatis 单表的增删改查

 

相关文章: