com.github.yooryan.advancequery.dialects.IDialectAdvanceQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mybatis-advance-query Show documentation
Show all versions of mybatis-advance-query Show documentation
This is a MyBaits plug-in that provides automatic build of advanced query.
package com.github.yooryan.advancequery.dialects;
import com.github.yooryan.advancequery.AdvanceQuery;
import com.github.yooryan.advancequery.AdvanceQueryModel;
import com.github.yooryan.advancequery.toolkit.StringPool;
import java.util.List;
/**
* @author linyunrui
*/
public interface IDialectAdvanceQuery {
/**
* 换行符
*/
String TAB = StringPool.TAB;
/**
* 变量别名
*/
String ALIAS_TEMP = "temp.";
/**
* and
*/
String AND = StringPool.AND;
/**
* ?
*/
String QUESTIO_NMARK = StringPool.QUESTION_MARK;
/**
* 构建高级查询sql
* @param advanceQueries 查询条件对象
* @param originalSql 原始sql
* @return 高级查询sql
*/
AdvanceQueryModel buildAdvanceQuerySql(List advanceQueries, String originalSql);
}