58 lines
1017 B
Java
58 lines
1017 B
Java
package aiyh.utils.sqlUtil.whereUtil;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* @author EBU7-dev1-ay
|
|
* @date 2021/8/23 0023 13:00
|
|
* wherevalue 接口
|
|
*/
|
|
|
|
public interface WhereOperator {
|
|
Where whereNull();
|
|
|
|
Where whereNotNull();
|
|
|
|
Where whereEqual(Object value);
|
|
|
|
Where whereNotEqual(Object value);
|
|
|
|
Where greaterThan(Object value);
|
|
|
|
Where lessThan(Object value);
|
|
|
|
Where greaterOrEqual(Object value);
|
|
|
|
Where lessThanOrEqual(Object value);
|
|
|
|
Where BetweenAnd(Object start, Object end);
|
|
|
|
Where whereIn(Object ...values);
|
|
|
|
Where whereInList(List<Object> list);
|
|
|
|
Where whereNotIn(Object... values);
|
|
|
|
Where whereNotInList(List<Object> list);
|
|
|
|
Where inSql(Object sql);
|
|
|
|
Where notInSql(Object sql);
|
|
|
|
Where whereLike(Object value);
|
|
|
|
Where whereNotLike(Object value);
|
|
|
|
Where whereExists(Object ...values);
|
|
|
|
Where whereNotExists(Object ...values);
|
|
|
|
Where whereExistsList(List<Object> list);
|
|
|
|
Where whereNotExistsList(List<Object> list);
|
|
|
|
Where whereExistsSql(Object sql);
|
|
|
|
Where whereNotExistsSql(Object sql);
|
|
}
|