| 序号 | 类型 | 地址 |
| 1 | MySQL | MySQL操作之概念、SQL约束(一) |
| 2 | MySQL | MySQL操作之数据定义语言(DDL)(二) |
| 3 | MySQL | MySQL操作之数据操作语言(DML)(三) |
| 4 | MySQL | MySQL操作之数据查询语言:(DQL)(四-1)(单表操作) |
| 5 | MySQL | MySQL操作之数据查询语言:(DQL)(四-2)(多表查询) |
| 6 | MySQL | MySQL操作之数据控制语言:(DC)(五) |
| 7 | MySQL | MySQL操作之数据库函数 |
| 8 | MySQL | MySQL管理之数据类型 |
| 9 | MySQL | MySQL管理之索引 |
| 10 | MySQL | MySQL管理之事务管理 |
| 11 | MySQL | MySQL管理之存储过程 |
| 12 | MySQL | MySQL管理之视图 |
| 13 | MySQL | MySQL管理之数据备份与还原 |
| 14 | MySQL | Linux(centos 7.5)服务器安装MySQL |
| 15 | MyBatis | MyBatis从入门到多表关联 |
| 16 | MyBatis | MyBatis常用方法 |
| 17 | MyBatis | Mybatis逆向工程的使用(附文件地址) |
| 18 | MyBatis | spring boot连接Mybatis数据库的配置文件(MySql、SQLserver、Oracle) |
| 19 | MyBatis-Plus | Mybatis-Plus使用案例(包括初始化以及常用插件) |
| 20 | MyBatis-Plus | Mybatis-Plus(Service CRUD 接口) |
| 21 | MyBatis-Plus | Mybatis-plus 4种条件构造器方式 |
| 22 | MyBatis-Plus | Mybatis-Plus 执行自定义SQL |
| 23 | MyBatis-Plus | MyBatis-plus配置自定义SQL(执行用户传入SQL) |
| 24 | MyBatis-Plus | Mybatis-Plus(连接Hive) |
| 25 | MyBatis-Plus | Mybatis-Plus 代码生成器 |
分为4种条件构造器
new QueryWrappenew QueryWrapper<Customers>().lambda()new LambdaQueryWrapper<Customers>()Wrappers.lambdaQuery(Customers.class)
1、QueryWrapper
QueryWrapper
new QueryWrapper<Customers>() .eq("id", 1) .in("birth", "张三");
UpdateWrapper
UpdateWrapper<Customers> uw = new UpdateWrapper<Customers>() .eq("id", 1) .set("birth", "张三");
2、QueryWrapper.lambda
new QueryWrapper<Customers>().lambda() .eq(Customers::getId, 1) .in(Customers::getBirth, "");
LambdaUpdateWrapper<Customers> uw = new UpdateWrapper<Customers>().lambda() .eq(Customers::getId, 1) .set(Customers::getName, "张三");
3、LambdaQueryWrapper
new LambdaQueryWrapper<Customers>() .eq(Customers::getId, 1) .in(Customers::getBirth, "");
LambdaUpdateWrapper<Customers> uw = new LambdaUpdateWrapper<Customers>() .eq(Customers::getId, 1) .set(Customers::getName, "张三");
4、Wrappers
LambdaQueryWrapper<Customers> eq = Wrappers.lambdaQuery(Customers.class) .eq(Customers::getId, 1) .in(Customers::getBirth, "");
LambdaUpdateWrapper<Customers> uwnow = Wrappers.lambdaUpdate(Customers.class) .eq(Customers::getId, 1) .set(Customers::getName, "张三");