Born To Simplify Development
添加 微信 wx153666
备注进 mp 群
不允许非法项目使用,后果自负
MyBatis-Plus is an powerful enhanced toolkit of MyBatis for simplify development. This toolkit provides some efficient, useful, out-of-the-box features for MyBatis, use it can effectively save your development time.
Add MyBatis-Plus dependency
Modify mapper file extends BaseMapper interface
public interface UserMapper extends BaseMapper<User> {
}
Use it
List<User> userList = userMapper.selectList(
new QueryWrapper<User>()
.lambda()
.ge(User::getAge, 18)
);
MyBatis-Plus will execute the following SQL
SELECT * FROM user WHERE age >= 18
This showcase is just a small part of MyBatis-Plus features. If you want to learn more, please refer to the documentation.
MyBatis-Plus is under the Apache 2.0 license. See the Apache License 2.0 file for details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
Activity
Community
Health
Trend
Influence
:Code submit frequency
:React/respond to issue & PR etc.
:Well-balanced team members and collaboration
:Recent popularity of project
:Star counts, download counts etc.