- 博客(1)
- 收藏
- 关注
原创 关于springBoot 使用Mybatis的@Options注解的使用
数据库中,id为自增。 @Insert("insert into blog(title, content, picture, createTime, updateTime, type, author) VALUES " + " (#{title},#{content},#{picture},#{createTime},#{updateTime},#{type},#{user.id}) ") @Options(useGeneratedKeys = true,keyProperty =
2020-11-15 14:03:12
1013
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人