- lambda() - 类 中的方法top.tangyh.basic.database.mybatis.conditions.query.QueryWrap
-
返回一个支持 lambda 函数写法的 wrapper
- LampMetaObjectHandler - top.tangyh.basic.database.datasource中的类
-
MyBatis Plus 元数据处理类
用于自动 注入 id, createTime, updateTime, createdBy, updatedBy 等字段
判断逻辑:
1. insert 方法,自动填充 id, createTime, updateTime, createdBy, updatedBy 字段,字段为空则自动生成,不为空则使用传递进来的
2. update 方法,自动填充 id, updateTime, updatedBy 字段,字段为空则自动生成,不为空则使用传递进来的
注入值:
id: IdUtil.getSnowflake(workerId, dataCenterId);
createTime:LocalDateTime.now()
updateTime:LocalDateTime.now()
createdBy:BaseContextHandler.getUserId()
updatedBy:BaseContextHandler.getUserId()
- LampMetaObjectHandler() - 类 的构造器top.tangyh.basic.database.datasource.LampMetaObjectHandler
-
- LampSqlInjector - top.tangyh.basic.database.injector中的类
-
自定义sql 注入器
- LampSqlInjector() - 类 的构造器top.tangyh.basic.database.injector.LampSqlInjector
-
- languageDrivers - 类 中的变量top.tangyh.basic.database.datasource.BaseDatabaseConfiguration
-
- lbQ() - 类 中的静态方法top.tangyh.basic.database.mybatis.conditions.Wraps
-
获取 HyLambdaQueryWrapper<T>
- lbQ(T) - 类 中的静态方法top.tangyh.basic.database.mybatis.conditions.Wraps
-
获取 HyLambdaQueryWrapper<T>
- lbq(Entity, Map<String, Object>, Class<Entity>) - 类 中的静态方法top.tangyh.basic.database.mybatis.conditions.Wraps
-
- LbqWrapper<T> - top.tangyh.basic.database.mybatis.conditions.query中的类
-
类似 LambdaQueryWrapper 的增强 Wrapper
相比 LambdaQueryWrapper 的增强如下:
1,new QueryWrapper(T entity)时, 对entity 中的string字段 %和_ 符号进行转义,便于模糊查询
2,new QueryWrapper(T entity)时, 对entity 中 RemoteData 类型的字段 值为null或者 key为null或者""时,忽略拼接成查询条件
3,对nested、eq、ne、gt、ge、lt、le、in、*like*、 等方法 进行条件判断,null 或 "" 字段不加入查询
4,对*like*相关方法的参数 %和_ 符号进行转义,便于模糊查询
5,增加 leFooter 方法, 将日期参数值,强制转换成当天 23:59:59
6,增加 geHeader 方法, 将日期参数值,强制转换成当天 00:00:00
- LbqWrapper() - 类 的构造器top.tangyh.basic.database.mybatis.conditions.query.LbqWrapper
-
不建议直接 new 该实例,使用 Wrappers.lambdaQuery(entity)
- LbqWrapper(T) - 类 的构造器top.tangyh.basic.database.mybatis.conditions.query.LbqWrapper
-
不建议直接 new 该实例,使用 Wrappers.lambdaQuery(entity)
- LbqWrapper(Class<T>) - 类 的构造器top.tangyh.basic.database.mybatis.conditions.query.LbqWrapper
-
不建议直接 new 该实例,使用 Wraps.lbQ(entity)
- lbU() - 类 中的静态方法top.tangyh.basic.database.mybatis.conditions.Wraps
-
获取 HyLambdaQueryWrapper<T>
- lbU(T) - 类 中的静态方法top.tangyh.basic.database.mybatis.conditions.Wraps
-
获取 HyLambdaQueryWrapper<T>
- LbuWrapper<T> - top.tangyh.basic.database.mybatis.conditions.update中的类
-
修改构造器
1, 对nested、eq、ne、gt、ge、lt、le、in、*like*、 等方法 进行条件判断,null 或 "" 字段不加入查询
2,对*like*相关方法的参数 %和_ 符号进行转义,便于模糊查询
- LbuWrapper() - 类 的构造器top.tangyh.basic.database.mybatis.conditions.update.LbuWrapper
-
不建议直接 new 该实例,使用 Wrappers.lambdaUpdate()
- LbuWrapper(T) - 类 的构造器top.tangyh.basic.database.mybatis.conditions.update.LbuWrapper
-
不建议直接 new 该实例,使用 Wrappers.lambdaUpdate(entity)
- LbuWrapper(Class<T>) - 类 的构造器top.tangyh.basic.database.mybatis.conditions.update.LbuWrapper
-
不建议直接 new 该实例,使用 Wrappers.lambdaUpdate(entity)
- le(SFunction<T, ?>, Object) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.query.LbqWrapper
-
- le(String, Object) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.query.QueryWrap
-
- le(SFunction<T, ?>, Object) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.update.LbuWrapper
-
- LE - 类 中的静态变量top.tangyh.basic.database.mybatis.conditions.Wraps
-
小于等于
- leFooter(SFunction<T, ?>, LocalDateTime) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.query.LbqWrapper
-
- leFooter(SFunction<T, ?>, LocalDate) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.query.LbqWrapper
-
- leFooter(String, LocalDateTime) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.query.QueryWrap
-
- leFooter(String, LocalDate) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.query.QueryWrap
-
- LeftLikeTypeHandler - top.tangyh.basic.database.mybatis.typehandler中的类
-
仅仅用于like查询
- LeftLikeTypeHandler() - 类 的构造器top.tangyh.basic.database.mybatis.typehandler.LeftLikeTypeHandler
-
- like(SFunction<T, ?>, Object) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.query.LbqWrapper
-
- like(String, Object) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.query.QueryWrap
-
- like(SFunction<T, ?>, Object) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.update.LbuWrapper
-
- LIKE - 类 中的静态变量top.tangyh.basic.database.mybatis.conditions.Wraps
-
模糊
- LIKE_LEFT - 类 中的静态变量top.tangyh.basic.database.mybatis.conditions.Wraps
-
左模糊
- LIKE_RIGHT - 类 中的静态变量top.tangyh.basic.database.mybatis.conditions.Wraps
-
右模糊
- likeLeft(SFunction<T, ?>, Object) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.query.LbqWrapper
-
- likeLeft(String, Object) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.query.QueryWrap
-
- likeLeft(SFunction<T, ?>, Object) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.update.LbuWrapper
-
- likeRight(SFunction<T, ?>, Object) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.query.LbqWrapper
-
- likeRight(String, Object) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.query.QueryWrap
-
- likeRight(SFunction<T, ?>, Object) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.update.LbuWrapper
-
- lt(SFunction<T, ?>, Object) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.query.LbqWrapper
-
- lt(String, Object) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.query.QueryWrap
-
- lt(SFunction<T, ?>, Object) - 类 中的方法top.tangyh.basic.database.mybatis.conditions.update.LbuWrapper
-
- LT - 类 中的静态变量top.tangyh.basic.database.mybatis.conditions.Wraps
-
小于