com.gitee.hengboy.mybatis.enhance.dsl.where.sql.ColumnWhereSQL Maven / Gradle / Ivy
package com.gitee.hengboy.mybatis.enhance.dsl.where.sql;
import com.gitee.hengboy.mybatis.enhance.dsl.expression.ColumnExpression;
import com.gitee.hengboy.mybatis.enhance.dsl.where.sql.entity.ColumnWhereSQLEntity;
import com.gitee.hengboy.mybatis.enhance.exception.EnhanceFrameworkException;
/**
* 查询参数SQL生成接口
* 如:
* xx = value
* xx in (value1,value2)
* xx not in (value1,value2)
*
*
* @author:于起宇
* ================================
* Created with IDEA.
* Date:2018/8/10
* Time:2:40 PM
* 简书:http://www.jianshu.com/u/092df3f77bca
* 码云:https://gitee.com/hengboy
* GitHub:https://github.com/hengyuboy
* ================================
*
*/
public interface ColumnWhereSQL {
/**
* 获取指定列的查询条件
*
* @param columnExpression 列表达式
* @param index 查询条件索引位置
* @return 查询条件实体
* @throws EnhanceFrameworkException 框架异常
*/
ColumnWhereSQLEntity getColumnWhere(ColumnExpression columnExpression, int index) throws EnhanceFrameworkException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy