Compare commits

...

1 Commits
main ... czy

Author SHA1 Message Date
陈朝阳 607b01b8d6 1
2 weeks ago

@ -0,0 +1,167 @@
package com.entity;
/**
* @ClassName Pingjia
* @Description
*/
public class Pingjia {
//id列
private Integer id;
//评语
private String biaoti;
//分数范围1-5
private String fenshu;
//时间
private String shijian;
//零食id
private Integer shangpinid;
//用户id
private Integer usersid;
//父表零食表shangpin
private Shangpin shangpin;
//父表用户表users
private Users users;
/**
* id
*
* @return id id
*/
public Integer getId() {
return this.id;
}
/**
* id
*
* @param id id
*/
public void setId(Integer id) {
this.id = id;
}
/**
*
*
* @return biaoti
*/
public String getBiaoti() {
return this.biaoti;
}
/**
*
*
* @param biaoti
*/
public void setBiaoti(String biaoti) {
this.biaoti = biaoti;
}
/**
* 1-5
*
* @return fenshu 1-5
*/
public String getFenshu() {
return this.fenshu;
}
/**
* 1-5
*
* @param fenshu 1-5
*/
public void setFenshu(String fenshu) {
this.fenshu = fenshu;
}
/**
*
*
* @return shijian
*/
public String getShijian() {
return this.shijian;
}
/**
*
*
* @param shijian
*/
public void setShijian(String shijian) {
this.shijian = shijian;
}
/**
* id
*
* @return shangpinid id
*/
public Integer getShangpinid() {
return this.shangpinid;
}
/**
* id
*
* @param shangpinid id
*/
public void setShangpinid(Integer shangpinid) {
this.shangpinid = shangpinid;
}
/**
* id
*
* @return usersid id
*/
public Integer getUsersid() {
return this.usersid;
}
/**
* id
*
* @param usersid id
*/
public void setUsersid(Integer usersid) {
this.usersid = usersid;
}
/**
* shangpin
*
* @return shangpin shangpin
*/
public Shangpin getShangpin() {
return this.shangpin;
}
/**
* shangpin
*
* @param shangpin shangpin
*/
public void setShangpin(Shangpin shangpin) {
this.shangpin = shangpin;
}
/**
* users
*
* @return users users
*/
public Users getUsers() {
return this.users;
}
/**
* users
*
* @param users users
*/
public void setUsers(Users users) {
this.users = users;
}
}

@ -0,0 +1,611 @@
package com.entity;
import java.util.ArrayList;
import java.util.List;
/**
* @ClassName Pingjia
* @Description mybatis
*/
public class PingjiaExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public PingjiaExample() {
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 andBiaotiIsNull() {
addCriterion("biaoti is null");
return (Criteria) this;
}
public Criteria andBiaotiIsNotNull() {
addCriterion("biaoti is not null");
return (Criteria) this;
}
public Criteria andBiaotiEqualTo(String value) {
addCriterion("biaoti =", value, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiNotEqualTo(String value) {
addCriterion("biaoti <>", value, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiGreaterThan(String value) {
addCriterion("biaoti >", value, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiGreaterThanOrEqualTo(String value) {
addCriterion("biaoti >=", value, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiLessThan(String value) {
addCriterion("biaoti <", value, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiLessThanOrEqualTo(String value) {
addCriterion("biaoti <=", value, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiLike(String value) {
addCriterion("biaoti like", value, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiNotLike(String value) {
addCriterion("biaoti not like", value, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiIn(List<String> values) {
addCriterion("biaoti in", values, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiNotIn(List<String> values) {
addCriterion("biaoti not in", values, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiBetween(String value1, String value2) {
addCriterion("biaoti between", value1, value2, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiNotBetween(String value1, String value2) {
addCriterion("biaoti not between", value1, value2, "biaoti");
return (Criteria) this;
}
public Criteria andFenshuIsNull() {
addCriterion("fenshu is null");
return (Criteria) this;
}
public Criteria andFenshuIsNotNull() {
addCriterion("fenshu is not null");
return (Criteria) this;
}
public Criteria andFenshuEqualTo(String value) {
addCriterion("fenshu =", value, "fenshu");
return (Criteria) this;
}
public Criteria andFenshuNotEqualTo(String value) {
addCriterion("fenshu <>", value, "fenshu");
return (Criteria) this;
}
public Criteria andFenshuGreaterThan(String value) {
addCriterion("fenshu >", value, "fenshu");
return (Criteria) this;
}
public Criteria andFenshuGreaterThanOrEqualTo(String value) {
addCriterion("fenshu >=", value, "fenshu");
return (Criteria) this;
}
public Criteria andFenshuLessThan(String value) {
addCriterion("fenshu <", value, "fenshu");
return (Criteria) this;
}
public Criteria andFenshuLessThanOrEqualTo(String value) {
addCriterion("fenshu <=", value, "fenshu");
return (Criteria) this;
}
public Criteria andFenshuLike(String value) {
addCriterion("fenshu like", value, "fenshu");
return (Criteria) this;
}
public Criteria andFenshuNotLike(String value) {
addCriterion("fenshu not like", value, "fenshu");
return (Criteria) this;
}
public Criteria andFenshuIn(List<String> values) {
addCriterion("fenshu in", values, "fenshu");
return (Criteria) this;
}
public Criteria andFenshuNotIn(List<String> values) {
addCriterion("fenshu not in", values, "fenshu");
return (Criteria) this;
}
public Criteria andFenshuBetween(String value1, String value2) {
addCriterion("fenshu between", value1, value2, "fenshu");
return (Criteria) this;
}
public Criteria andFenshuNotBetween(String value1, String value2) {
addCriterion("fenshu not between", value1, value2, "fenshu");
return (Criteria) this;
}
public Criteria andShijianIsNull() {
addCriterion("shijian is null");
return (Criteria) this;
}
public Criteria andShijianIsNotNull() {
addCriterion("shijian is not null");
return (Criteria) this;
}
public Criteria andShijianEqualTo(String value) {
addCriterion("shijian =", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianNotEqualTo(String value) {
addCriterion("shijian <>", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianGreaterThan(String value) {
addCriterion("shijian >", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianGreaterThanOrEqualTo(String value) {
addCriterion("shijian >=", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianLessThan(String value) {
addCriterion("shijian <", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianLessThanOrEqualTo(String value) {
addCriterion("shijian <=", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianLike(String value) {
addCriterion("shijian like", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianNotLike(String value) {
addCriterion("shijian not like", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianIn(List<String> values) {
addCriterion("shijian in", values, "shijian");
return (Criteria) this;
}
public Criteria andShijianNotIn(List<String> values) {
addCriterion("shijian not in", values, "shijian");
return (Criteria) this;
}
public Criteria andShijianBetween(String value1, String value2) {
addCriterion("shijian between", value1, value2, "shijian");
return (Criteria) this;
}
public Criteria andShijianNotBetween(String value1, String value2) {
addCriterion("shijian not between", value1, value2, "shijian");
return (Criteria) this;
}
public Criteria andShangpinidIsNull() {
addCriterion("shangpinid is null");
return (Criteria) this;
}
public Criteria andShangpinidIsNotNull() {
addCriterion("shangpinid is not null");
return (Criteria) this;
}
public Criteria andShangpinidEqualTo(Integer value) {
addCriterion("shangpinid =", value, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidNotEqualTo(Integer value) {
addCriterion("shangpinid <>", value, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidGreaterThan(Integer value) {
addCriterion("shangpinid >", value, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidGreaterThanOrEqualTo(Integer value) {
addCriterion("shangpinid >=", value, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidLessThan(Integer value) {
addCriterion("shangpinid <", value, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidLessThanOrEqualTo(Integer value) {
addCriterion("shangpinid <=", value, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidLike(Integer value) {
addCriterion("shangpinid like", value, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidNotLike(Integer value) {
addCriterion("shangpinid not like", value, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidIn(List<Integer> values) {
addCriterion("shangpinid in", values, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidNotIn(List<Integer> values) {
addCriterion("shangpinid not in", values, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidBetween(Integer value1, Integer value2) {
addCriterion("shangpinid between", value1, value2, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidNotBetween(Integer value1, Integer value2) {
addCriterion("shangpinid not between", value1, value2, "shangpinid");
return (Criteria) this;
}
public Criteria andUsersidIsNull() {
addCriterion("usersid is null");
return (Criteria) this;
}
public Criteria andUsersidIsNotNull() {
addCriterion("usersid is not null");
return (Criteria) this;
}
public Criteria andUsersidEqualTo(Integer value) {
addCriterion("usersid =", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidNotEqualTo(Integer value) {
addCriterion("usersid <>", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidGreaterThan(Integer value) {
addCriterion("usersid >", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidGreaterThanOrEqualTo(Integer value) {
addCriterion("usersid >=", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidLessThan(Integer value) {
addCriterion("usersid <", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidLessThanOrEqualTo(Integer value) {
addCriterion("usersid <=", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidLike(Integer value) {
addCriterion("usersid like", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidNotLike(Integer value) {
addCriterion("usersid not like", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidIn(List<Integer> values) {
addCriterion("usersid in", values, "usersid");
return (Criteria) this;
}
public Criteria andUsersidNotIn(List<Integer> values) {
addCriterion("usersid not in", values, "usersid");
return (Criteria) this;
}
public Criteria andUsersidBetween(Integer value1, Integer value2) {
addCriterion("usersid between", value1, value2, "usersid");
return (Criteria) this;
}
public Criteria andUsersidNotBetween(Integer value1, Integer value2) {
addCriterion("usersid not between", value1, value2, "usersid");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}

@ -0,0 +1,53 @@
package com.entity;
/**
* @ClassName Pinlei
* @Description
*/
public class Pinlei {
//id列
private Integer id;
//名称
private String mingcheng;
/**
* id
*
* @return id id
*/
public Integer getId() {
return this.id;
}
/**
* id
*
* @param id id
*/
public void setId(Integer id) {
this.id = id;
}
/**
*
*
* @return mingcheng
*/
public String getMingcheng() {
return this.mingcheng;
}
/**
*
*
* @param mingcheng
*/
public void setMingcheng(String mingcheng) {
this.mingcheng = mingcheng;
}
}

@ -0,0 +1,335 @@
package com.entity;
import java.util.ArrayList;
import java.util.List;
/**
* @ClassName Pinlei
* @Description mybatis
*/
public class PinleiExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public PinleiExample() {
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 andMingchengIsNull() {
addCriterion("mingcheng is null");
return (Criteria) this;
}
public Criteria andMingchengIsNotNull() {
addCriterion("mingcheng is not null");
return (Criteria) this;
}
public Criteria andMingchengEqualTo(String value) {
addCriterion("mingcheng =", value, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengNotEqualTo(String value) {
addCriterion("mingcheng <>", value, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengGreaterThan(String value) {
addCriterion("mingcheng >", value, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengGreaterThanOrEqualTo(String value) {
addCriterion("mingcheng >=", value, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengLessThan(String value) {
addCriterion("mingcheng <", value, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengLessThanOrEqualTo(String value) {
addCriterion("mingcheng <=", value, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengLike(String value) {
addCriterion("mingcheng like", value, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengNotLike(String value) {
addCriterion("mingcheng not like", value, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengIn(List<String> values) {
addCriterion("mingcheng in", values, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengNotIn(List<String> values) {
addCriterion("mingcheng not in", values, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengBetween(String value1, String value2) {
addCriterion("mingcheng between", value1, value2, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengNotBetween(String value1, String value2) {
addCriterion("mingcheng not between", value1, value2, "mingcheng");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}

@ -0,0 +1,262 @@
package com.entity;
/**
* @ClassName Shangpin
* @Description
*/
public class Shangpin {
//id列
private Integer id;
//名称
private String mingcheng;
//编号
private String bianhao;
//分类id
private Integer pinleiid;
//内容介绍
private String neirong;
//图片
private String image;
//原价
private Integer yuanshijiage;
//现价
private Integer jiage;
//单位
private String danwei;
//是否特价
private String shenhe;
//库存数量
private Integer kucunshuliang;
//销售数量
private Integer xiaoshoushuliang;
//父表分类表pinlei
private Pinlei pinlei;
/**
* id
*
* @return id id
*/
public Integer getId() {
return this.id;
}
/**
* id
*
* @param id id
*/
public void setId(Integer id) {
this.id = id;
}
/**
*
*
* @return mingcheng
*/
public String getMingcheng() {
return this.mingcheng;
}
/**
*
*
* @param mingcheng
*/
public void setMingcheng(String mingcheng) {
this.mingcheng = mingcheng;
}
/**
*
*
* @return bianhao
*/
public String getBianhao() {
return this.bianhao;
}
/**
*
*
* @param bianhao
*/
public void setBianhao(String bianhao) {
this.bianhao = bianhao;
}
/**
* id
*
* @return pinleiid id
*/
public Integer getPinleiid() {
return this.pinleiid;
}
/**
* id
*
* @param pinleiid id
*/
public void setPinleiid(Integer pinleiid) {
this.pinleiid = pinleiid;
}
/**
*
*
* @return neirong
*/
public String getNeirong() {
return this.neirong;
}
/**
*
*
* @param neirong
*/
public void setNeirong(String neirong) {
this.neirong = neirong;
}
/**
*
*
* @return image
*/
public String getImage() {
return this.image;
}
/**
*
*
* @param image
*/
public void setImage(String image) {
this.image = image;
}
/**
*
*
* @return yuanshijiage
*/
public Integer getYuanshijiage() {
return this.yuanshijiage;
}
/**
*
*
* @param yuanshijiage
*/
public void setYuanshijiage(Integer yuanshijiage) {
this.yuanshijiage = yuanshijiage;
}
/**
*
*
* @return jiage
*/
public Integer getJiage() {
return this.jiage;
}
/**
*
*
* @param jiage
*/
public void setJiage(Integer jiage) {
this.jiage = jiage;
}
/**
*
*
* @return danwei
*/
public String getDanwei() {
return this.danwei;
}
/**
*
*
* @param danwei
*/
public void setDanwei(String danwei) {
this.danwei = danwei;
}
/**
*
*
* @return shenhe
*/
public String getShenhe() {
return this.shenhe;
}
/**
*
*
* @param shenhe
*/
public void setShenhe(String shenhe) {
this.shenhe = shenhe;
}
/**
*
*
* @return kucunshuliang
*/
public Integer getKucunshuliang() {
return this.kucunshuliang;
}
/**
*
*
* @param kucunshuliang
*/
public void setKucunshuliang(Integer kucunshuliang) {
this.kucunshuliang = kucunshuliang;
}
/**
*
*
* @return xiaoshoushuliang
*/
public Integer getXiaoshoushuliang() {
return this.xiaoshoushuliang;
}
/**
*
*
* @param xiaoshoushuliang
*/
public void setXiaoshoushuliang(Integer xiaoshoushuliang) {
this.xiaoshoushuliang = xiaoshoushuliang;
}
/**
* pinlei
*
* @return pinlei pinlei
*/
public Pinlei getPinlei() {
return this.pinlei;
}
/**
* pinlei
*
* @param pinlei pinlei
*/
public void setPinlei(Pinlei pinlei) {
this.pinlei = pinlei;
}
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,186 @@
package com.entity;
/**
* @ClassName Shenqing
* @Description
*/
public class Shenqing {
//id列
private Integer id;
//姓名
private String xingming;
//电话
private String dianhua;
//说明
private String neirong;
//时间
private String shijian;
//备注
private String beizhu;
//是否审核
private String shenhe;
//用户id
private Integer usersid;
//父表用户表users
private Users users;
/**
* id
*
* @return id id
*/
public Integer getId() {
return this.id;
}
/**
* id
*
* @param id id
*/
public void setId(Integer id) {
this.id = id;
}
/**
*
*
* @return xingming
*/
public String getXingming() {
return this.xingming;
}
/**
*
*
* @param xingming
*/
public void setXingming(String xingming) {
this.xingming = xingming;
}
/**
*
*
* @return dianhua
*/
public String getDianhua() {
return this.dianhua;
}
/**
*
*
* @param dianhua
*/
public void setDianhua(String dianhua) {
this.dianhua = dianhua;
}
/**
*
*
* @return neirong
*/
public String getNeirong() {
return this.neirong;
}
/**
*
*
* @param neirong
*/
public void setNeirong(String neirong) {
this.neirong = neirong;
}
/**
*
*
* @return shijian
*/
public String getShijian() {
return this.shijian;
}
/**
*
*
* @param shijian
*/
public void setShijian(String shijian) {
this.shijian = shijian;
}
/**
*
*
* @return beizhu
*/
public String getBeizhu() {
return this.beizhu;
}
/**
*
*
* @param beizhu
*/
public void setBeizhu(String beizhu) {
this.beizhu = beizhu;
}
/**
*
*
* @return shenhe
*/
public String getShenhe() {
return this.shenhe;
}
/**
*
*
* @param shenhe
*/
public void setShenhe(String shenhe) {
this.shenhe = shenhe;
}
/**
* id
*
* @return usersid id
*/
public Integer getUsersid() {
return this.usersid;
}
/**
* id
*
* @param usersid id
*/
public void setUsersid(Integer usersid) {
this.usersid = usersid;
}
/**
* users
*
* @return users users
*/
public Users getUsers() {
return this.users;
}
/**
* users
*
* @param users users
*/
public void setUsers(Users users) {
this.users = users;
}
}

@ -0,0 +1,749 @@
package com.entity;
import java.util.ArrayList;
import java.util.List;
/**
* @ClassName Shenqing
* @Description mybatis
*/
public class ShenqingExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public ShenqingExample() {
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 andXingmingIsNull() {
addCriterion("xingming is null");
return (Criteria) this;
}
public Criteria andXingmingIsNotNull() {
addCriterion("xingming is not null");
return (Criteria) this;
}
public Criteria andXingmingEqualTo(String value) {
addCriterion("xingming =", value, "xingming");
return (Criteria) this;
}
public Criteria andXingmingNotEqualTo(String value) {
addCriterion("xingming <>", value, "xingming");
return (Criteria) this;
}
public Criteria andXingmingGreaterThan(String value) {
addCriterion("xingming >", value, "xingming");
return (Criteria) this;
}
public Criteria andXingmingGreaterThanOrEqualTo(String value) {
addCriterion("xingming >=", value, "xingming");
return (Criteria) this;
}
public Criteria andXingmingLessThan(String value) {
addCriterion("xingming <", value, "xingming");
return (Criteria) this;
}
public Criteria andXingmingLessThanOrEqualTo(String value) {
addCriterion("xingming <=", value, "xingming");
return (Criteria) this;
}
public Criteria andXingmingLike(String value) {
addCriterion("xingming like", value, "xingming");
return (Criteria) this;
}
public Criteria andXingmingNotLike(String value) {
addCriterion("xingming not like", value, "xingming");
return (Criteria) this;
}
public Criteria andXingmingIn(List<String> values) {
addCriterion("xingming in", values, "xingming");
return (Criteria) this;
}
public Criteria andXingmingNotIn(List<String> values) {
addCriterion("xingming not in", values, "xingming");
return (Criteria) this;
}
public Criteria andXingmingBetween(String value1, String value2) {
addCriterion("xingming between", value1, value2, "xingming");
return (Criteria) this;
}
public Criteria andXingmingNotBetween(String value1, String value2) {
addCriterion("xingming not between", value1, value2, "xingming");
return (Criteria) this;
}
public Criteria andDianhuaIsNull() {
addCriterion("dianhua is null");
return (Criteria) this;
}
public Criteria andDianhuaIsNotNull() {
addCriterion("dianhua is not null");
return (Criteria) this;
}
public Criteria andDianhuaEqualTo(String value) {
addCriterion("dianhua =", value, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaNotEqualTo(String value) {
addCriterion("dianhua <>", value, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaGreaterThan(String value) {
addCriterion("dianhua >", value, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaGreaterThanOrEqualTo(String value) {
addCriterion("dianhua >=", value, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaLessThan(String value) {
addCriterion("dianhua <", value, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaLessThanOrEqualTo(String value) {
addCriterion("dianhua <=", value, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaLike(String value) {
addCriterion("dianhua like", value, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaNotLike(String value) {
addCriterion("dianhua not like", value, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaIn(List<String> values) {
addCriterion("dianhua in", values, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaNotIn(List<String> values) {
addCriterion("dianhua not in", values, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaBetween(String value1, String value2) {
addCriterion("dianhua between", value1, value2, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaNotBetween(String value1, String value2) {
addCriterion("dianhua not between", value1, value2, "dianhua");
return (Criteria) this;
}
public Criteria andNeirongIsNull() {
addCriterion("neirong is null");
return (Criteria) this;
}
public Criteria andNeirongIsNotNull() {
addCriterion("neirong is not null");
return (Criteria) this;
}
public Criteria andNeirongEqualTo(String value) {
addCriterion("neirong =", value, "neirong");
return (Criteria) this;
}
public Criteria andNeirongNotEqualTo(String value) {
addCriterion("neirong <>", value, "neirong");
return (Criteria) this;
}
public Criteria andNeirongGreaterThan(String value) {
addCriterion("neirong >", value, "neirong");
return (Criteria) this;
}
public Criteria andNeirongGreaterThanOrEqualTo(String value) {
addCriterion("neirong >=", value, "neirong");
return (Criteria) this;
}
public Criteria andNeirongLessThan(String value) {
addCriterion("neirong <", value, "neirong");
return (Criteria) this;
}
public Criteria andNeirongLessThanOrEqualTo(String value) {
addCriterion("neirong <=", value, "neirong");
return (Criteria) this;
}
public Criteria andNeirongLike(String value) {
addCriterion("neirong like", value, "neirong");
return (Criteria) this;
}
public Criteria andNeirongNotLike(String value) {
addCriterion("neirong not like", value, "neirong");
return (Criteria) this;
}
public Criteria andNeirongIn(List<String> values) {
addCriterion("neirong in", values, "neirong");
return (Criteria) this;
}
public Criteria andNeirongNotIn(List<String> values) {
addCriterion("neirong not in", values, "neirong");
return (Criteria) this;
}
public Criteria andNeirongBetween(String value1, String value2) {
addCriterion("neirong between", value1, value2, "neirong");
return (Criteria) this;
}
public Criteria andNeirongNotBetween(String value1, String value2) {
addCriterion("neirong not between", value1, value2, "neirong");
return (Criteria) this;
}
public Criteria andShijianIsNull() {
addCriterion("shijian is null");
return (Criteria) this;
}
public Criteria andShijianIsNotNull() {
addCriterion("shijian is not null");
return (Criteria) this;
}
public Criteria andShijianEqualTo(String value) {
addCriterion("shijian =", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianNotEqualTo(String value) {
addCriterion("shijian <>", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianGreaterThan(String value) {
addCriterion("shijian >", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianGreaterThanOrEqualTo(String value) {
addCriterion("shijian >=", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianLessThan(String value) {
addCriterion("shijian <", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianLessThanOrEqualTo(String value) {
addCriterion("shijian <=", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianLike(String value) {
addCriterion("shijian like", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianNotLike(String value) {
addCriterion("shijian not like", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianIn(List<String> values) {
addCriterion("shijian in", values, "shijian");
return (Criteria) this;
}
public Criteria andShijianNotIn(List<String> values) {
addCriterion("shijian not in", values, "shijian");
return (Criteria) this;
}
public Criteria andShijianBetween(String value1, String value2) {
addCriterion("shijian between", value1, value2, "shijian");
return (Criteria) this;
}
public Criteria andShijianNotBetween(String value1, String value2) {
addCriterion("shijian not between", value1, value2, "shijian");
return (Criteria) this;
}
public Criteria andBeizhuIsNull() {
addCriterion("beizhu is null");
return (Criteria) this;
}
public Criteria andBeizhuIsNotNull() {
addCriterion("beizhu is not null");
return (Criteria) this;
}
public Criteria andBeizhuEqualTo(String value) {
addCriterion("beizhu =", value, "beizhu");
return (Criteria) this;
}
public Criteria andBeizhuNotEqualTo(String value) {
addCriterion("beizhu <>", value, "beizhu");
return (Criteria) this;
}
public Criteria andBeizhuGreaterThan(String value) {
addCriterion("beizhu >", value, "beizhu");
return (Criteria) this;
}
public Criteria andBeizhuGreaterThanOrEqualTo(String value) {
addCriterion("beizhu >=", value, "beizhu");
return (Criteria) this;
}
public Criteria andBeizhuLessThan(String value) {
addCriterion("beizhu <", value, "beizhu");
return (Criteria) this;
}
public Criteria andBeizhuLessThanOrEqualTo(String value) {
addCriterion("beizhu <=", value, "beizhu");
return (Criteria) this;
}
public Criteria andBeizhuLike(String value) {
addCriterion("beizhu like", value, "beizhu");
return (Criteria) this;
}
public Criteria andBeizhuNotLike(String value) {
addCriterion("beizhu not like", value, "beizhu");
return (Criteria) this;
}
public Criteria andBeizhuIn(List<String> values) {
addCriterion("beizhu in", values, "beizhu");
return (Criteria) this;
}
public Criteria andBeizhuNotIn(List<String> values) {
addCriterion("beizhu not in", values, "beizhu");
return (Criteria) this;
}
public Criteria andBeizhuBetween(String value1, String value2) {
addCriterion("beizhu between", value1, value2, "beizhu");
return (Criteria) this;
}
public Criteria andBeizhuNotBetween(String value1, String value2) {
addCriterion("beizhu not between", value1, value2, "beizhu");
return (Criteria) this;
}
public Criteria andShenheIsNull() {
addCriterion("shenhe is null");
return (Criteria) this;
}
public Criteria andShenheIsNotNull() {
addCriterion("shenhe is not null");
return (Criteria) this;
}
public Criteria andShenheEqualTo(String value) {
addCriterion("shenhe =", value, "shenhe");
return (Criteria) this;
}
public Criteria andShenheNotEqualTo(String value) {
addCriterion("shenhe <>", value, "shenhe");
return (Criteria) this;
}
public Criteria andShenheGreaterThan(String value) {
addCriterion("shenhe >", value, "shenhe");
return (Criteria) this;
}
public Criteria andShenheGreaterThanOrEqualTo(String value) {
addCriterion("shenhe >=", value, "shenhe");
return (Criteria) this;
}
public Criteria andShenheLessThan(String value) {
addCriterion("shenhe <", value, "shenhe");
return (Criteria) this;
}
public Criteria andShenheLessThanOrEqualTo(String value) {
addCriterion("shenhe <=", value, "shenhe");
return (Criteria) this;
}
public Criteria andShenheLike(String value) {
addCriterion("shenhe like", value, "shenhe");
return (Criteria) this;
}
public Criteria andShenheNotLike(String value) {
addCriterion("shenhe not like", value, "shenhe");
return (Criteria) this;
}
public Criteria andShenheIn(List<String> values) {
addCriterion("shenhe in", values, "shenhe");
return (Criteria) this;
}
public Criteria andShenheNotIn(List<String> values) {
addCriterion("shenhe not in", values, "shenhe");
return (Criteria) this;
}
public Criteria andShenheBetween(String value1, String value2) {
addCriterion("shenhe between", value1, value2, "shenhe");
return (Criteria) this;
}
public Criteria andShenheNotBetween(String value1, String value2) {
addCriterion("shenhe not between", value1, value2, "shenhe");
return (Criteria) this;
}
public Criteria andUsersidIsNull() {
addCriterion("usersid is null");
return (Criteria) this;
}
public Criteria andUsersidIsNotNull() {
addCriterion("usersid is not null");
return (Criteria) this;
}
public Criteria andUsersidEqualTo(Integer value) {
addCriterion("usersid =", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidNotEqualTo(Integer value) {
addCriterion("usersid <>", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidGreaterThan(Integer value) {
addCriterion("usersid >", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidGreaterThanOrEqualTo(Integer value) {
addCriterion("usersid >=", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidLessThan(Integer value) {
addCriterion("usersid <", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidLessThanOrEqualTo(Integer value) {
addCriterion("usersid <=", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidLike(Integer value) {
addCriterion("usersid like", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidNotLike(Integer value) {
addCriterion("usersid not like", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidIn(List<Integer> values) {
addCriterion("usersid in", values, "usersid");
return (Criteria) this;
}
public Criteria andUsersidNotIn(List<Integer> values) {
addCriterion("usersid not in", values, "usersid");
return (Criteria) this;
}
public Criteria andUsersidBetween(Integer value1, Integer value2) {
addCriterion("usersid between", value1, value2, "usersid");
return (Criteria) this;
}
public Criteria andUsersidNotBetween(Integer value1, Integer value2) {
addCriterion("usersid not between", value1, value2, "usersid");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}

@ -0,0 +1,129 @@
package com.entity;
/**
* @ClassName Shoucang
* @Description
*/
public class Shoucang {
//id列
private Integer id;
//时间
private String shijian;
//零食id
private Integer shangpinid;
//用户id
private Integer usersid;
//父表零食表shangpin
private Shangpin shangpin;
//父表用户表users
private Users users;
/**
* id
*
* @return id id
*/
public Integer getId() {
return this.id;
}
/**
* id
*
* @param id id
*/
public void setId(Integer id) {
this.id = id;
}
/**
*
*
* @return shijian
*/
public String getShijian() {
return this.shijian;
}
/**
*
*
* @param shijian
*/
public void setShijian(String shijian) {
this.shijian = shijian;
}
/**
* id
*
* @return shangpinid id
*/
public Integer getShangpinid() {
return this.shangpinid;
}
/**
* id
*
* @param shangpinid id
*/
public void setShangpinid(Integer shangpinid) {
this.shangpinid = shangpinid;
}
/**
* id
*
* @return usersid id
*/
public Integer getUsersid() {
return this.usersid;
}
/**
* id
*
* @param usersid id
*/
public void setUsersid(Integer usersid) {
this.usersid = usersid;
}
/**
* shangpin
*
* @return shangpin shangpin
*/
public Shangpin getShangpin() {
return this.shangpin;
}
/**
* shangpin
*
* @param shangpin shangpin
*/
public void setShangpin(Shangpin shangpin) {
this.shangpin = shangpin;
}
/**
* users
*
* @return users users
*/
public Users getUsers() {
return this.users;
}
/**
* users
*
* @param users users
*/
public void setUsers(Users users) {
this.users = users;
}
}

@ -0,0 +1,473 @@
package com.entity;
import java.util.ArrayList;
import java.util.List;
/**
* @ClassName Shoucang
* @Description mybatis
*/
public class ShoucangExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public ShoucangExample() {
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 andShijianIsNull() {
addCriterion("shijian is null");
return (Criteria) this;
}
public Criteria andShijianIsNotNull() {
addCriterion("shijian is not null");
return (Criteria) this;
}
public Criteria andShijianEqualTo(String value) {
addCriterion("shijian =", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianNotEqualTo(String value) {
addCriterion("shijian <>", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianGreaterThan(String value) {
addCriterion("shijian >", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianGreaterThanOrEqualTo(String value) {
addCriterion("shijian >=", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianLessThan(String value) {
addCriterion("shijian <", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianLessThanOrEqualTo(String value) {
addCriterion("shijian <=", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianLike(String value) {
addCriterion("shijian like", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianNotLike(String value) {
addCriterion("shijian not like", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianIn(List<String> values) {
addCriterion("shijian in", values, "shijian");
return (Criteria) this;
}
public Criteria andShijianNotIn(List<String> values) {
addCriterion("shijian not in", values, "shijian");
return (Criteria) this;
}
public Criteria andShijianBetween(String value1, String value2) {
addCriterion("shijian between", value1, value2, "shijian");
return (Criteria) this;
}
public Criteria andShijianNotBetween(String value1, String value2) {
addCriterion("shijian not between", value1, value2, "shijian");
return (Criteria) this;
}
public Criteria andShangpinidIsNull() {
addCriterion("shangpinid is null");
return (Criteria) this;
}
public Criteria andShangpinidIsNotNull() {
addCriterion("shangpinid is not null");
return (Criteria) this;
}
public Criteria andShangpinidEqualTo(Integer value) {
addCriterion("shangpinid =", value, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidNotEqualTo(Integer value) {
addCriterion("shangpinid <>", value, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidGreaterThan(Integer value) {
addCriterion("shangpinid >", value, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidGreaterThanOrEqualTo(Integer value) {
addCriterion("shangpinid >=", value, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidLessThan(Integer value) {
addCriterion("shangpinid <", value, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidLessThanOrEqualTo(Integer value) {
addCriterion("shangpinid <=", value, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidLike(Integer value) {
addCriterion("shangpinid like", value, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidNotLike(Integer value) {
addCriterion("shangpinid not like", value, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidIn(List<Integer> values) {
addCriterion("shangpinid in", values, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidNotIn(List<Integer> values) {
addCriterion("shangpinid not in", values, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidBetween(Integer value1, Integer value2) {
addCriterion("shangpinid between", value1, value2, "shangpinid");
return (Criteria) this;
}
public Criteria andShangpinidNotBetween(Integer value1, Integer value2) {
addCriterion("shangpinid not between", value1, value2, "shangpinid");
return (Criteria) this;
}
public Criteria andUsersidIsNull() {
addCriterion("usersid is null");
return (Criteria) this;
}
public Criteria andUsersidIsNotNull() {
addCriterion("usersid is not null");
return (Criteria) this;
}
public Criteria andUsersidEqualTo(Integer value) {
addCriterion("usersid =", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidNotEqualTo(Integer value) {
addCriterion("usersid <>", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidGreaterThan(Integer value) {
addCriterion("usersid >", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidGreaterThanOrEqualTo(Integer value) {
addCriterion("usersid >=", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidLessThan(Integer value) {
addCriterion("usersid <", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidLessThanOrEqualTo(Integer value) {
addCriterion("usersid <=", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidLike(Integer value) {
addCriterion("usersid like", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidNotLike(Integer value) {
addCriterion("usersid not like", value, "usersid");
return (Criteria) this;
}
public Criteria andUsersidIn(List<Integer> values) {
addCriterion("usersid in", values, "usersid");
return (Criteria) this;
}
public Criteria andUsersidNotIn(List<Integer> values) {
addCriterion("usersid not in", values, "usersid");
return (Criteria) this;
}
public Criteria andUsersidBetween(Integer value1, Integer value2) {
addCriterion("usersid between", value1, value2, "usersid");
return (Criteria) this;
}
public Criteria andUsersidNotBetween(Integer value1, Integer value2) {
addCriterion("usersid not between", value1, value2, "usersid");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}

@ -0,0 +1,224 @@
package com.entity;
/**
* @ClassName Users
* @Description
*/
public class Users {
//id列
private Integer id;
//用户名称
private String loginname;
//密码
private String loginpw;
//类型
private String type;
//类型名称
private String typename;
//姓名
private String xingming;
//性别
private String xingbie;
//年龄
private String nianling;
//地址
private String address;
//电话
private String dianhua;
//审核
private String shenhe;
/**
* id
*
* @return id id
*/
public Integer getId() {
return this.id;
}
/**
* id
*
* @param id id
*/
public void setId(Integer id) {
this.id = id;
}
/**
*
*
* @return loginname
*/
public String getLoginname() {
return this.loginname;
}
/**
*
*
* @param loginname
*/
public void setLoginname(String loginname) {
this.loginname = loginname;
}
/**
*
*
* @return loginpw
*/
public String getLoginpw() {
return this.loginpw;
}
/**
*
*
* @param loginpw
*/
public void setLoginpw(String loginpw) {
this.loginpw = loginpw;
}
/**
*
*
* @return type
*/
public String getType() {
return this.type;
}
/**
*
*
* @param type
*/
public void setType(String type) {
this.type = type;
}
/**
*
*
* @return typename
*/
public String getTypename() {
return this.typename;
}
/**
*
*
* @param typename
*/
public void setTypename(String typename) {
this.typename = typename;
}
/**
*
*
* @return xingming
*/
public String getXingming() {
return this.xingming;
}
/**
*
*
* @param xingming
*/
public void setXingming(String xingming) {
this.xingming = xingming;
}
/**
*
*
* @return xingbie
*/
public String getXingbie() {
return this.xingbie;
}
/**
*
*
* @param xingbie
*/
public void setXingbie(String xingbie) {
this.xingbie = xingbie;
}
/**
*
*
* @return nianling
*/
public String getNianling() {
return this.nianling;
}
/**
*
*
* @param nianling
*/
public void setNianling(String nianling) {
this.nianling = nianling;
}
/**
*
*
* @return address
*/
public String getAddress() {
return this.address;
}
/**
*
*
* @param address
*/
public void setAddress(String address) {
this.address = address;
}
/**
*
*
* @return dianhua
*/
public String getDianhua() {
return this.dianhua;
}
/**
*
*
* @param dianhua
*/
public void setDianhua(String dianhua) {
this.dianhua = dianhua;
}
/**
*
*
* @return shenhe
*/
public String getShenhe() {
return this.shenhe;
}
/**
*
*
* @param shenhe
*/
public void setShenhe(String shenhe) {
this.shenhe = shenhe;
}
}

@ -0,0 +1,956 @@
package com.entity;
import java.util.ArrayList;
import java.util.List;
/**
* @ClassName Users
* @Description mybatis
*/
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 andLoginnameIsNull() {
addCriterion("loginname is null");
return (Criteria) this;
}
public Criteria andLoginnameIsNotNull() {
addCriterion("loginname is not null");
return (Criteria) this;
}
public Criteria andLoginnameEqualTo(String value) {
addCriterion("loginname =", value, "loginname");
return (Criteria) this;
}
public Criteria andLoginnameNotEqualTo(String value) {
addCriterion("loginname <>", value, "loginname");
return (Criteria) this;
}
public Criteria andLoginnameGreaterThan(String value) {
addCriterion("loginname >", value, "loginname");
return (Criteria) this;
}
public Criteria andLoginnameGreaterThanOrEqualTo(String value) {
addCriterion("loginname >=", value, "loginname");
return (Criteria) this;
}
public Criteria andLoginnameLessThan(String value) {
addCriterion("loginname <", value, "loginname");
return (Criteria) this;
}
public Criteria andLoginnameLessThanOrEqualTo(String value) {
addCriterion("loginname <=", value, "loginname");
return (Criteria) this;
}
public Criteria andLoginnameLike(String value) {
addCriterion("loginname like", value, "loginname");
return (Criteria) this;
}
public Criteria andLoginnameNotLike(String value) {
addCriterion("loginname not like", value, "loginname");
return (Criteria) this;
}
public Criteria andLoginnameIn(List<String> values) {
addCriterion("loginname in", values, "loginname");
return (Criteria) this;
}
public Criteria andLoginnameNotIn(List<String> values) {
addCriterion("loginname not in", values, "loginname");
return (Criteria) this;
}
public Criteria andLoginnameBetween(String value1, String value2) {
addCriterion("loginname between", value1, value2, "loginname");
return (Criteria) this;
}
public Criteria andLoginnameNotBetween(String value1, String value2) {
addCriterion("loginname not between", value1, value2, "loginname");
return (Criteria) this;
}
public Criteria andLoginpwIsNull() {
addCriterion("loginpw is null");
return (Criteria) this;
}
public Criteria andLoginpwIsNotNull() {
addCriterion("loginpw is not null");
return (Criteria) this;
}
public Criteria andLoginpwEqualTo(String value) {
addCriterion("loginpw =", value, "loginpw");
return (Criteria) this;
}
public Criteria andLoginpwNotEqualTo(String value) {
addCriterion("loginpw <>", value, "loginpw");
return (Criteria) this;
}
public Criteria andLoginpwGreaterThan(String value) {
addCriterion("loginpw >", value, "loginpw");
return (Criteria) this;
}
public Criteria andLoginpwGreaterThanOrEqualTo(String value) {
addCriterion("loginpw >=", value, "loginpw");
return (Criteria) this;
}
public Criteria andLoginpwLessThan(String value) {
addCriterion("loginpw <", value, "loginpw");
return (Criteria) this;
}
public Criteria andLoginpwLessThanOrEqualTo(String value) {
addCriterion("loginpw <=", value, "loginpw");
return (Criteria) this;
}
public Criteria andLoginpwLike(String value) {
addCriterion("loginpw like", value, "loginpw");
return (Criteria) this;
}
public Criteria andLoginpwNotLike(String value) {
addCriterion("loginpw not like", value, "loginpw");
return (Criteria) this;
}
public Criteria andLoginpwIn(List<String> values) {
addCriterion("loginpw in", values, "loginpw");
return (Criteria) this;
}
public Criteria andLoginpwNotIn(List<String> values) {
addCriterion("loginpw not in", values, "loginpw");
return (Criteria) this;
}
public Criteria andLoginpwBetween(String value1, String value2) {
addCriterion("loginpw between", value1, value2, "loginpw");
return (Criteria) this;
}
public Criteria andLoginpwNotBetween(String value1, String value2) {
addCriterion("loginpw not between", value1, value2, "loginpw");
return (Criteria) this;
}
public Criteria andTypeIsNull() {
addCriterion("type is null");
return (Criteria) this;
}
public Criteria andTypeIsNotNull() {
addCriterion("type is not null");
return (Criteria) this;
}
public Criteria andTypeEqualTo(String value) {
addCriterion("type =", value, "type");
return (Criteria) this;
}
public Criteria andTypeNotEqualTo(String value) {
addCriterion("type <>", value, "type");
return (Criteria) this;
}
public Criteria andTypeGreaterThan(String value) {
addCriterion("type >", value, "type");
return (Criteria) this;
}
public Criteria andTypeGreaterThanOrEqualTo(String value) {
addCriterion("type >=", value, "type");
return (Criteria) this;
}
public Criteria andTypeLessThan(String value) {
addCriterion("type <", value, "type");
return (Criteria) this;
}
public Criteria andTypeLessThanOrEqualTo(String value) {
addCriterion("type <=", value, "type");
return (Criteria) this;
}
public Criteria andTypeLike(String value) {
addCriterion("type like", value, "type");
return (Criteria) this;
}
public Criteria andTypeNotLike(String value) {
addCriterion("type not like", value, "type");
return (Criteria) this;
}
public Criteria andTypeIn(List<String> values) {
addCriterion("type in", values, "type");
return (Criteria) this;
}
public Criteria andTypeNotIn(List<String> values) {
addCriterion("type not in", values, "type");
return (Criteria) this;
}
public Criteria andTypeBetween(String value1, String value2) {
addCriterion("type between", value1, value2, "type");
return (Criteria) this;
}
public Criteria andTypeNotBetween(String value1, String value2) {
addCriterion("type not between", value1, value2, "type");
return (Criteria) this;
}
public Criteria andTypenameIsNull() {
addCriterion("typename is null");
return (Criteria) this;
}
public Criteria andTypenameIsNotNull() {
addCriterion("typename is not null");
return (Criteria) this;
}
public Criteria andTypenameEqualTo(String value) {
addCriterion("typename =", value, "typename");
return (Criteria) this;
}
public Criteria andTypenameNotEqualTo(String value) {
addCriterion("typename <>", value, "typename");
return (Criteria) this;
}
public Criteria andTypenameGreaterThan(String value) {
addCriterion("typename >", value, "typename");
return (Criteria) this;
}
public Criteria andTypenameGreaterThanOrEqualTo(String value) {
addCriterion("typename >=", value, "typename");
return (Criteria) this;
}
public Criteria andTypenameLessThan(String value) {
addCriterion("typename <", value, "typename");
return (Criteria) this;
}
public Criteria andTypenameLessThanOrEqualTo(String value) {
addCriterion("typename <=", value, "typename");
return (Criteria) this;
}
public Criteria andTypenameLike(String value) {
addCriterion("typename like", value, "typename");
return (Criteria) this;
}
public Criteria andTypenameNotLike(String value) {
addCriterion("typename not like", value, "typename");
return (Criteria) this;
}
public Criteria andTypenameIn(List<String> values) {
addCriterion("typename in", values, "typename");
return (Criteria) this;
}
public Criteria andTypenameNotIn(List<String> values) {
addCriterion("typename not in", values, "typename");
return (Criteria) this;
}
public Criteria andTypenameBetween(String value1, String value2) {
addCriterion("typename between", value1, value2, "typename");
return (Criteria) this;
}
public Criteria andTypenameNotBetween(String value1, String value2) {
addCriterion("typename not between", value1, value2, "typename");
return (Criteria) this;
}
public Criteria andXingmingIsNull() {
addCriterion("xingming is null");
return (Criteria) this;
}
public Criteria andXingmingIsNotNull() {
addCriterion("xingming is not null");
return (Criteria) this;
}
public Criteria andXingmingEqualTo(String value) {
addCriterion("xingming =", value, "xingming");
return (Criteria) this;
}
public Criteria andXingmingNotEqualTo(String value) {
addCriterion("xingming <>", value, "xingming");
return (Criteria) this;
}
public Criteria andXingmingGreaterThan(String value) {
addCriterion("xingming >", value, "xingming");
return (Criteria) this;
}
public Criteria andXingmingGreaterThanOrEqualTo(String value) {
addCriterion("xingming >=", value, "xingming");
return (Criteria) this;
}
public Criteria andXingmingLessThan(String value) {
addCriterion("xingming <", value, "xingming");
return (Criteria) this;
}
public Criteria andXingmingLessThanOrEqualTo(String value) {
addCriterion("xingming <=", value, "xingming");
return (Criteria) this;
}
public Criteria andXingmingLike(String value) {
addCriterion("xingming like", value, "xingming");
return (Criteria) this;
}
public Criteria andXingmingNotLike(String value) {
addCriterion("xingming not like", value, "xingming");
return (Criteria) this;
}
public Criteria andXingmingIn(List<String> values) {
addCriterion("xingming in", values, "xingming");
return (Criteria) this;
}
public Criteria andXingmingNotIn(List<String> values) {
addCriterion("xingming not in", values, "xingming");
return (Criteria) this;
}
public Criteria andXingmingBetween(String value1, String value2) {
addCriterion("xingming between", value1, value2, "xingming");
return (Criteria) this;
}
public Criteria andXingmingNotBetween(String value1, String value2) {
addCriterion("xingming not between", value1, value2, "xingming");
return (Criteria) this;
}
public Criteria andXingbieIsNull() {
addCriterion("xingbie is null");
return (Criteria) this;
}
public Criteria andXingbieIsNotNull() {
addCriterion("xingbie is not null");
return (Criteria) this;
}
public Criteria andXingbieEqualTo(String value) {
addCriterion("xingbie =", value, "xingbie");
return (Criteria) this;
}
public Criteria andXingbieNotEqualTo(String value) {
addCriterion("xingbie <>", value, "xingbie");
return (Criteria) this;
}
public Criteria andXingbieGreaterThan(String value) {
addCriterion("xingbie >", value, "xingbie");
return (Criteria) this;
}
public Criteria andXingbieGreaterThanOrEqualTo(String value) {
addCriterion("xingbie >=", value, "xingbie");
return (Criteria) this;
}
public Criteria andXingbieLessThan(String value) {
addCriterion("xingbie <", value, "xingbie");
return (Criteria) this;
}
public Criteria andXingbieLessThanOrEqualTo(String value) {
addCriterion("xingbie <=", value, "xingbie");
return (Criteria) this;
}
public Criteria andXingbieLike(String value) {
addCriterion("xingbie like", value, "xingbie");
return (Criteria) this;
}
public Criteria andXingbieNotLike(String value) {
addCriterion("xingbie not like", value, "xingbie");
return (Criteria) this;
}
public Criteria andXingbieIn(List<String> values) {
addCriterion("xingbie in", values, "xingbie");
return (Criteria) this;
}
public Criteria andXingbieNotIn(List<String> values) {
addCriterion("xingbie not in", values, "xingbie");
return (Criteria) this;
}
public Criteria andXingbieBetween(String value1, String value2) {
addCriterion("xingbie between", value1, value2, "xingbie");
return (Criteria) this;
}
public Criteria andXingbieNotBetween(String value1, String value2) {
addCriterion("xingbie not between", value1, value2, "xingbie");
return (Criteria) this;
}
public Criteria andNianlingIsNull() {
addCriterion("nianling is null");
return (Criteria) this;
}
public Criteria andNianlingIsNotNull() {
addCriterion("nianling is not null");
return (Criteria) this;
}
public Criteria andNianlingEqualTo(String value) {
addCriterion("nianling =", value, "nianling");
return (Criteria) this;
}
public Criteria andNianlingNotEqualTo(String value) {
addCriterion("nianling <>", value, "nianling");
return (Criteria) this;
}
public Criteria andNianlingGreaterThan(String value) {
addCriterion("nianling >", value, "nianling");
return (Criteria) this;
}
public Criteria andNianlingGreaterThanOrEqualTo(String value) {
addCriterion("nianling >=", value, "nianling");
return (Criteria) this;
}
public Criteria andNianlingLessThan(String value) {
addCriterion("nianling <", value, "nianling");
return (Criteria) this;
}
public Criteria andNianlingLessThanOrEqualTo(String value) {
addCriterion("nianling <=", value, "nianling");
return (Criteria) this;
}
public Criteria andNianlingLike(String value) {
addCriterion("nianling like", value, "nianling");
return (Criteria) this;
}
public Criteria andNianlingNotLike(String value) {
addCriterion("nianling not like", value, "nianling");
return (Criteria) this;
}
public Criteria andNianlingIn(List<String> values) {
addCriterion("nianling in", values, "nianling");
return (Criteria) this;
}
public Criteria andNianlingNotIn(List<String> values) {
addCriterion("nianling not in", values, "nianling");
return (Criteria) this;
}
public Criteria andNianlingBetween(String value1, String value2) {
addCriterion("nianling between", value1, value2, "nianling");
return (Criteria) this;
}
public Criteria andNianlingNotBetween(String value1, String value2) {
addCriterion("nianling not between", value1, value2, "nianling");
return (Criteria) this;
}
public Criteria andAddressIsNull() {
addCriterion("address is null");
return (Criteria) this;
}
public Criteria andAddressIsNotNull() {
addCriterion("address is not null");
return (Criteria) this;
}
public Criteria andAddressEqualTo(String value) {
addCriterion("address =", value, "address");
return (Criteria) this;
}
public Criteria andAddressNotEqualTo(String value) {
addCriterion("address <>", value, "address");
return (Criteria) this;
}
public Criteria andAddressGreaterThan(String value) {
addCriterion("address >", value, "address");
return (Criteria) this;
}
public Criteria andAddressGreaterThanOrEqualTo(String value) {
addCriterion("address >=", value, "address");
return (Criteria) this;
}
public Criteria andAddressLessThan(String value) {
addCriterion("address <", value, "address");
return (Criteria) this;
}
public Criteria andAddressLessThanOrEqualTo(String value) {
addCriterion("address <=", value, "address");
return (Criteria) this;
}
public Criteria andAddressLike(String value) {
addCriterion("address like", value, "address");
return (Criteria) this;
}
public Criteria andAddressNotLike(String value) {
addCriterion("address not like", value, "address");
return (Criteria) this;
}
public Criteria andAddressIn(List<String> values) {
addCriterion("address in", values, "address");
return (Criteria) this;
}
public Criteria andAddressNotIn(List<String> values) {
addCriterion("address not in", values, "address");
return (Criteria) this;
}
public Criteria andAddressBetween(String value1, String value2) {
addCriterion("address between", value1, value2, "address");
return (Criteria) this;
}
public Criteria andAddressNotBetween(String value1, String value2) {
addCriterion("address not between", value1, value2, "address");
return (Criteria) this;
}
public Criteria andDianhuaIsNull() {
addCriterion("dianhua is null");
return (Criteria) this;
}
public Criteria andDianhuaIsNotNull() {
addCriterion("dianhua is not null");
return (Criteria) this;
}
public Criteria andDianhuaEqualTo(String value) {
addCriterion("dianhua =", value, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaNotEqualTo(String value) {
addCriterion("dianhua <>", value, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaGreaterThan(String value) {
addCriterion("dianhua >", value, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaGreaterThanOrEqualTo(String value) {
addCriterion("dianhua >=", value, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaLessThan(String value) {
addCriterion("dianhua <", value, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaLessThanOrEqualTo(String value) {
addCriterion("dianhua <=", value, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaLike(String value) {
addCriterion("dianhua like", value, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaNotLike(String value) {
addCriterion("dianhua not like", value, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaIn(List<String> values) {
addCriterion("dianhua in", values, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaNotIn(List<String> values) {
addCriterion("dianhua not in", values, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaBetween(String value1, String value2) {
addCriterion("dianhua between", value1, value2, "dianhua");
return (Criteria) this;
}
public Criteria andDianhuaNotBetween(String value1, String value2) {
addCriterion("dianhua not between", value1, value2, "dianhua");
return (Criteria) this;
}
public Criteria andShenheIsNull() {
addCriterion("shenhe is null");
return (Criteria) this;
}
public Criteria andShenheIsNotNull() {
addCriterion("shenhe is not null");
return (Criteria) this;
}
public Criteria andShenheEqualTo(String value) {
addCriterion("shenhe =", value, "shenhe");
return (Criteria) this;
}
public Criteria andShenheNotEqualTo(String value) {
addCriterion("shenhe <>", value, "shenhe");
return (Criteria) this;
}
public Criteria andShenheGreaterThan(String value) {
addCriterion("shenhe >", value, "shenhe");
return (Criteria) this;
}
public Criteria andShenheGreaterThanOrEqualTo(String value) {
addCriterion("shenhe >=", value, "shenhe");
return (Criteria) this;
}
public Criteria andShenheLessThan(String value) {
addCriterion("shenhe <", value, "shenhe");
return (Criteria) this;
}
public Criteria andShenheLessThanOrEqualTo(String value) {
addCriterion("shenhe <=", value, "shenhe");
return (Criteria) this;
}
public Criteria andShenheLike(String value) {
addCriterion("shenhe like", value, "shenhe");
return (Criteria) this;
}
public Criteria andShenheNotLike(String value) {
addCriterion("shenhe not like", value, "shenhe");
return (Criteria) this;
}
public Criteria andShenheIn(List<String> values) {
addCriterion("shenhe in", values, "shenhe");
return (Criteria) this;
}
public Criteria andShenheNotIn(List<String> values) {
addCriterion("shenhe not in", values, "shenhe");
return (Criteria) this;
}
public Criteria andShenheBetween(String value1, String value2) {
addCriterion("shenhe between", value1, value2, "shenhe");
return (Criteria) this;
}
public Criteria andShenheNotBetween(String value1, String value2) {
addCriterion("shenhe not between", value1, value2, "shenhe");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}

@ -0,0 +1,110 @@
package com.entity;
/**
* @ClassName Xinwen
* @Description
*/
public class Xinwen {
//id列
private Integer id;
//标题
private String biaoti;
//内容
private String neirong;
//图片
private String tupian;
//时间
private String shijian;
/**
* id
*
* @return id id
*/
public Integer getId() {
return this.id;
}
/**
* id
*
* @param id id
*/
public void setId(Integer id) {
this.id = id;
}
/**
*
*
* @return biaoti
*/
public String getBiaoti() {
return this.biaoti;
}
/**
*
*
* @param biaoti
*/
public void setBiaoti(String biaoti) {
this.biaoti = biaoti;
}
/**
*
*
* @return neirong
*/
public String getNeirong() {
return this.neirong;
}
/**
*
*
* @param neirong
*/
public void setNeirong(String neirong) {
this.neirong = neirong;
}
/**
*
*
* @return tupian
*/
public String getTupian() {
return this.tupian;
}
/**
*
*
* @param tupian
*/
public void setTupian(String tupian) {
this.tupian = tupian;
}
/**
*
*
* @return shijian
*/
public String getShijian() {
return this.shijian;
}
/**
*
*
* @param shijian
*/
public void setShijian(String shijian) {
this.shijian = shijian;
}
}

@ -0,0 +1,542 @@
package com.entity;
import java.util.ArrayList;
import java.util.List;
/**
* @ClassName Xinwen
* @Description mybatis
*/
public class XinwenExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public XinwenExample() {
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 andBiaotiIsNull() {
addCriterion("biaoti is null");
return (Criteria) this;
}
public Criteria andBiaotiIsNotNull() {
addCriterion("biaoti is not null");
return (Criteria) this;
}
public Criteria andBiaotiEqualTo(String value) {
addCriterion("biaoti =", value, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiNotEqualTo(String value) {
addCriterion("biaoti <>", value, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiGreaterThan(String value) {
addCriterion("biaoti >", value, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiGreaterThanOrEqualTo(String value) {
addCriterion("biaoti >=", value, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiLessThan(String value) {
addCriterion("biaoti <", value, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiLessThanOrEqualTo(String value) {
addCriterion("biaoti <=", value, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiLike(String value) {
addCriterion("biaoti like", value, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiNotLike(String value) {
addCriterion("biaoti not like", value, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiIn(List<String> values) {
addCriterion("biaoti in", values, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiNotIn(List<String> values) {
addCriterion("biaoti not in", values, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiBetween(String value1, String value2) {
addCriterion("biaoti between", value1, value2, "biaoti");
return (Criteria) this;
}
public Criteria andBiaotiNotBetween(String value1, String value2) {
addCriterion("biaoti not between", value1, value2, "biaoti");
return (Criteria) this;
}
public Criteria andNeirongIsNull() {
addCriterion("neirong is null");
return (Criteria) this;
}
public Criteria andNeirongIsNotNull() {
addCriterion("neirong is not null");
return (Criteria) this;
}
public Criteria andNeirongEqualTo(String value) {
addCriterion("neirong =", value, "neirong");
return (Criteria) this;
}
public Criteria andNeirongNotEqualTo(String value) {
addCriterion("neirong <>", value, "neirong");
return (Criteria) this;
}
public Criteria andNeirongGreaterThan(String value) {
addCriterion("neirong >", value, "neirong");
return (Criteria) this;
}
public Criteria andNeirongGreaterThanOrEqualTo(String value) {
addCriterion("neirong >=", value, "neirong");
return (Criteria) this;
}
public Criteria andNeirongLessThan(String value) {
addCriterion("neirong <", value, "neirong");
return (Criteria) this;
}
public Criteria andNeirongLessThanOrEqualTo(String value) {
addCriterion("neirong <=", value, "neirong");
return (Criteria) this;
}
public Criteria andNeirongLike(String value) {
addCriterion("neirong like", value, "neirong");
return (Criteria) this;
}
public Criteria andNeirongNotLike(String value) {
addCriterion("neirong not like", value, "neirong");
return (Criteria) this;
}
public Criteria andNeirongIn(List<String> values) {
addCriterion("neirong in", values, "neirong");
return (Criteria) this;
}
public Criteria andNeirongNotIn(List<String> values) {
addCriterion("neirong not in", values, "neirong");
return (Criteria) this;
}
public Criteria andNeirongBetween(String value1, String value2) {
addCriterion("neirong between", value1, value2, "neirong");
return (Criteria) this;
}
public Criteria andNeirongNotBetween(String value1, String value2) {
addCriterion("neirong not between", value1, value2, "neirong");
return (Criteria) this;
}
public Criteria andTupianIsNull() {
addCriterion("tupian is null");
return (Criteria) this;
}
public Criteria andTupianIsNotNull() {
addCriterion("tupian is not null");
return (Criteria) this;
}
public Criteria andTupianEqualTo(String value) {
addCriterion("tupian =", value, "tupian");
return (Criteria) this;
}
public Criteria andTupianNotEqualTo(String value) {
addCriterion("tupian <>", value, "tupian");
return (Criteria) this;
}
public Criteria andTupianGreaterThan(String value) {
addCriterion("tupian >", value, "tupian");
return (Criteria) this;
}
public Criteria andTupianGreaterThanOrEqualTo(String value) {
addCriterion("tupian >=", value, "tupian");
return (Criteria) this;
}
public Criteria andTupianLessThan(String value) {
addCriterion("tupian <", value, "tupian");
return (Criteria) this;
}
public Criteria andTupianLessThanOrEqualTo(String value) {
addCriterion("tupian <=", value, "tupian");
return (Criteria) this;
}
public Criteria andTupianLike(String value) {
addCriterion("tupian like", value, "tupian");
return (Criteria) this;
}
public Criteria andTupianNotLike(String value) {
addCriterion("tupian not like", value, "tupian");
return (Criteria) this;
}
public Criteria andTupianIn(List<String> values) {
addCriterion("tupian in", values, "tupian");
return (Criteria) this;
}
public Criteria andTupianNotIn(List<String> values) {
addCriterion("tupian not in", values, "tupian");
return (Criteria) this;
}
public Criteria andTupianBetween(String value1, String value2) {
addCriterion("tupian between", value1, value2, "tupian");
return (Criteria) this;
}
public Criteria andTupianNotBetween(String value1, String value2) {
addCriterion("tupian not between", value1, value2, "tupian");
return (Criteria) this;
}
public Criteria andShijianIsNull() {
addCriterion("shijian is null");
return (Criteria) this;
}
public Criteria andShijianIsNotNull() {
addCriterion("shijian is not null");
return (Criteria) this;
}
public Criteria andShijianEqualTo(String value) {
addCriterion("shijian =", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianNotEqualTo(String value) {
addCriterion("shijian <>", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianGreaterThan(String value) {
addCriterion("shijian >", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianGreaterThanOrEqualTo(String value) {
addCriterion("shijian >=", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianLessThan(String value) {
addCriterion("shijian <", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianLessThanOrEqualTo(String value) {
addCriterion("shijian <=", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianLike(String value) {
addCriterion("shijian like", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianNotLike(String value) {
addCriterion("shijian not like", value, "shijian");
return (Criteria) this;
}
public Criteria andShijianIn(List<String> values) {
addCriterion("shijian in", values, "shijian");
return (Criteria) this;
}
public Criteria andShijianNotIn(List<String> values) {
addCriterion("shijian not in", values, "shijian");
return (Criteria) this;
}
public Criteria andShijianBetween(String value1, String value2) {
addCriterion("shijian between", value1, value2, "shijian");
return (Criteria) this;
}
public Criteria andShijianNotBetween(String value1, String value2) {
addCriterion("shijian not between", value1, value2, "shijian");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}

@ -0,0 +1,53 @@
package com.entity;
/**
* @ClassName Zhifufangshi
* @Description
*/
public class Zhifufangshi {
//id列
private Integer id;
//支付方式
private String mingcheng;
/**
* id
*
* @return id id
*/
public Integer getId() {
return this.id;
}
/**
* id
*
* @param id id
*/
public void setId(Integer id) {
this.id = id;
}
/**
*
*
* @return mingcheng
*/
public String getMingcheng() {
return this.mingcheng;
}
/**
*
*
* @param mingcheng
*/
public void setMingcheng(String mingcheng) {
this.mingcheng = mingcheng;
}
}

@ -0,0 +1,335 @@
package com.entity;
import java.util.ArrayList;
import java.util.List;
/**
* @ClassName Zhifufangshi
* @Description mybatis
*/
public class ZhifufangshiExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public ZhifufangshiExample() {
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 andMingchengIsNull() {
addCriterion("mingcheng is null");
return (Criteria) this;
}
public Criteria andMingchengIsNotNull() {
addCriterion("mingcheng is not null");
return (Criteria) this;
}
public Criteria andMingchengEqualTo(String value) {
addCriterion("mingcheng =", value, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengNotEqualTo(String value) {
addCriterion("mingcheng <>", value, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengGreaterThan(String value) {
addCriterion("mingcheng >", value, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengGreaterThanOrEqualTo(String value) {
addCriterion("mingcheng >=", value, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengLessThan(String value) {
addCriterion("mingcheng <", value, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengLessThanOrEqualTo(String value) {
addCriterion("mingcheng <=", value, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengLike(String value) {
addCriterion("mingcheng like", value, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengNotLike(String value) {
addCriterion("mingcheng not like", value, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengIn(List<String> values) {
addCriterion("mingcheng in", values, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengNotIn(List<String> values) {
addCriterion("mingcheng not in", values, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengBetween(String value1, String value2) {
addCriterion("mingcheng between", value1, value2, "mingcheng");
return (Criteria) this;
}
public Criteria andMingchengNotBetween(String value1, String value2) {
addCriterion("mingcheng not between", value1, value2, "mingcheng");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}
Loading…
Cancel
Save