⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 basequeryobject.java.svn-base

📁 EasyJWeb是基于java技术
💻 SVN-BASE
字号:
package com.easyjf.core.support.query;/** * 基础的查询对象类,包装了page信息和order信息 *  * @author stefanie wu *  */public class BaseQueryObject extends QueryObject {	protected boolean isDel = true;	protected boolean all = false;	public void setAll(boolean all) {		this.all = all;	}	public boolean isDel() {		return isDel;	}	public void setDel(boolean isDel) {		this.isDel = isDel;	}	@Override	public String getQuery() {		if (!all) {			if (isDel) {				addQuery("obj.status >= 0", null);			} else {				addQuery("obj.status = -1", null);			}		}		return super.getQuery();	}}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -