package com.baidu.pojo;
import java.util.ArrayList;
import java.util.List;
public class UsersExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public UsersExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Integer value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Integer value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Integer value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Integer value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Integer value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Integer value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Integer> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Integer> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Integer value1, Integer value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Integer value1, Integer value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andNameIsNull() {
addCriterion("name is null");
return (Criteria) this;
}
public Criteria andNameIsNotNull() {
addCriterion("name is not null");
return (Criteria) this;
}
public Criteria andNameEqualTo(String value) {
addCriterion("name =", value, "name");
return (Criteria) this;
}
public Criteria andNameNotEqualTo(String value) {
addCriterion("name <>", value, "name");
return (Criteria) this;
}
public Criteria andNameGreaterThan(String value) {
addCriterion("name >", value, "name");
return (Criteria) this;
}
public Criteria andNameGreaterThanOrEqualTo(String value) {
addCriterion("name >=", value, "name");
return (Criteria) this;
}
public Criteria andNameLessThan(String value) {
addCriterion("name <", value, "name");
return (Criteria) this;
}
public Criteria andNameLessThanOrEqualTo(String value) {
addCriterion("name <=", value, "name");
return (Criteria) this;
}
public Criteria andNameLike(String value) {
addCriterion("name like", value, "name");
return (Criteria) this;
}
public Criteria andNameNotLike(String value) {
addCriterion("name not like", value, "name");
return (Criteria) this;
}
public Criteria andNameIn(List<String> values) {
addCriterion("name in", values, "name");
return (Criteria) this;
}
public Criteria andNameNotIn(List<String> values) {
addCriterion("name not in", values, "name");
return (Criteria) this;
}
public Criteria andNameBetween(String value1, String value2) {
addCriterion("name between", value1, value2, "name");
return (Criteria) this;
}
public Criteria andNameNotBetween(String value1, String value2) {
addCriterion("name not between", value1, value2, "name");
return (Criteria) this;
}
public Criteria andDidIsNull() {
addCriterion("did is null");
return (Criteria) this;
}
public Criteria andDidIsNotNull() {
addCriterion("did is not null");
return (Criteria) this;
}
public Criteria andDidEqualTo(Integer value) {
addCriterion("did =", value, "did");
return (Criteria) this;
}
public Criteria andDidNotEqualTo(Integer value) {
addCriterion("did <>", value, "did");
return (Criteria) this;
}
public Criteria andDidGreaterThan(Integer value) {
addCriterion("did >", value, "did");
return (Criteria) this;
}
public Criteria andDidGreaterThanOrEqualTo(Integer value) {
addCriterion("did >=", value, "did");
没有合适的资源?快使用搜索试试~ 我知道了~
springmvc+spring+mybatis增删改查直接部署修改数据库配置即可运行
共110个文件
jar:38个
class:17个
java:11个
需积分: 16 12 下载量 48 浏览量
2018-01-18
15:49:53
上传
评论
收藏 12.77MB ZIP 举报
温馨提示
springmvc+spring+mybatis增删改查直接部署修改数据库配置即可运行,适合新人学习
资源推荐
资源详情
资源评论
收起资源包目录
springmvc+spring+mybatis增删改查直接部署修改数据库配置即可运行 (110个子文件)
UsersExample$GeneratedCriteria.class 7KB
DeptExample$GeneratedCriteria.class 6KB
ViewAction.class 6KB
UserDao.class 4KB
Test1.class 3KB
PageUtil.class 2KB
UsersExample$Criterion.class 2KB
DeptExample$Criterion.class 2KB
UsersExample.class 2KB
DeptExample.class 2KB
Users.class 2KB
UserService.class 2KB
UsersMapper.class 1KB
DeptMapper.class 1008B
Dept.class 820B
UsersExample$Criteria.class 445B
DeptExample$Criteria.class 440B
.classpath 4KB
org.eclipse.wst.common.component 522B
org.eclipse.wst.jsdt.ui.superType.container 49B
global.css 6KB
dialog.css 864B
dialog.css 864B
page.css 585B
dialog.css 395B
jQueryDialog.htm 7KB
jQueryDialog.htm 7KB
aspectjweaver-1.6.11.jar 1.61MB
spring-core-3.2.0.RELEASE.jar 843KB
spring-context-3.2.0.RELEASE.jar 834KB
jackson-mapper-asl-1.9.11.jar 762KB
mybatis-3.2.7.jar 696KB
javassist-3.17.1-GA.jar 695KB
mysql-connector-java-5.1.7-bin.jar 693KB
log4j-core-2.0-rc1.jar 686KB
spring-webmvc-3.2.0.RELEASE.jar 621KB
spring-web-3.2.0.RELEASE.jar 610KB
spring-beans-3.2.0.RELEASE.jar 591KB
commons-collections-3.2.1.jar 562KB
log4j-1.2.17.jar 478KB
spring-test-3.2.0.RELEASE.jar 441KB
jstl-1.2.jar 405KB
spring-jdbc-3.2.0.RELEASE.jar 392KB
spring-orm-3.2.0.RELEASE.jar 383KB
spring-aop-3.2.0.RELEASE.jar 327KB
cglib-2.2.2.jar 280KB
commons-lang-2.6.jar 278KB
junit-4.9.jar 243KB
spring-tx-3.2.0.RELEASE.jar 235KB
jackson-core-asl-1.9.11.jar 227KB
commons-beanutils-1.8.3.jar 227KB
spring-expression-3.2.0.RELEASE.jar 189KB
json-lib-2.4-jdk15.jar 155KB
spring-context-support-3.2.0.RELEASE.jar 124KB
commons-dbcp-1.2.2.jar 119KB
log4j-api-2.0-rc1.jar 113KB
ezmorph-1.0.6.jar 84KB
spring-aspects-3.2.0.RELEASE.jar 68KB
commons-pool-1.3.jar 61KB
commons-logging-1.1.1.jar 59KB
mybatis-spring-1.2.2.jar 48KB
asm-3.3.1.jar 43KB
slf4j-api-1.7.5.jar 25KB
slf4j-log4j12-1.7.5.jar 9KB
aopalliance-1.0.jar 4KB
UsersExample.java 11KB
DeptExample.java 9KB
ViewAction.java 5KB
UserDao.java 4KB
PageUtil.java 3KB
Test1.java 2KB
UserService.java 1KB
Users.java 1KB
UsersMapper.java 1KB
DeptMapper.java 840B
Dept.java 418B
jquery-1.4.2.js 160KB
jquery.min.js 70KB
jquery.min.js 70KB
dialog.js 8KB
dialog.js 8KB
ui.js 7KB
html5.js 2KB
html5.js 2KB
dialog.js 207B
.jsdtscope 500B
list.jsp 3KB
userlist.jsp 1KB
list1.jsp 929B
index.jsp 834B
MANIFEST.MF 36B
.mymetadata 282B
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.jdt.core.prefs 364B
com.genuitec.eclipse.core.prefs 168B
.project 2KB
log4j.properties 279B
log4j.properties 279B
jdbc.properties 129B
jdbc.properties 129B
共 110 条
- 1
- 2
资源评论
ydyzzjsl
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功