package com.elin4it.ssm.pojo;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
public class UserExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public UserExample() {
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));
}
protected void addCriterionForJDBCDate(String condition, Date value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
addCriterion(condition, new java.sql.Date(value.getTime()), property);
}
protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
if (values == null || values.size() == 0) {
throw new RuntimeException("Value list for " + property + " cannot be null or empty");
}
List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
Iterator<Date> iter = values.iterator();
while (iter.hasNext()) {
dateList.add(new java.sql.Date(iter.next().getTime()));
}
addCriterion(condition, dateList, property);
}
protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
}
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 andUsernameIsNull() {
addCriterion("username is null");
return (Criteria) this;
}
public Criteria andUsernameIsNotNull() {
addCriterion("username is not null");
return (Criteria) this;
}
public Criteria andUsernameEqualTo(String value) {
addCriterion("username =", value, "username");
return (Criteria) this;
}
public Criteria andUsernameNotEqualTo(String value) {
addCriterion("username <>", value, "username");
return (Criteria) this;
}
public Criteria andUsernameGreaterThan(String value) {
addCriterion("username >", value, "username");
return (Criteria) this;
}
public Criteria andUsernameGreaterThanOrEqualTo(String value) {
addCriterion("username >=", value, "username");
return (Criteria) this;
}
public Criteria andUsernameLessThan(String value) {
addCriterion("username <", value, "username");
return (Criteria) this;
}
public Criteria andUsernameLessThanOrEqualTo(String value) {
addCriterion("username <=", value, "username");
return (Criteria) this;
}
public Criteria andUsernameLike(String value) {
addCriterion("username like", value, "username");
return (Criteria) this;
}
public Criteria andUsernameNotLike(String value) {
addCriterion("username not like", value, "username");
return (Criteria) this;
}
public Criteria andUsernameIn(List<String> values) {
addCriterion("username in", values, "username");
return (Criteria) this;
}
public Criteria andUsernameNotIn(List<String> values) {
addCriterion("username not in", values, "username");
return (
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例 基于SpringMVC+Spring+MyBatis+Maven项目案例
资源推荐
资源详情
资源评论
收起资源包目录
基于SpringMVC+Spring+MyBatis+Maven项目案例.zip (115个子文件)
UserExample$GeneratedCriteria.class 13KB
UserExample$GeneratedCriteria.class 13KB
UserExample$Criteria.class 7KB
UserExample$Criteria.class 7KB
UserController.class 3KB
UserController.class 3KB
UserExample$Criterion.class 2KB
UserExample$Criterion.class 2KB
UserExample.class 2KB
UserExample.class 2KB
UserServiceImpl.class 2KB
UserServiceImpl.class 2KB
User.class 1KB
User.class 1KB
UserMapper.class 1KB
UserMapper.class 1KB
UserService.class 487B
UserService.class 487B
ssm.iml 4KB
aspectjweaver-1.8.6.jar 1.78MB
mybatis-3.3.0.jar 1.35MB
spring-context-4.1.1.RELEASE.jar 1003KB
spring-core-4.1.1.RELEASE.jar 981KB
spring-webmvc-4.1.1.RELEASE.jar 757KB
spring-beans-4.1.1.RELEASE.jar 687KB
mysql-connector-java-5.1.6.jar 687KB
spring-web-4.1.1.RELEASE.jar 684KB
mchange-commons-java-0.2.10.jar 592KB
spring-test-4.1.1.RELEASE.jar 490KB
c3p0-0.9.5.1.jar 486KB
spring-jdbc-4.1.1.RELEASE.jar 418KB
jstl-1.2.jar 405KB
spring-aop-4.1.1.RELEASE.jar 351KB
spring-tx-4.1.1.RELEASE.jar 246KB
spring-expression-4.1.1.RELEASE.jar 244KB
spring-context-support-4.1.1.RELEASE.jar 173KB
aspectjrt-1.8.6.jar 115KB
servlet-api-2.5.jar 103KB
spring-oxm-4.1.1.RELEASE.jar 80KB
commons-logging-1.1.3.jar 61KB
mybatis-spring-1.2.3.jar 50KB
aopalliance-1.0.jar 4KB
UserExample.java 17KB
UserController.java 2KB
User.java 1001B
UserMapper.java 931B
UserServiceImpl.java 885B
UserService.java 396B
findUser.jsp 625B
findUser.jsp 625B
index.jsp 52B
index.jsp 52B
MANIFEST.MF 87B
db.properties 148B
db.properties 148B
db.properties 148B
user.sql 954B
workspace.xml 82KB
UserMapper.xml 7KB
UserMapper.xml 7KB
UserMapper.xml 7KB
pom.xml 5KB
ssm_war_exploded.xml 3KB
generatorConfig.xml 3KB
generatorConfig.xml 3KB
generatorConfig.xml 3KB
applicationContext-dao.xml 2KB
applicationContext-dao.xml 2KB
applicationContext-dao.xml 2KB
web.xml 2KB
web.xml 2KB
applicationContext-transaction.xml 1KB
applicationContext-transaction.xml 1KB
applicationContext-transaction.xml 1KB
compiler.xml 1KB
misc.xml 1KB
springmvc.xml 1KB
springmvc.xml 1KB
springmvc.xml 1KB
Maven__org_springframework_spring_context_support_4_1_1_RELEASE.xml 681B
Maven__org_springframework_spring_expression_4_1_1_RELEASE.xml 646B
Maven__org_springframework_spring_context_4_1_1_RELEASE.xml 625B
Maven__org_springframework_spring_webmvc_4_1_1_RELEASE.xml 618B
Maven__org_springframework_spring_beans_4_1_1_RELEASE.xml 611B
Maven__org_springframework_spring_test_4_1_1_RELEASE.xml 604B
Maven__org_springframework_spring_core_4_1_1_RELEASE.xml 604B
Maven__org_springframework_spring_jdbc_4_1_1_RELEASE.xml 604B
Maven__org_springframework_spring_web_4_1_1_RELEASE.xml 597B
Maven__org_springframework_spring_oxm_4_1_1_RELEASE.xml 597B
Maven__org_springframework_spring_aop_4_1_1_RELEASE.xml 597B
Maven__org_springframework_spring_tx_4_1_1_RELEASE.xml 590B
Maven__com_mchange_mchange_commons_java_0_2_10.xml 586B
applicationContext-service.xml 576B
applicationContext-service.xml 576B
applicationContext-service.xml 576B
Maven__commons_logging_commons_logging_1_1_3.xml 560B
Maven__mysql_mysql_connector_java_5_1_6.xml 555B
Maven__org_mybatis_mybatis_spring_1_2_3.xml 537B
Maven__org_aspectj_aspectjweaver_1_8_6.xml 530B
Maven__org_hamcrest_hamcrest_core_1_3.xml 520B
共 115 条
- 1
- 2
资源评论
辣椒种子
- 粉丝: 3307
- 资源: 5724
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功