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

com.baomidou.mybatisplus.extension.conditions.ChainWrapper Maven / Gradle / Ivy

/*
 * Copyright (c) 2011-2022, baomidou ([email protected]).
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.baomidou.mybatisplus.extension.conditions;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 此接口没特殊意义,只是为了减少实现类的代码量,主要在 AbstractChainWrapper 抽象类上实现
 * 

以及 继承该接口的子接口能直接获取到 BaseMapper 和相应的 Wrapper

* * @author miemie * @since 2018-12-19 */ public interface ChainWrapper { /** * 获取 BaseMapper * * @return BaseMapper */ BaseMapper getBaseMapper(); /** * 获取最终拿去执行的 Wrapper * * @return Wrapper */ Wrapper getWrapper(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy