mirror of
https://gitee.com/best_handsome/mybatis-plus-join
synced 2025-07-11 00:02:22 +08:00
注释更正
This commit is contained in:
parent
01e12d6a6f
commit
15fefbd458
@ -224,14 +224,14 @@ public class KtLambdaWrapper<T> extends KtAbstractLambdaWrapper<T, KtLambdaWrapp
|
|||||||
/**
|
/**
|
||||||
* union
|
* union
|
||||||
* <p>
|
* <p>
|
||||||
* 推荐使用 union(Class<U> clazz, Consumer<MPJLambdaWrapper<U>> consumer)
|
* 推荐使用 union(Class<U> clazz, Consumer<MPJLambdaWrapper<U>> consumer)
|
||||||
* 例: wrapper.union(UserDO.class, union -> union.selectAll(UserDO.class))
|
* 例: wrapper.union(UserDO.class, union -> union.selectAll(UserDO.class))
|
||||||
*
|
*
|
||||||
* @see #union(Class, Consumer)
|
* @see #union(Class, Consumer)
|
||||||
* @deprecated union 不支持子查询
|
* @deprecated union 不支持子查询
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
@SuppressWarnings("DeprecatedIsStillUsed")
|
@SuppressWarnings("ALL")
|
||||||
public final KtLambdaWrapper<T> union(KtLambdaWrapper<?>... wrappers) {
|
public final KtLambdaWrapper<T> union(KtLambdaWrapper<?>... wrappers) {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
for (KtLambdaWrapper<?> wrapper : wrappers) {
|
for (KtLambdaWrapper<?> wrapper : wrappers) {
|
||||||
@ -272,14 +272,14 @@ public class KtLambdaWrapper<T> extends KtAbstractLambdaWrapper<T, KtLambdaWrapp
|
|||||||
/**
|
/**
|
||||||
* union
|
* union
|
||||||
* <p>
|
* <p>
|
||||||
* 推荐使用 unionAll(Class<U> clazz, Consumer<MPJLambdaWrapper<U>> consumer)
|
* 推荐使用 unionAll(Class<U> clazz, Consumer<MPJLambdaWrapper<U>> consumer)
|
||||||
* 例: wrapper.unionAll(UserDO.class, union -> union.selectAll(UserDO.class))
|
* 例: wrapper.unionAll(UserDO.class, union -> union.selectAll(UserDO.class))
|
||||||
*
|
*
|
||||||
* @see #unionAll(Class, Consumer)
|
* @see #unionAll(Class, Consumer)
|
||||||
* @deprecated union 不支持子查询
|
* @deprecated union 不支持子查询
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
@SuppressWarnings("DeprecatedIsStillUsed")
|
@SuppressWarnings("ALL")
|
||||||
public final KtLambdaWrapper<T> unionAll(KtLambdaWrapper<?>... wrappers) {
|
public final KtLambdaWrapper<T> unionAll(KtLambdaWrapper<?>... wrappers) {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
for (KtLambdaWrapper<?> wrapper : wrappers) {
|
for (KtLambdaWrapper<?> wrapper : wrappers) {
|
||||||
|
@ -227,7 +227,8 @@ public class MPJLambdaWrapper<T> extends JoinAbstractLambdaWrapper<T, MPJLambdaW
|
|||||||
/**
|
/**
|
||||||
* union
|
* union
|
||||||
* <p>
|
* <p>
|
||||||
* 推荐使用 union(Class<U> clazz, Consumer<MPJLambdaWrapper<U>> consumer)
|
* 推荐使用 union(Class<U> clazz, ConsumerConsumer<MPJLambdaWrapper<U>> consumer)
|
||||||
|
* <p>
|
||||||
* 例: wrapper.union(UserDO.class, union -> union.selectAll(UserDO.class))
|
* 例: wrapper.union(UserDO.class, union -> union.selectAll(UserDO.class))
|
||||||
*
|
*
|
||||||
* @see #union(Class, Consumer)
|
* @see #union(Class, Consumer)
|
||||||
@ -275,7 +276,8 @@ public class MPJLambdaWrapper<T> extends JoinAbstractLambdaWrapper<T, MPJLambdaW
|
|||||||
/**
|
/**
|
||||||
* union
|
* union
|
||||||
* <p>
|
* <p>
|
||||||
* 推荐使用 unionAll(Class<U> clazz, Consumer<MPJLambdaWrapper<U>> consumer)
|
* 推荐使用 unionAll(Class<U> clazz, Consumer<MPJLambdaWrapper<U>> consumer)
|
||||||
|
* <p>
|
||||||
* 例: wrapper.unionAll(UserDO.class, union -> union.selectAll(UserDO.class))
|
* 例: wrapper.unionAll(UserDO.class, union -> union.selectAll(UserDO.class))
|
||||||
*
|
*
|
||||||
* @see #unionAll(Class, Consumer)
|
* @see #unionAll(Class, Consumer)
|
||||||
|
@ -129,6 +129,7 @@ public class UpdateJoinWrapper<T> extends JoinAbstractLambdaWrapper<T, UpdateJoi
|
|||||||
return typedThis;
|
return typedThis;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("DuplicatedCode")
|
||||||
@Override
|
@Override
|
||||||
public String getSqlSet() {
|
public String getSqlSet() {
|
||||||
if (StringUtils.isNotBlank(sqlSetStr.getStringValue())) {
|
if (StringUtils.isNotBlank(sqlSetStr.getStringValue())) {
|
||||||
|
@ -54,7 +54,6 @@ public class MybatisLabel<E, T> implements Label<T> {
|
|||||||
/**
|
/**
|
||||||
* 自动构建
|
* 自动构建
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
public Builder(String index, String property, Class<E> entityClass, Class<?> javaType) {
|
public Builder(String index, String property, Class<E> entityClass, Class<?> javaType) {
|
||||||
this.mybatisLabel = new MybatisLabel<>();
|
this.mybatisLabel = new MybatisLabel<>();
|
||||||
mybatisLabel.property = property;
|
mybatisLabel.property = property;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user