All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.yulichang.toolkit.MPJWrappers Maven / Gradle / Ivy

There is a newer version: 1.5.2
Show newest version
package com.github.yulichang.toolkit;

import com.github.yulichang.query.MPJQueryWrapper;
import com.github.yulichang.wrapper.MPJLambdaWrapper;

/**
 * Wrapper 条件构造
 *
 * @author yulichang
 * @see JoinWrappers
 */
@SuppressWarnings("unused")
public class MPJWrappers {

    /**
     * MPJWrappers.<UserDO>query()
     */
    public static  MPJQueryWrapper queryJoin() {
        return new MPJQueryWrapper<>();
    }

    public static  MPJQueryWrapper queryJoin(T entity) {
        return new MPJQueryWrapper<>(entity);
    }

    public static  MPJQueryWrapper queryJoin(Class entityClass) {
        return new MPJQueryWrapper<>(entityClass);
    }

    /**
     * MPJWrappers.<UserDO>lambda()
     */
    public static  MPJLambdaWrapper lambdaJoin() {
        return new MPJLambdaWrapper<>();
    }

    public static  MPJLambdaWrapper lambdaJoin(T entity) {
        return new MPJLambdaWrapper<>(entity);
    }

    public static  MPJLambdaWrapper lambdaJoin(Class entityClass) {
        return new MPJLambdaWrapper<>(entityClass);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy