- safeParam(String) - 类 中的静态方法com.github.yulichang.toolkit.sql.SqlScriptUtils
-
安全入参: #{入参}
- safeParam(String, String) - 类 中的静态方法com.github.yulichang.toolkit.sql.SqlScriptUtils
-
安全入参: #{入参,mapping}
- select(SFunction<T, ?>...) - 类 中的方法com.github.yulichang.query.MPJLambdaQueryWrapper
-
已过时。
SELECT 部分 SQL 设置
- select(String...) - 类 中的方法com.github.yulichang.query.MPJLambdaQueryWrapper
-
已过时。
- select(Class<T>, Predicate<TableFieldInfo>) - 类 中的方法com.github.yulichang.query.MPJLambdaQueryWrapper
-
已过时。
只针对主表
过滤查询的字段信息(主键除外!)
- select(String...) - 类 中的方法com.github.yulichang.query.MPJQueryWrapper
-
- select(Class<T>, Predicate<TableFieldInfo>) - 类 中的方法com.github.yulichang.query.MPJQueryWrapper
-
此方法只能用于主表
不好含主键
- select(SFunction<E, ?>...) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
设置查询字段
- select(Class<E>, Predicate<TableFieldInfo>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
过滤查询的字段信息(主键除外!)
- select(SFunction<S, ?>...) - 类 中的方法com.github.yulichang.wrapper.MPJLambdaWrapper
-
- select(Class<E>, Predicate<TableFieldInfo>) - 类 中的方法com.github.yulichang.wrapper.MPJLambdaWrapper
-
- selectAll(Class<T>) - 类 中的方法com.github.yulichang.query.MPJLambdaQueryWrapper
-
已过时。
查询主表全部字段
- selectAll(Class<?>, String) - 类 中的方法com.github.yulichang.query.MPJLambdaQueryWrapper
-
已过时。
查询表全部字段
- selectAll(Class<T>) - 类 中的方法com.github.yulichang.query.MPJQueryWrapper
-
查询主表全部字段
- selectAll(Class<?>, String) - 类 中的方法com.github.yulichang.query.MPJQueryWrapper
-
查询指定实体全部字段
- selectAll(Class<?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
查询实体类全部字段
- selectAll(Class<?>) - 类 中的方法com.github.yulichang.wrapper.MPJLambdaWrapper
-
- selectAs(SFunction<S, ?>, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
ignore
- selectAs(SFunction<S, ?>, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
别名查询
- selectAs(SFunction<S, ?>, String) - 类 中的方法com.github.yulichang.wrapper.MPJLambdaWrapper
-
- selectAvg(SFunction<S, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
MIN()
- selectAvg(SFunction<S, ?>, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectAvg(SFunction<S, ?>, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectAvg(boolean, SFunction<S, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectAvg(boolean, SFunction<S, ?>, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectAvg(boolean, SFunction<S, ?>, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectBatchIdsDeep(Collection<? extends Serializable>) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
查询(根据ID 批量查询)
- selectBatchIdsDeep(Collection<? extends Serializable>, SFunction<T, R>...) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
查询(根据ID 批量查询)
JDK 默认不推荐泛型数组,会引起 Java堆污染(Heap Pollution)
- selectBatchIdsDeep(Collection<? extends Serializable>, List<SFunction<T, R>>) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
针对可变参数堆污染提供的重载
list为null或空,会查询全部映射关系
例: selectBatchIdsDeep(idList, Arrays.asList(User::getId, ... ))
- selectByIdDeep(Serializable) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
根据 ID 查询 并关联全部映射
- selectByIdDeep(Serializable, SFunction<T, R>...) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
根据 ID 查询 并关联指定映射
JDK 默认不推荐泛型数组,会引起 Java堆污染(Heap Pollution)
- selectByIdDeep(Serializable, List<SFunction<T, R>>) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
针对可变参数堆污染提供的重载
list为null或空,会查询全部映射关系
例: selectByIdDeep(1, Arrays.asList(User::getId, ... ))
- selectByMapDeep(Map<String, Object>) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
查询(根据 columnMap 条件)
- selectByMapDeep(Map<String, Object>, SFunction<T, R>...) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
查询(根据 columnMap 条件)
JDK 默认不推荐泛型数组,会引起 Java堆污染(Heap Pollution)
- selectByMapDeep(Map<String, Object>, List<SFunction<T, R>>) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
针对可变参数堆污染提供的重载
list为null或空,会查询全部映射关系
例: selectByMapDeep(columnMap, Arrays.asList(User::getId, ... ))
- selectCount(SFunction<S, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
COUNT()
- selectCount(Object, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectCount(Object, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectCount(SFunction<S, ?>, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectCount(SFunction<S, ?>, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectCount(boolean, SFunction<S, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectCount(boolean, Object, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectCount(boolean, Object, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectCount(boolean, SFunction<S, ?>, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectCount(boolean, SFunction<S, ?>, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectFunc(boolean, BaseFuncEnum, Object, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
聚合函数查询
- selectFunc(boolean, BaseFuncEnum, SFunction<S, ?>, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectFunc(BaseFuncEnum, Object, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectFunc(BaseFuncEnum, SFunction<S, ?>, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectFunc(BaseFuncEnum, SFunction<S, ?>, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectFunc(BaseFuncEnum, SFunction<S, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectFunc(BaseFuncEnum, Object, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectFunc(boolean, BaseFuncEnum, SFunction<S, ?>, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectFunc(boolean, BaseFuncEnum, SFunction<S, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectFunc(boolean, BaseFuncEnum, Object, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectFunc(boolean, BaseFuncEnum, SFunction<S, ?>, String) - 类 中的方法com.github.yulichang.wrapper.MPJLambdaWrapper
-
- selectFunc(boolean, BaseFuncEnum, Object, String) - 类 中的方法com.github.yulichang.wrapper.MPJLambdaWrapper
-
- selectIgnore(String...) - 类 中的方法com.github.yulichang.query.MPJLambdaQueryWrapper
-
已过时。
忽略查询字段
用法: selectIgnore("t.id","t.sex","a.area")
- selectIgnore(SFunction<T, ?>...) - 类 中的方法com.github.yulichang.query.MPJLambdaQueryWrapper
-
已过时。
忽略查询字段
用法: selectIgnore("t.id","t.sex","a.area")
- selectIgnore(String...) - 类 中的方法com.github.yulichang.query.MPJQueryWrapper
-
忽略查询字段
用法: selectIgnore("t.id","t.sex","a.area")
- selectIgnore(SFunction<S, ?>...) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
忽略查询字段
用法: selectIgnore(UserDO::getId,UserDO::getSex)
注意: 一个selectIgnore只支持一个对象 如果要忽略多个实体的字段,请调用多次
.selectIgnore(UserDO::getId,UserDO::getSex)
.selectIgnore(UserAddressDO::getArea,UserAddressDO::getCity)
- selectIgnore(SFunction<S, ?>...) - 类 中的方法com.github.yulichang.wrapper.MPJLambdaWrapper
-
- selectJoinCount(MPJBaseJoin) - 接口 中的方法com.github.yulichang.base.mapper.MPJJoinMapper
-
根据 Wrapper 条件,查询总记录数
- selectJoinCount(MPJBaseJoin) - 接口 中的方法com.github.yulichang.base.service.MPJJoinService
-
根据 Wrapper 条件,查询总记录数
- SelectJoinCount - com.github.yulichang.method中的类
-
copy SelectCount
- SelectJoinCount() - 类 的构造器com.github.yulichang.method.SelectJoinCount
-
- selectJoinList(Class<DTO>, MPJBaseJoin) - 接口 中的方法com.github.yulichang.base.mapper.MPJJoinMapper
-
连表查询返回记录集合
- selectJoinList(Class<DTO>, MPJBaseJoin) - 接口 中的方法com.github.yulichang.base.service.MPJJoinService
-
连接查询返回集合
- SelectJoinList - com.github.yulichang.method中的类
-
copy SelectMaps
- SelectJoinList() - 类 的构造器com.github.yulichang.method.SelectJoinList
-
- selectJoinListPage(P, Class<DTO>, MPJBaseJoin) - 接口 中的方法com.github.yulichang.base.service.MPJJoinService
-
连接查询返回集合并分页
- selectJoinMap(MPJBaseJoin) - 接口 中的方法com.github.yulichang.base.mapper.MPJJoinMapper
-
连表查询返回Map
- selectJoinMap(MPJBaseJoin) - 接口 中的方法com.github.yulichang.base.service.MPJJoinService
-
连接查询返回Map
- SelectJoinMap - com.github.yulichang.method中的类
-
copy SelectMaps
- SelectJoinMap() - 类 的构造器com.github.yulichang.method.SelectJoinMap
-
- selectJoinMaps(MPJBaseJoin) - 接口 中的方法com.github.yulichang.base.mapper.MPJJoinMapper
-
连表查询返回Map集合
- selectJoinMaps(MPJBaseJoin) - 接口 中的方法com.github.yulichang.base.service.MPJJoinService
-
连接查询返回Map集合
- SelectJoinMaps - com.github.yulichang.method中的类
-
copy SelectMaps
- SelectJoinMaps() - 类 的构造器com.github.yulichang.method.SelectJoinMaps
-
- selectJoinMapsPage(P, MPJBaseJoin) - 接口 中的方法com.github.yulichang.base.mapper.MPJJoinMapper
-
连表查询返回Map集合并分页
- selectJoinMapsPage(P, MPJBaseJoin) - 接口 中的方法com.github.yulichang.base.service.MPJJoinService
-
连接查询返回Map集合并分页
- SelectJoinMapsPage - com.github.yulichang.method中的类
-
copy SelectMaps
- SelectJoinMapsPage() - 类 的构造器com.github.yulichang.method.SelectJoinMapsPage
-
- selectJoinOne(Class<DTO>, MPJBaseJoin) - 接口 中的方法com.github.yulichang.base.mapper.MPJJoinMapper
-
连表查询返回一条记录
- selectJoinOne(Class<DTO>, MPJBaseJoin) - 接口 中的方法com.github.yulichang.base.service.MPJJoinService
-
连接查询返回一条记录
- SelectJoinOne - com.github.yulichang.method中的类
-
copy SelectMaps
- SelectJoinOne() - 类 的构造器com.github.yulichang.method.SelectJoinOne
-
- selectJoinPage(P, Class<DTO>, MPJBaseJoin) - 接口 中的方法com.github.yulichang.base.mapper.MPJJoinMapper
-
连表查询返回记录集合并分页
- SelectJoinPage - com.github.yulichang.method中的类
-
copy SelectMaps
- SelectJoinPage() - 类 的构造器com.github.yulichang.method.SelectJoinPage
-
- selectLen(SFunction<S, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
LEN()
- selectLen(SFunction<S, ?>, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectLen(SFunction<S, ?>, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectLen(boolean, SFunction<S, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectLen(boolean, SFunction<S, ?>, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectLen(boolean, SFunction<S, ?>, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectListDeep(Wrapper<T>) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
根据 entity 条件,查询全部记录
- selectListDeep(Wrapper<T>, SFunction<T, R>...) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
根据 entity 条件,查询全部记录
JDK 默认不推荐泛型数组,会引起 Java堆污染(Heap Pollution)
- selectListDeep(Wrapper<T>, List<SFunction<T, R>>) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
针对可变参数堆污染提供的重载
list为null或空,会查询全部映射关系
例: selectListDeep(queryWrapper, Arrays.asList(User::getId, ... ))
- selectMapsDeep(Class<T>, Wrapper<T>) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
根据 Wrapper 条件,查询全部记录
- selectMapsDeep(Class<T>, Wrapper<T>, SFunction<T, R>...) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
根据 entity 条件,查询全部记录(并翻页)
JDK 默认不推荐泛型数组,会引起 Java堆污染(Heap Pollution)
- selectMapsDeep(Class<T>, Wrapper<T>, List<SFunction<T, R>>) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
针对可变参数堆污染提供的重载
list为null或空,会查询全部映射关系
例: selectMapsDeep(UserDO.class, queryWrapper, Arrays.asList(User::getId, ... ))
- selectMapsPageDeep(E, Class<T>, Wrapper<T>) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
根据 entity 条件,查询全部记录(并翻页)
- selectMapsPageDeep(E, Class<T>, Wrapper<T>, SFunction<T, R>...) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
根据 entity 条件,查询全部记录(并翻页)
JDK 默认不推荐泛型数组,会引起 Java堆污染(Heap Pollution)
- selectMapsPageDeep(E, Class<T>, Wrapper<T>, List<SFunction<T, R>>) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
针对可变参数堆污染提供的重载
list为null或空,会查询全部映射关系
例: selectMapsPage(page, UserDO.class, queryWrapper, Arrays.asList(User::getId, ... ))
- selectMax(SFunction<S, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
MAX()
- selectMax(SFunction<S, ?>, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectMax(SFunction<S, ?>, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectMax(boolean, SFunction<S, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectMax(boolean, SFunction<S, ?>, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectMax(boolean, SFunction<S, ?>, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectMin(SFunction<S, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
MIN()
- selectMin(SFunction<S, ?>, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectMin(SFunction<S, ?>, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectMin(boolean, SFunction<S, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectMin(boolean, SFunction<S, ?>, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectMin(boolean, SFunction<S, ?>, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectOneDeep(Wrapper<T>) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
根据 entity 条件,查询一条记录
- selectOneDeep(Wrapper<T>, SFunction<T, R>...) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
根据 entity 条件,查询一条记录
JDK 默认不推荐泛型数组,会引起 Java堆污染(Heap Pollution)
- selectOneDeep(Wrapper<T>, List<SFunction<T, R>>) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
针对可变参数堆污染提供的重载
list为null或空,会查询全部映射关系
例: selectOneDeep(queryWrapper, Arrays.asList(User::getId, ... ))
- selectPageDeep(E, Wrapper<T>) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
根据 entity 条件,查询全部记录(并翻页)
- selectPageDeep(E, Wrapper<T>, SFunction<T, R>...) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
根据 entity 条件,查询全部记录(并翻页)
JDK 默认不推荐泛型数组,会引起 Java堆污染(Heap Pollution)
- selectPageDeep(E, Wrapper<T>, List<SFunction<T, R>>) - 接口 中的方法com.github.yulichang.base.mapper.MPJDeepMapper
-
针对可变参数堆污染提供的重载
list为null或空,会查询全部映射关系
例: selectPageDeep(page, queryWrapper, Arrays.asList(User::getId, ... ))
- selectQuery(Class<?>, OnFunction, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
子查询
- selectQuery(Class<?>, OnFunction, SFunction<S, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
ignore
- selectQuery(Class<?>, OnFunction, String) - 类 中的方法com.github.yulichang.wrapper.MPJLambdaWrapper
-
- selectSum(SFunction<S, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
SUM()
- selectSum(SFunction<S, ?>, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectSum(SFunction<S, ?>, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectSum(boolean, SFunction<S, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectSum(boolean, SFunction<S, ?>, SFunction<X, ?>) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- selectSum(boolean, SFunction<S, ?>, String) - 接口 中的方法com.github.yulichang.wrapper.interfaces.Query
-
- SerializedLambda - com.github.yulichang.toolkit.support中的类
-
copy mp before 3.4.3
- SerializedLambda() - 类 的构造器com.github.yulichang.toolkit.support.SerializedLambda
-
- setApplicationContext(ApplicationContext) - 类 中的方法com.github.yulichang.toolkit.SpringContentUtils
-
- setParamAlias(String) - 类 中的方法com.github.yulichang.wrapper.MPJAbstractWrapper
-
参数别名设置,初始化时优先设置该值、重复设置异常
- SpringContentUtils - com.github.yulichang.toolkit中的类
-
spring容器工具类
- SpringContentUtils() - 类 的构造器com.github.yulichang.toolkit.SpringContentUtils
-
- sqlAlias(Class<?>) - 类 中的方法com.github.yulichang.method.MPJAbstractMethod
-
- sqlComment - 类 中的变量com.github.yulichang.wrapper.MPJAbstractWrapper
-
SQL注释
- sqlCount() - 类 中的方法com.github.yulichang.method.MPJAbstractMethod
-
- sqlFirst - 类 中的变量com.github.yulichang.wrapper.MPJAbstractWrapper
-
SQL起始语句
- sqlFrom() - 类 中的方法com.github.yulichang.method.MPJAbstractMethod
-
- SqlMethod - com.github.yulichang.method中的枚举
-
- SqlScriptUtils - com.github.yulichang.toolkit.sql中的类
-
copy mp 3.4.3 SqlScriptUtils
- SqlScriptUtils() - 类 的构造器com.github.yulichang.toolkit.sql.SqlScriptUtils
-
- sqlSelectColumns(TableInfo, boolean) - 类 中的方法com.github.yulichang.method.MPJAbstractMethod
-
- sqlWhereEntityWrapper(boolean, TableInfo) - 类 中的方法com.github.yulichang.method.MPJAbstractMethod
-
连表操作不考虑entity查询和逻辑删除
- stringQuery() - 类 中的方法com.github.yulichang.query.MPJLambdaQueryWrapper
-
已过时。
返回一个支持 lambda 函数写法的 wrapper