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

org.docshare.orm.SQLConstains Maven / Gradle / Ivy

Go to download

An efficient, fast, convenient, easy to learn, easy to use MVC framework and ORM framework. It is seamless compatible with JSTL and supports FreeMarker. It can run independently, and it can also be applied to traditional Java Web projects. It is an efficient, fast, convenient, easy to learn and easy to use MVC framework and ORM framework. It is seamless compatible with JSTL and supports FreeMarker. It can be run on its own, or it can be applied to traditional Java Web projects

There is a newer version: 2023.06.19
Show newest version
package org.docshare.orm;

public class SQLConstains {
	public static final int TYPE_EQ = 1;
	public static final int TYPE_GT = 2;
	public static final int TYPE_LT = 3;
	public static final int TYPE_GTE = 4;
	public static final int TYPE_LTE = 5;
	public static final int TYPE_NE = 6;
	public static final int TYPE_LIKE = 7;
	public static final int TYPE_ISNULL = 9;
	public static final int TYPE_ORDER = 50;
	public static final int TYPE_LIMIT = 100;
	public static final int TYPE_MLIKE = 8;
	public static final int TYPE_CUSTOM = 200;
	public int type ; 	  // 类型 
	public String column; // 列名
	public Object value;  // 值
	public Object value2; //第二个值
	public SQLConstains(int type, String column, Object value,Object value2) {
		super();
		this.type = type;
		this.column = column;
		this.value = value;
		this.value2 = value2;
	}
	public SQLConstains(int type, String column, Object value) {
		super();
		this.type = type;
		this.column = column;
		this.value = value;
	}
	@Override
	public String toString() {
		return "SQLConstains [type=" + type + ", column=" + column + ", value=" + value + ", value2=" + value2 + "]";
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy