package com.mrk.entity;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
public class EmpExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public EmpExample() {
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 andEmpnoIsNull() {
addCriterion("EMPNO is null");
return (Criteria) this;
}
public Criteria andEmpnoIsNotNull() {
addCriterion("EMPNO is not null");
return (Criteria) this;
}
public Criteria andEmpnoEqualTo(Integer value) {
addCriterion("EMPNO =", value, "empno");
return (Criteria) this;
}
public Criteria andEmpnoNotEqualTo(Integer value) {
addCriterion("EMPNO <>", value, "empno");
return (Criteria) this;
}
public Criteria andEmpnoGreaterThan(Integer value) {
addCriterion("EMPNO >", value, "empno");
return (Criteria) this;
}
public Criteria andEmpnoGreaterThanOrEqualTo(Integer value) {
addCriterion("EMPNO >=", value, "empno");
return (Criteria) this;
}
public Criteria andEmpnoLessThan(Integer value) {
addCriterion("EMPNO <", value, "empno");
return (Criteria) this;
}
public Criteria andEmpnoLessThanOrEqualTo(Integer value) {
addCriterion("EMPNO <=", value, "empno");
return (Criteria) this;
}
public Criteria andEmpnoIn(List<Integer> values) {
addCriterion("EMPNO in", values, "empno");
return (Criteria) this;
}
public Criteria andEmpnoNotIn(List<Integer> values) {
addCriterion("EMPNO not in", values, "empno");
return (Criteria) this;
}
public Criteria andEmpnoBetween(Integer value1, Integer value2) {
addCriterion("EMPNO between", value1, value2, "empno");
return (Criteria) this;
}
public Criteria andEmpnoNotBetween(Integer value1, Integer value2) {
addCriterion("EMPNO not between", value1, value2, "empno");
return (Criteria) this;
}
public Criteria andEnameIsNull() {
addCriterion("ENAME is null");
return (Criteria) this;
}
public Criteria andEnameIsNotNull() {
addCriterion("ENAME is not null");
return (Criteria) this;
}
public Criteria andEnameEqualTo(String value) {
addCriterion("ENAME =", value, "ename");
return (Criteria) this;
}
public Criteria andEnameNotEqualTo(String value) {
addCriterion("ENAME <>", value, "ename");
return (Criteria) this;
}
public Criteria andEnameGreaterThan(String value) {
addCriterion("ENAME >", value, "ename");
return (Criteria) this;
}
public Criteria andEnameGreaterThanOrEqualTo(String value) {
addCriterion("ENAME >=", value, "ename");
return (Criteria) this;
}
public Criteria andEnameLessThan(String value) {
addCriterion("ENAME <", value, "ename");
return (Criteria) this;
}
public Criteria andEnameLessThanOrEqualTo(String value) {
addCriterion("ENAME <=", value, "ename");
return (Criteria) this;
}
public Criteria andEnameLike(String value) {
addCriterion("ENAME like", value, "ename");
return (Criteria) this;
}
public Criteria andEnameNotLike(String value) {
addCriterion("ENAME not like", value, "ename");
return (Criteria) this;
}
public Criteria andEnameIn
没有合适的资源?快使用搜索试试~ 我知道了~
oracle+ssm+ajax+Bootstrap
共91个文件
class:20个
xml:16个
java:14个
4星 · 超过85%的资源 需积分: 9 16 下载量 132 浏览量
2017-11-20
20:45:35
上传
评论
收藏 1.15MB RAR 举报
温馨提示
oracle+ssm+ajax+Bootstrap实现最基础的增删改查,适合新手学习
资源推荐
资源详情
资源评论
收起资源包目录
ssm源码.rar (91个子文件)
ssm源码
ssm.avi 9.94MB
ssm
.project 1KB
src
test
resources
java
main
webapp
WEB-INF
jsp
list.jsp 4KB
classes
web.xml 3KB
bin
standard-1.1.2.jar 384KB
jstl-1.1.2.jar 20KB
resource
bootstrap
js
npm.js 484B
html5shiv.min.js 3KB
bootstrap.js 68KB
respond.min.js 4KB
bootstrap.min.js 36KB
fonts
glyphicons-halflings-regular.ttf 44KB
glyphicons-halflings-regular.woff2 18KB
glyphicons-halflings-regular.eot 20KB
glyphicons-halflings-regular.svg 106KB
glyphicons-halflings-regular.woff 23KB
css
bootstrap-theme.min.css.map 25KB
bootstrap-theme.css.map 47KB
bootstrap.min.css.map 529KB
bootstrap.min.css 118KB
bootstrap-theme.min.css 23KB
bootstrap-theme.css 26KB
bootstrap.css.map 380KB
bootstrap.css 143KB
js
index.js 11KB
jquery-3.2.1.min.js 85KB
index.jsp 7KB
META-INF
MANIFEST.MF 39B
index2.jsp 110B
resources
springmvc-servlet.xml 2KB
mapper
EmpMapper.xml 11KB
DeptMapper.xml 6KB
applicationContext-mybatis.xml 3KB
jdbc.properties 143B
mybatis-config.xml 539B
java
com
mrk
service
Empservice.java 1KB
Deptservice.java 402B
controller
DeptController.java 642B
EmpController.java 3KB
dao
DeptMapper.java 812B
EmpMapper.java 914B
test
MvcTest.java 2KB
MBGTest.java 933B
MapperTest.java 1KB
entity
DeptExample.java 12KB
Dept.java 718B
Msg.java 934B
EmpExample.java 23KB
Emp.java 2KB
target
m2e-jee
web-resources
META-INF
MANIFEST.MF 104B
maven
ssm
ssm
pom.properties 212B
pom.xml 6KB
classes
springmvc-servlet.xml 2KB
mapper
EmpMapper.xml 11KB
DeptMapper.xml 6KB
applicationContext-mybatis.xml 3KB
com
mrk
service
Deptservice.class 770B
Empservice.class 3KB
controller
DeptController.class 1KB
EmpController.class 4KB
dao
DeptMapper.class 942B
EmpMapper.class 1010B
test
MBGTest.class 2KB
MapperTest.class 1KB
MvcTest.class 2KB
entity
DeptExample$Criteria.class 4KB
EmpExample$Criteria.class 9KB
DeptExample.class 2KB
Emp.class 3KB
DeptExample$Criterion.class 2KB
EmpExample$GeneratedCriteria.class 17KB
DeptExample$GeneratedCriteria.class 8KB
EmpExample.class 2KB
EmpExample$Criterion.class 2KB
Msg.class 2KB
Dept.class 1KB
jdbc.properties 143B
mybatis-config.xml 539B
test-classes
MBG.xml 2KB
.settings
org.eclipse.wst.jsdt.ui.superType.container 49B
org.eclipse.wst.common.project.facet.core.xml 450B
org.eclipse.m2e.core.prefs 90B
org.eclipse.jdt.core.prefs 430B
org.eclipse.wst.validation.prefs 50B
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.wst.common.project.facet.core.prefs.xml 161B
org.eclipse.core.resources.prefs 191B
org.eclipse.wst.common.component 659B
.jsdtscope 530B
pom.xml 6KB
.classpath 1KB
共 91 条
- 1
资源评论
- zxq822018-04-28能跑起来,没有数据库脚本mrk_java2018-09-21嘿嘿 数据库用的就是oracle自带的 EMP表和DEPT表
mrk_java
- 粉丝: 2
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功