package com.atguigu.curd.bean;
import java.util.ArrayList;
import java.util.List;
public class EmployeeExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public EmployeeExample() {
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 andEmpIdIsNull() {
addCriterion("emp_id is null");
return (Criteria) this;
}
public Criteria andEmpIdIsNotNull() {
addCriterion("emp_id is not null");
return (Criteria) this;
}
public Criteria andEmpIdEqualTo(Integer value) {
addCriterion("emp_id =", value, "empId");
return (Criteria) this;
}
public Criteria andEmpIdNotEqualTo(Integer value) {
addCriterion("emp_id <>", value, "empId");
return (Criteria) this;
}
public Criteria andEmpIdGreaterThan(Integer value) {
addCriterion("emp_id >", value, "empId");
return (Criteria) this;
}
public Criteria andEmpIdGreaterThanOrEqualTo(Integer value) {
addCriterion("emp_id >=", value, "empId");
return (Criteria) this;
}
public Criteria andEmpIdLessThan(Integer value) {
addCriterion("emp_id <", value, "empId");
return (Criteria) this;
}
public Criteria andEmpIdLessThanOrEqualTo(Integer value) {
addCriterion("emp_id <=", value, "empId");
return (Criteria) this;
}
public Criteria andEmpIdIn(List<Integer> values) {
addCriterion("emp_id in", values, "empId");
return (Criteria) this;
}
public Criteria andEmpIdNotIn(List<Integer> values) {
addCriterion("emp_id not in", values, "empId");
return (Criteria) this;
}
public Criteria andEmpIdBetween(Integer value1, Integer value2) {
addCriterion("emp_id between", value1, value2, "empId");
return (Criteria) this;
}
public Criteria andEmpIdNotBetween(Integer value1, Integer value2) {
addCriterion("emp_id not between", value1, value2, "empId");
return (Criteria) this;
}
public Criteria andEmpNameIsNull() {
addCriterion("emp_name is null");
return (Criteria) this;
}
public Criteria andEmpNameIsNotNull() {
addCriterion("emp_name is not null");
return (Criteria) this;
}
public Criteria andEmpNameEqualTo(String value) {
addCriterion("emp_name =", value, "empName");
return (Criteria) this;
}
public Criteria andEmpNameNotEqualTo(String value) {
addCriterion("emp_name <>", value, "empName");
return (Criteria) this;
}
public Criteria andEmpNameGreaterThan(String value) {
addCriterion("emp_name >", value, "empName");
return (Criteria) this;
}
public Criteria andEmpNameGreaterThanOrEqualTo(String value) {
addCriterion("emp_name >=", value, "empName");
return (Criteria) this;
}
public Criteria andEmpNameLessThan(String value) {
addCriterion("emp_name <", value, "empName");
return (Criteria) this;
}
public Criteria andEmpNameLessThanOrEqualTo(String value) {
addCriterion("emp_name <=", value, "empName");
return (Criteria) this;
}
public Criteria andEmpNameLike(String value) {
addCriterion("emp_name like", value, "empName");
return (Criteria) this;
}
public Criteria andEmpNameNotLike(String value) {
addCriterion("emp_name not like", value, "empName");
return (Criteria) this;
}
public Criteria andEmpNameIn(List<String> values) {
addCriterion("emp_name in", values, "empName");
return (Criteria) this;
}
public Criteria andEmpNameNotIn(List<String> values) {
addCriterion("emp_name not in", values, "empName");
return (Criteria) this;
}
public Criteria andEmpNameBetween(String value1, String value2) {
addCriterion("emp_name between", value1, value2, "empName");
return (Criteria) this;
}
public Criteria andEmpNameNotBetween(String value1, String value2) {
addCriterion("emp_name not between", value1, value2, "empName");
return (Criteria) this;
}
public Criteria andGenderIsNull() {
addCriterion("gender is null");
return (Criteria) this;
}
public Criteria andGenderIsNotNull() {
addCriterion("gender is not null");
return (Criteria) this;
}
public Criteria andGenderEqualTo(String value) {
addCriterion("gender =", value, "gender");
return (Criteria) this;
}
public Criteria andGenderNotEqualTo(String value) {
addCriterion("gender <>", value, "gender");
return (Criteria) this;
}
没有合适的资源?快使用搜索试试~ 我知道了~
ssm-crud整合项目源码
共167个文件
class:40个
jar:31个
xml:20个
5星 · 超过95%的资源 需积分: 40 17 下载量 25 浏览量
2018-08-15
18:06:50
上传
评论 2
收藏 32.89MB ZIP 举报
温馨提示
SSM高级整合视频ssm-crud整合项目源码SSM高级整合视频ssm-crud整合项目源码SSM高级整合视频ssm-crud整合项目源码SSM高级整合视频ssm-crud整合项目源码
资源推荐
资源详情
资源评论
收起资源包目录
ssm-crud整合项目源码 (167个子文件)
EmployeeExample$GeneratedCriteria.class 11KB
EmployeeExample$GeneratedCriteria.class 11KB
EmployeeExample$Criteria.class 7KB
EmployeeExample$Criteria.class 7KB
DepartmentExample$GeneratedCriteria.class 6KB
DepartmentExample$GeneratedCriteria.class 6KB
EmployeeController.class 6KB
EmployeeController.class 6KB
MvcTest.class 4KB
MvcTest.class 4KB
DepartmentExample$Criteria.class 4KB
DepartmentExample$Criteria.class 4KB
Employee.class 3KB
Employee.class 3KB
EmployeeService.class 3KB
EmployeeService.class 3KB
DepartmentExample$Criterion.class 2KB
DepartmentExample$Criterion.class 2KB
EmployeeExample$Criterion.class 2KB
EmployeeExample$Criterion.class 2KB
DepartmentExample.class 2KB
DepartmentExample.class 2KB
EmployeeExample.class 2KB
EmployeeExample.class 2KB
MapperTest.class 2KB
MapperTest.class 2KB
Msg.class 2KB
Msg.class 2KB
MBGTest.class 2KB
MBGTest.class 2KB
DepartmentController.class 1KB
DepartmentController.class 1KB
EmployeeMapper.class 1KB
EmployeeMapper.class 1KB
DepartmentMapper.class 1KB
DepartmentMapper.class 1KB
Department.class 1KB
Department.class 1KB
DepartmentService.class 1008B
DepartmentService.class 1008B
.classpath 2KB
org.eclipse.wst.common.component 769B
org.eclipse.wst.jsdt.ui.superType.container 49B
bootstrap.css 143KB
bootstrap.css 143KB
bootstrap.min.css 118KB
bootstrap.min.css 118KB
bootstrap-theme.css 26KB
bootstrap-theme.css 26KB
bootstrap-theme.min.css 23KB
bootstrap-theme.min.css 23KB
glyphicons-halflings-regular.eot 20KB
glyphicons-halflings-regular.eot 20KB
mysql-connector-java-8.0.12.jar 1.93MB
aspectjweaver-1.8.9.jar 1.78MB
mybatis-3.4.2.jar 1.52MB
jackson-databind-2.9.0.jar 1.27MB
hibernate-validator-6.0.10.Final.jar 1.08MB
spring-context-4.3.0.RELEASE.jar 1.08MB
spring-core-4.3.0.RELEASE.jar 1.06MB
spring-webmvc-4.3.0.RELEASE.jar 884KB
spring-web-4.3.0.RELEASE.jar 790KB
spring-beans-4.3.0.RELEASE.jar 736KB
c3p0-0.9.1.jar 594KB
protobuf-java-2.6.0.jar 582KB
spring-test-4.3.0.RELEASE.jar 574KB
mybatis-generator-core-1.3.5.jar 543KB
spring-jdbc-4.3.0.RELEASE.jar 416KB
jstl-1.2.jar 405KB
spring-aop-4.3.0.RELEASE.jar 371KB
jsqlparser-1.0.jar 356KB
jackson-core-2.9.0.jar 313KB
junit-4.12.jar 308KB
spring-tx-4.3.0.RELEASE.jar 261KB
spring-expression-4.3.0.RELEASE.jar 258KB
validation-api-2.0.1.Final.jar 91KB
pagehelper-5.1.4.jar 79KB
jackson-annotations-2.9.0.jar 65KB
jboss-logging-3.3.2.Final.jar 65KB
classmate-1.3.4.jar 64KB
commons-logging-1.2.jar 60KB
spring-aspects-4.3.0.RELEASE.jar 57KB
mybatis-spring-1.3.1.jar 52KB
hamcrest-core-1.3.jar 44KB
EmployeeExample.java 16KB
DepartmentExample.java 10KB
EmployeeController.java 6KB
MvcTest.java 2KB
EmployeeService.java 2KB
MapperTest.java 2KB
Employee.java 2KB
Msg.java 1KB
EmployeeMapper.java 1KB
DepartmentMapper.java 931B
MBGTest.java 872B
DepartmentController.java 824B
Department.java 682B
DepartmentService.java 624B
jquery-1.12.4.min.js 95KB
jquery-1.12.4.min.js 95KB
共 167 条
- 1
- 2
资源评论
- highvision252020-03-30非常好的资源,感谢感谢
哨叶
- 粉丝: 0
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功