package com.study.springcxf.entity;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;
public class CustomerExample {
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table t_customer
*
* @mbggenerated
*/
protected String orderByClause;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table t_customer
*
* @mbggenerated
*/
protected boolean distinct;
/**
* This field was generated by MyBatis Generator.
* This field corresponds to the database table t_customer
*
* @mbggenerated
*/
protected List<Criteria> oredCriteria;
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table t_customer
*
* @mbggenerated
*/
public CustomerExample() {
oredCriteria = new ArrayList<Criteria>();
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table t_customer
*
* @mbggenerated
*/
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table t_customer
*
* @mbggenerated
*/
public String getOrderByClause() {
return orderByClause;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table t_customer
*
* @mbggenerated
*/
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table t_customer
*
* @mbggenerated
*/
public boolean isDistinct() {
return distinct;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table t_customer
*
* @mbggenerated
*/
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table t_customer
*
* @mbggenerated
*/
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table t_customer
*
* @mbggenerated
*/
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table t_customer
*
* @mbggenerated
*/
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table t_customer
*
* @mbggenerated
*/
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
/**
* This method was generated by MyBatis Generator.
* This method corresponds to the database table t_customer
*
* @mbggenerated
*/
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
/**
* This class was generated by MyBatis Generator.
* This class corresponds to the database table t_customer
*
* @mbggenerated
*/
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("
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
Spring+Apache CXF+MyBatis+Maven实例 (112个子文件)
CustomerExample$GeneratedCriteria.class 21KB
CustomerExample$Criteria.class 12KB
ResourceExample$GeneratedCriteria.class 10KB
UserExample$GeneratedCriteria.class 10KB
UserResourceExample$GeneratedCriteria.class 6KB
ResourceExample$Criteria.class 6KB
UserExample$Criteria.class 6KB
PermissionServiceImpl.class 4KB
UserCheckInterceptor.class 3KB
UserResourceExample$Criteria.class 3KB
UserServiceImpl.class 3KB
Customer.class 2KB
UserResourceExample.class 2KB
UserResourceExample$Criterion.class 2KB
CustomerExample$Criterion.class 2KB
ResourceExample$Criterion.class 2KB
ResourceExample.class 2KB
CustomerExample.class 2KB
CustomerServiceImpl.class 2KB
UserExample$Criterion.class 2KB
UserExample.class 2KB
User.class 2KB
UserResourceServiceImpl.class 2KB
ResourceServiceImpl.class 2KB
Customer.class 1KB
Resource.class 1KB
User.class 1KB
ResourceMapper.class 1KB
CustomerMapper.class 1KB
UserMapper.class 1019B
CalculateServiceImpl.class 994B
UserResourceMapper.class 913B
UserResource.class 774B
MyBeanFactory.class 720B
UserService.class 713B
CalculateService.class 659B
MainTest.class 643B
CustomerService.class 563B
UserResourceService.class 321B
ResourceService.class 318B
PermissionService.class 233B
.classpath 1KB
org.eclipse.wst.common.component 671B
org.eclipse.wst.jsdt.ui.superType.container 49B
CustomerExample.java 30KB
UserExample.java 17KB
ResourceExample.java 14KB
UserResourceExample.java 12KB
Customer.java 8KB
Resource.java 3KB
User.java 3KB
CustomerMapper.java 3KB
ResourceMapper.java 3KB
UserMapper.java 3KB
PermissionServiceImpl.java 2KB
UserResourceMapper.java 2KB
UserCheckInterceptor.java 2KB
UserResource.java 2KB
UserServiceImpl.java 1KB
User.java 1KB
CustomerServiceImpl.java 1KB
UserResourceServiceImpl.java 845B
CalculateService.java 812B
ResourceServiceImpl.java 778B
Customer.java 730B
UserService.java 659B
CalculateServiceImpl.java 650B
CustomerService.java 551B
MyBeanFactory.java 497B
PermissionService.java 363B
UserResourceService.java 296B
ResourceService.java 286B
MainTest.java 216B
helloworld.js 1KB
.jsdtscope 639B
index.jsp 463B
MANIFEST.MF 114B
.myumldata 66B
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.jdt.core.prefs 430B
org.eclipse.core.resources.prefs 155B
org.eclipse.m2e.core.prefs 90B
org.eclipse.wst.validation.prefs 50B
.project 1KB
log4j.properties 429B
log4j.properties 429B
pom.properties 252B
.springBeans 518B
spring_cxf.sql 4KB
CustomerMapper.xml 12KB
CustomerMapper.xml 12KB
ResourceMapper.xml 9KB
ResourceMapper.xml 9KB
UserMapper.xml 9KB
UserMapper.xml 9KB
UserResourceMapper.xml 7KB
UserResourceMapper.xml 7KB
pom.xml 5KB
pom.xml 5KB
beans-core.xml 4KB
共 112 条
- 1
- 2
资源评论
- 小开不怕不怕2018-05-02非常好的资源,感谢感谢
- aspnet程序猿2019-06-20资源可以,学习有用
- u0112771232017-11-02忘了有没有测试类了?再来下载一次
liuxing9345
- 粉丝: 493
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功