- 博客(1)
- 资源 (2)
- 收藏
- 关注
原创 mybatis-plus update更新操作的三种方式
mybatis-plus update更新操作的三种方式//只更新一个属性,把名字为rhb的用户年龄更新为18,其他属性不变UpdateWrapper<User> updateWrapper = new UpdateWrapper<>();updateWrapper.eq("name","rhb").set("age", 18);userMapper.update(null, updateWrapper);LambdaUpdateWrapper<User>.
2021-03-04 13:52:42
4332
1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人