enity部分

gcg
高晨纲 3 weeks ago
parent cadf6741ee
commit ce86bf6dad

@ -0,0 +1,319 @@
package com.entity;
/**
* @ClassName Dingdan
* @Description
*/
public class Dingdan {
//id列
private Integer id;
//编号
private String bianhao;
//订单金额
private Integer jine;
//是否支付
private String zhifushenhe;
//是否发货
private String fahuoshenhe;
//是否收货
private String shouhuoshenhe;
//支付方式
private Integer zhifufangshiid;
//姓名
private String xingming;
//电话
private String dianhua;
//送货地址
private String dizhi;
//时间
private String shijian;
//物流信息
private String wuliu;
//备注
private String beizhu;
//用户id
private Integer usersid;
//父表支付方式表zhifufangshi
private Zhifufangshi zhifufangshi;
//父表用户表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 bianhao
*/
public String getBianhao() {
return this.bianhao;
}
/**
*
*
* @param bianhao
*/
public void setBianhao(String bianhao) {
this.bianhao = bianhao;
}
/**
*
*
* @return jine
*/
public Integer getJine() {
return this.jine;
}
/**
*
*
* @param jine
*/
public void setJine(Integer jine) {
this.jine = jine;
}
/**
*
*
* @return zhifushenhe
*/
public String getZhifushenhe() {
return this.zhifushenhe;
}
/**
*
*
* @param zhifushenhe
*/
public void setZhifushenhe(String zhifushenhe) {
this.zhifushenhe = zhifushenhe;
}
/**
*
*
* @return fahuoshenhe
*/
public String getFahuoshenhe() {
return this.fahuoshenhe;
}
/**
*
*
* @param fahuoshenhe
*/
public void setFahuoshenhe(String fahuoshenhe) {
this.fahuoshenhe = fahuoshenhe;
}
/**
*
*
* @return shouhuoshenhe
*/
public String getShouhuoshenhe() {
return this.shouhuoshenhe;
}
/**
*
*
* @param shouhuoshenhe
*/
public void setShouhuoshenhe(String shouhuoshenhe) {
this.shouhuoshenhe = shouhuoshenhe;
}
/**
*
*
* @return zhifufangshiid
*/
public Integer getZhifufangshiid() {
return this.zhifufangshiid;
}
/**
*
*
* @param zhifufangshiid
*/
public void setZhifufangshiid(Integer zhifufangshiid) {
this.zhifufangshiid = zhifufangshiid;
}
/**
*
*
* @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 dizhi
*/
public String getDizhi() {
return this.dizhi;
}
/**
*
*
* @param dizhi
*/
public void setDizhi(String dizhi) {
this.dizhi = dizhi;
}
/**
*
*
* @return shijian
*/
public String getShijian() {
return this.shijian;
}
/**
*
*
* @param shijian
*/
public void setShijian(String shijian) {
this.shijian = shijian;
}
/**
*
*
* @return wuliu
*/
public String getWuliu() {
return this.wuliu;
}
/**
*
*
* @param wuliu
*/
public void setWuliu(String wuliu) {
this.wuliu = wuliu;
}
/**
*
*
* @return beizhu
*/
public String getBeizhu() {
return this.beizhu;
}
/**
*
*
* @param beizhu
*/
public void setBeizhu(String beizhu) {
this.beizhu = beizhu;
}
/**
* id
*
* @return usersid id
*/
public Integer getUsersid() {
return this.usersid;
}
/**
* id
*
* @param usersid id
*/
public void setUsersid(Integer usersid) {
this.usersid = usersid;
}
/**
* zhifufangshi
*
* @return zhifufangshi zhifufangshi
*/
public Zhifufangshi getZhifufangshi() {
return this.zhifufangshi;
}
/**
* zhifufangshi
*
* @param zhifufangshi zhifufangshi
*/
public void setZhifufangshi(Zhifufangshi zhifufangshi) {
this.zhifufangshi = zhifufangshi;
}
/**
* users
*
* @return users users
*/
public Users getUsers() {
return this.users;
}
/**
* users
*
* @param users users
*/
public void setUsers(Users users) {
this.users = users;
}
}

File diff suppressed because it is too large Load Diff

@ -0,0 +1,167 @@
package com.entity;
/**
* @ClassName Dingdanxiang
* @Description
*/
public class Dingdanxiang {
//id列
private Integer id;
//订单id
private Integer dingdanid;
//商品id
private Integer shangpinid;
//商品数量
private Integer goumaishuliang;
//用户id
private Integer usersid;
//父表订单表dingdan
private Dingdan dingdan;
//父表零食表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;
}
/**
* id
*
* @return dingdanid id
*/
public Integer getDingdanid() {
return this.dingdanid;
}
/**
* id
*
* @param dingdanid id
*/
public void setDingdanid(Integer dingdanid) {
this.dingdanid = dingdanid;
}
/**
* id
*
* @return shangpinid id
*/
public Integer getShangpinid() {
return this.shangpinid;
}
/**
* id
*
* @param shangpinid id
*/
public void setShangpinid(Integer shangpinid) {
this.shangpinid = shangpinid;
}
/**
*
*
* @return goumaishuliang
*/
public Integer getGoumaishuliang() {
return this.goumaishuliang;
}
/**
*
*
* @param goumaishuliang
*/
public void setGoumaishuliang(Integer goumaishuliang) {
this.goumaishuliang = goumaishuliang;
}
/**
* id
*
* @return usersid id
*/
public Integer getUsersid() {
return this.usersid;
}
/**
* id
*
* @param usersid id
*/
public void setUsersid(Integer usersid) {
this.usersid = usersid;
}
/**
* dingdan
*
* @return dingdan dingdan
*/
public Dingdan getDingdan() {
return this.dingdan;
}
/**
* dingdan
*
* @param dingdan dingdan
*/
public void setDingdan(Dingdan dingdan) {
this.dingdan = dingdan;
}
/**
* 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,542 @@
package com.entity;
import java.util.ArrayList;
import java.util.List;
/**
* @ClassName Dingdanxiang
* @Description mybatis
*/
public class DingdanxiangExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public DingdanxiangExample() {
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 andDingdanidIsNull() {
addCriterion("dingdanid is null");
return (Criteria) this;
}
public Criteria andDingdanidIsNotNull() {
addCriterion("dingdanid is not null");
return (Criteria) this;
}
public Criteria andDingdanidEqualTo(Integer value) {
addCriterion("dingdanid =", value, "dingdanid");
return (Criteria) this;
}
public Criteria andDingdanidNotEqualTo(Integer value) {
addCriterion("dingdanid <>", value, "dingdanid");
return (Criteria) this;
}
public Criteria andDingdanidGreaterThan(Integer value) {
addCriterion("dingdanid >", value, "dingdanid");
return (Criteria) this;
}
public Criteria andDingdanidGreaterThanOrEqualTo(Integer value) {
addCriterion("dingdanid >=", value, "dingdanid");
return (Criteria) this;
}
public Criteria andDingdanidLessThan(Integer value) {
addCriterion("dingdanid <", value, "dingdanid");
return (Criteria) this;
}
public Criteria andDingdanidLessThanOrEqualTo(Integer value) {
addCriterion("dingdanid <=", value, "dingdanid");
return (Criteria) this;
}
public Criteria andDingdanidLike(Integer value) {
addCriterion("dingdanid like", value, "dingdanid");
return (Criteria) this;
}
public Criteria andDingdanidNotLike(Integer value) {
addCriterion("dingdanid not like", value, "dingdanid");
return (Criteria) this;
}
public Criteria andDingdanidIn(List<Integer> values) {
addCriterion("dingdanid in", values, "dingdanid");
return (Criteria) this;
}
public Criteria andDingdanidNotIn(List<Integer> values) {
addCriterion("dingdanid not in", values, "dingdanid");
return (Criteria) this;
}
public Criteria andDingdanidBetween(Integer value1, Integer value2) {
addCriterion("dingdanid between", value1, value2, "dingdanid");
return (Criteria) this;
}
public Criteria andDingdanidNotBetween(Integer value1, Integer value2) {
addCriterion("dingdanid not between", value1, value2, "dingdanid");
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 andGoumaishuliangIsNull() {
addCriterion("goumaishuliang is null");
return (Criteria) this;
}
public Criteria andGoumaishuliangIsNotNull() {
addCriterion("goumaishuliang is not null");
return (Criteria) this;
}
public Criteria andGoumaishuliangEqualTo(Integer value) {
addCriterion("goumaishuliang =", value, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangNotEqualTo(Integer value) {
addCriterion("goumaishuliang <>", value, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangGreaterThan(Integer value) {
addCriterion("goumaishuliang >", value, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangGreaterThanOrEqualTo(Integer value) {
addCriterion("goumaishuliang >=", value, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangLessThan(Integer value) {
addCriterion("goumaishuliang <", value, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangLessThanOrEqualTo(Integer value) {
addCriterion("goumaishuliang <=", value, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangLike(Integer value) {
addCriterion("goumaishuliang like", value, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangNotLike(Integer value) {
addCriterion("goumaishuliang not like", value, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangIn(List<Integer> values) {
addCriterion("goumaishuliang in", values, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangNotIn(List<Integer> values) {
addCriterion("goumaishuliang not in", values, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangBetween(Integer value1, Integer value2) {
addCriterion("goumaishuliang between", value1, value2, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangNotBetween(Integer value1, Integer value2) {
addCriterion("goumaishuliang not between", value1, value2, "goumaishuliang");
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,91 @@
package com.entity;
/**
* @ClassName Dx
* @Description
*/
public class Dx {
//id列
private Integer id;
//类别
private String leibie;
//内容
private String content;
//时间
private String addtime;
/**
* id
*
* @return id id
*/
public Integer getId() {
return this.id;
}
/**
* id
*
* @param id id
*/
public void setId(Integer id) {
this.id = id;
}
/**
*
*
* @return leibie
*/
public String getLeibie() {
return this.leibie;
}
/**
*
*
* @param leibie
*/
public void setLeibie(String leibie) {
this.leibie = leibie;
}
/**
*
*
* @return content
*/
public String getContent() {
return this.content;
}
/**
*
*
* @param content
*/
public void setContent(String content) {
this.content = content;
}
/**
*
*
* @return addtime
*/
public String getAddtime() {
return this.addtime;
}
/**
*
*
* @param addtime
*/
public void setAddtime(String addtime) {
this.addtime = addtime;
}
}

@ -0,0 +1,473 @@
package com.entity;
import java.util.ArrayList;
import java.util.List;
/**
* @ClassName Dx
* @Description mybatis
*/
public class DxExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public DxExample() {
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 andLeibieIsNull() {
addCriterion("leibie is null");
return (Criteria) this;
}
public Criteria andLeibieIsNotNull() {
addCriterion("leibie is not null");
return (Criteria) this;
}
public Criteria andLeibieEqualTo(String value) {
addCriterion("leibie =", value, "leibie");
return (Criteria) this;
}
public Criteria andLeibieNotEqualTo(String value) {
addCriterion("leibie <>", value, "leibie");
return (Criteria) this;
}
public Criteria andLeibieGreaterThan(String value) {
addCriterion("leibie >", value, "leibie");
return (Criteria) this;
}
public Criteria andLeibieGreaterThanOrEqualTo(String value) {
addCriterion("leibie >=", value, "leibie");
return (Criteria) this;
}
public Criteria andLeibieLessThan(String value) {
addCriterion("leibie <", value, "leibie");
return (Criteria) this;
}
public Criteria andLeibieLessThanOrEqualTo(String value) {
addCriterion("leibie <=", value, "leibie");
return (Criteria) this;
}
public Criteria andLeibieLike(String value) {
addCriterion("leibie like", value, "leibie");
return (Criteria) this;
}
public Criteria andLeibieNotLike(String value) {
addCriterion("leibie not like", value, "leibie");
return (Criteria) this;
}
public Criteria andLeibieIn(List<String> values) {
addCriterion("leibie in", values, "leibie");
return (Criteria) this;
}
public Criteria andLeibieNotIn(List<String> values) {
addCriterion("leibie not in", values, "leibie");
return (Criteria) this;
}
public Criteria andLeibieBetween(String value1, String value2) {
addCriterion("leibie between", value1, value2, "leibie");
return (Criteria) this;
}
public Criteria andLeibieNotBetween(String value1, String value2) {
addCriterion("leibie not between", value1, value2, "leibie");
return (Criteria) this;
}
public Criteria andContentIsNull() {
addCriterion("content is null");
return (Criteria) this;
}
public Criteria andContentIsNotNull() {
addCriterion("content is not null");
return (Criteria) this;
}
public Criteria andContentEqualTo(String value) {
addCriterion("content =", value, "content");
return (Criteria) this;
}
public Criteria andContentNotEqualTo(String value) {
addCriterion("content <>", value, "content");
return (Criteria) this;
}
public Criteria andContentGreaterThan(String value) {
addCriterion("content >", value, "content");
return (Criteria) this;
}
public Criteria andContentGreaterThanOrEqualTo(String value) {
addCriterion("content >=", value, "content");
return (Criteria) this;
}
public Criteria andContentLessThan(String value) {
addCriterion("content <", value, "content");
return (Criteria) this;
}
public Criteria andContentLessThanOrEqualTo(String value) {
addCriterion("content <=", value, "content");
return (Criteria) this;
}
public Criteria andContentLike(String value) {
addCriterion("content like", value, "content");
return (Criteria) this;
}
public Criteria andContentNotLike(String value) {
addCriterion("content not like", value, "content");
return (Criteria) this;
}
public Criteria andContentIn(List<String> values) {
addCriterion("content in", values, "content");
return (Criteria) this;
}
public Criteria andContentNotIn(List<String> values) {
addCriterion("content not in", values, "content");
return (Criteria) this;
}
public Criteria andContentBetween(String value1, String value2) {
addCriterion("content between", value1, value2, "content");
return (Criteria) this;
}
public Criteria andContentNotBetween(String value1, String value2) {
addCriterion("content not between", value1, value2, "content");
return (Criteria) this;
}
public Criteria andAddtimeIsNull() {
addCriterion("addtime is null");
return (Criteria) this;
}
public Criteria andAddtimeIsNotNull() {
addCriterion("addtime is not null");
return (Criteria) this;
}
public Criteria andAddtimeEqualTo(String value) {
addCriterion("addtime =", value, "addtime");
return (Criteria) this;
}
public Criteria andAddtimeNotEqualTo(String value) {
addCriterion("addtime <>", value, "addtime");
return (Criteria) this;
}
public Criteria andAddtimeGreaterThan(String value) {
addCriterion("addtime >", value, "addtime");
return (Criteria) this;
}
public Criteria andAddtimeGreaterThanOrEqualTo(String value) {
addCriterion("addtime >=", value, "addtime");
return (Criteria) this;
}
public Criteria andAddtimeLessThan(String value) {
addCriterion("addtime <", value, "addtime");
return (Criteria) this;
}
public Criteria andAddtimeLessThanOrEqualTo(String value) {
addCriterion("addtime <=", value, "addtime");
return (Criteria) this;
}
public Criteria andAddtimeLike(String value) {
addCriterion("addtime like", value, "addtime");
return (Criteria) this;
}
public Criteria andAddtimeNotLike(String value) {
addCriterion("addtime not like", value, "addtime");
return (Criteria) this;
}
public Criteria andAddtimeIn(List<String> values) {
addCriterion("addtime in", values, "addtime");
return (Criteria) this;
}
public Criteria andAddtimeNotIn(List<String> values) {
addCriterion("addtime not in", values, "addtime");
return (Criteria) this;
}
public Criteria andAddtimeBetween(String value1, String value2) {
addCriterion("addtime between", value1, value2, "addtime");
return (Criteria) this;
}
public Criteria andAddtimeNotBetween(String value1, String value2) {
addCriterion("addtime not between", value1, value2, "addtime");
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 Gonggao
* @Description
*/
public class Gonggao {
//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 Gonggao
* @Description mybatis
*/
public class GonggaoExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public GonggaoExample() {
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,129 @@
package com.entity;
/**
* @ClassName Gouwuche
* @Description
*/
public class Gouwuche {
//id列
private Integer id;
//商品id
private Integer shangpinid;
//商品数量
private Integer goumaishuliang;
//用户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;
}
/**
* id
*
* @return shangpinid id
*/
public Integer getShangpinid() {
return this.shangpinid;
}
/**
* id
*
* @param shangpinid id
*/
public void setShangpinid(Integer shangpinid) {
this.shangpinid = shangpinid;
}
/**
*
*
* @return goumaishuliang
*/
public Integer getGoumaishuliang() {
return this.goumaishuliang;
}
/**
*
*
* @param goumaishuliang
*/
public void setGoumaishuliang(Integer goumaishuliang) {
this.goumaishuliang = goumaishuliang;
}
/**
* 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 Gouwuche
* @Description mybatis
*/
public class GouwucheExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public GouwucheExample() {
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 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 andGoumaishuliangIsNull() {
addCriterion("goumaishuliang is null");
return (Criteria) this;
}
public Criteria andGoumaishuliangIsNotNull() {
addCriterion("goumaishuliang is not null");
return (Criteria) this;
}
public Criteria andGoumaishuliangEqualTo(Integer value) {
addCriterion("goumaishuliang =", value, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangNotEqualTo(Integer value) {
addCriterion("goumaishuliang <>", value, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangGreaterThan(Integer value) {
addCriterion("goumaishuliang >", value, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangGreaterThanOrEqualTo(Integer value) {
addCriterion("goumaishuliang >=", value, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangLessThan(Integer value) {
addCriterion("goumaishuliang <", value, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangLessThanOrEqualTo(Integer value) {
addCriterion("goumaishuliang <=", value, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangLike(Integer value) {
addCriterion("goumaishuliang like", value, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangNotLike(Integer value) {
addCriterion("goumaishuliang not like", value, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangIn(List<Integer> values) {
addCriterion("goumaishuliang in", values, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangNotIn(List<Integer> values) {
addCriterion("goumaishuliang not in", values, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangBetween(Integer value1, Integer value2) {
addCriterion("goumaishuliang between", value1, value2, "goumaishuliang");
return (Criteria) this;
}
public Criteria andGoumaishuliangNotBetween(Integer value1, Integer value2) {
addCriterion("goumaishuliang not between", value1, value2, "goumaishuliang");
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,72 @@
package com.entity;
/**
* @ClassName Lianjie
* @Description
*/
public class Lianjie {
//id列
private Integer id;
//名称
private String name;
//链接地址
private String url;
/**
* id
*
* @return id id
*/
public Integer getId() {
return this.id;
}
/**
* id
*
* @param id id
*/
public void setId(Integer id) {
this.id = id;
}
/**
*
*
* @return name
*/
public String getName() {
return this.name;
}
/**
*
*
* @param name
*/
public void setName(String name) {
this.name = name;
}
/**
*
*
* @return url
*/
public String getUrl() {
return this.url;
}
/**
*
*
* @param url
*/
public void setUrl(String url) {
this.url = url;
}
}

@ -0,0 +1,404 @@
package com.entity;
import java.util.ArrayList;
import java.util.List;
/**
* @ClassName Lianjie
* @Description mybatis
*/
public class LianjieExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public LianjieExample() {
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 andNameIsNull() {
addCriterion("name is null");
return (Criteria) this;
}
public Criteria andNameIsNotNull() {
addCriterion("name is not null");
return (Criteria) this;
}
public Criteria andNameEqualTo(String value) {
addCriterion("name =", value, "name");
return (Criteria) this;
}
public Criteria andNameNotEqualTo(String value) {
addCriterion("name <>", value, "name");
return (Criteria) this;
}
public Criteria andNameGreaterThan(String value) {
addCriterion("name >", value, "name");
return (Criteria) this;
}
public Criteria andNameGreaterThanOrEqualTo(String value) {
addCriterion("name >=", value, "name");
return (Criteria) this;
}
public Criteria andNameLessThan(String value) {
addCriterion("name <", value, "name");
return (Criteria) this;
}
public Criteria andNameLessThanOrEqualTo(String value) {
addCriterion("name <=", value, "name");
return (Criteria) this;
}
public Criteria andNameLike(String value) {
addCriterion("name like", value, "name");
return (Criteria) this;
}
public Criteria andNameNotLike(String value) {
addCriterion("name not like", value, "name");
return (Criteria) this;
}
public Criteria andNameIn(List<String> values) {
addCriterion("name in", values, "name");
return (Criteria) this;
}
public Criteria andNameNotIn(List<String> values) {
addCriterion("name not in", values, "name");
return (Criteria) this;
}
public Criteria andNameBetween(String value1, String value2) {
addCriterion("name between", value1, value2, "name");
return (Criteria) this;
}
public Criteria andNameNotBetween(String value1, String value2) {
addCriterion("name not between", value1, value2, "name");
return (Criteria) this;
}
public Criteria andUrlIsNull() {
addCriterion("url is null");
return (Criteria) this;
}
public Criteria andUrlIsNotNull() {
addCriterion("url is not null");
return (Criteria) this;
}
public Criteria andUrlEqualTo(String value) {
addCriterion("url =", value, "url");
return (Criteria) this;
}
public Criteria andUrlNotEqualTo(String value) {
addCriterion("url <>", value, "url");
return (Criteria) this;
}
public Criteria andUrlGreaterThan(String value) {
addCriterion("url >", value, "url");
return (Criteria) this;
}
public Criteria andUrlGreaterThanOrEqualTo(String value) {
addCriterion("url >=", value, "url");
return (Criteria) this;
}
public Criteria andUrlLessThan(String value) {
addCriterion("url <", value, "url");
return (Criteria) this;
}
public Criteria andUrlLessThanOrEqualTo(String value) {
addCriterion("url <=", value, "url");
return (Criteria) this;
}
public Criteria andUrlLike(String value) {
addCriterion("url like", value, "url");
return (Criteria) this;
}
public Criteria andUrlNotLike(String value) {
addCriterion("url not like", value, "url");
return (Criteria) this;
}
public Criteria andUrlIn(List<String> values) {
addCriterion("url in", values, "url");
return (Criteria) this;
}
public Criteria andUrlNotIn(List<String> values) {
addCriterion("url not in", values, "url");
return (Criteria) this;
}
public Criteria andUrlBetween(String value1, String value2) {
addCriterion("url between", value1, value2, "url");
return (Criteria) this;
}
public Criteria andUrlNotBetween(String value1, String value2) {
addCriterion("url not between", value1, value2, "url");
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,148 @@
package com.entity;
/**
* @ClassName Liuyan
* @Description
*/
public class Liuyan {
//id列
private Integer id;
//标题
private String biaoti;
//内容
private String neirong;
//留言添加时间
private String addshijian;
//用户id
private Integer usersid;
//回复
private String huifu;
//父表用户表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;
}
/**
*
*
* @return neirong
*/
public String getNeirong() {
return this.neirong;
}
/**
*
*
* @param neirong
*/
public void setNeirong(String neirong) {
this.neirong = neirong;
}
/**
*
*
* @return addshijian
*/
public String getAddshijian() {
return this.addshijian;
}
/**
*
*
* @param addshijian
*/
public void setAddshijian(String addshijian) {
this.addshijian = addshijian;
}
/**
* id
*
* @return usersid id
*/
public Integer getUsersid() {
return this.usersid;
}
/**
* id
*
* @param usersid id
*/
public void setUsersid(Integer usersid) {
this.usersid = usersid;
}
/**
*
*
* @return huifu
*/
public String getHuifu() {
return this.huifu;
}
/**
*
*
* @param huifu
*/
public void setHuifu(String huifu) {
this.huifu = huifu;
}
/**
* 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 Liuyan
* @Description mybatis
*/
public class LiuyanExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public LiuyanExample() {
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 andAddshijianIsNull() {
addCriterion("addshijian is null");
return (Criteria) this;
}
public Criteria andAddshijianIsNotNull() {
addCriterion("addshijian is not null");
return (Criteria) this;
}
public Criteria andAddshijianEqualTo(String value) {
addCriterion("addshijian =", value, "addshijian");
return (Criteria) this;
}
public Criteria andAddshijianNotEqualTo(String value) {
addCriterion("addshijian <>", value, "addshijian");
return (Criteria) this;
}
public Criteria andAddshijianGreaterThan(String value) {
addCriterion("addshijian >", value, "addshijian");
return (Criteria) this;
}
public Criteria andAddshijianGreaterThanOrEqualTo(String value) {
addCriterion("addshijian >=", value, "addshijian");
return (Criteria) this;
}
public Criteria andAddshijianLessThan(String value) {
addCriterion("addshijian <", value, "addshijian");
return (Criteria) this;
}
public Criteria andAddshijianLessThanOrEqualTo(String value) {
addCriterion("addshijian <=", value, "addshijian");
return (Criteria) this;
}
public Criteria andAddshijianLike(String value) {
addCriterion("addshijian like", value, "addshijian");
return (Criteria) this;
}
public Criteria andAddshijianNotLike(String value) {
addCriterion("addshijian not like", value, "addshijian");
return (Criteria) this;
}
public Criteria andAddshijianIn(List<String> values) {
addCriterion("addshijian in", values, "addshijian");
return (Criteria) this;
}
public Criteria andAddshijianNotIn(List<String> values) {
addCriterion("addshijian not in", values, "addshijian");
return (Criteria) this;
}
public Criteria andAddshijianBetween(String value1, String value2) {
addCriterion("addshijian between", value1, value2, "addshijian");
return (Criteria) this;
}
public Criteria andAddshijianNotBetween(String value1, String value2) {
addCriterion("addshijian not between", value1, value2, "addshijian");
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 Criteria andHuifuIsNull() {
addCriterion("huifu is null");
return (Criteria) this;
}
public Criteria andHuifuIsNotNull() {
addCriterion("huifu is not null");
return (Criteria) this;
}
public Criteria andHuifuEqualTo(String value) {
addCriterion("huifu =", value, "huifu");
return (Criteria) this;
}
public Criteria andHuifuNotEqualTo(String value) {
addCriterion("huifu <>", value, "huifu");
return (Criteria) this;
}
public Criteria andHuifuGreaterThan(String value) {
addCriterion("huifu >", value, "huifu");
return (Criteria) this;
}
public Criteria andHuifuGreaterThanOrEqualTo(String value) {
addCriterion("huifu >=", value, "huifu");
return (Criteria) this;
}
public Criteria andHuifuLessThan(String value) {
addCriterion("huifu <", value, "huifu");
return (Criteria) this;
}
public Criteria andHuifuLessThanOrEqualTo(String value) {
addCriterion("huifu <=", value, "huifu");
return (Criteria) this;
}
public Criteria andHuifuLike(String value) {
addCriterion("huifu like", value, "huifu");
return (Criteria) this;
}
public Criteria andHuifuNotLike(String value) {
addCriterion("huifu not like", value, "huifu");
return (Criteria) this;
}
public Criteria andHuifuIn(List<String> values) {
addCriterion("huifu in", values, "huifu");
return (Criteria) this;
}
public Criteria andHuifuNotIn(List<String> values) {
addCriterion("huifu not in", values, "huifu");
return (Criteria) this;
}
public Criteria andHuifuBetween(String value1, String value2) {
addCriterion("huifu between", value1, value2, "huifu");
return (Criteria) this;
}
public Criteria andHuifuNotBetween(String value1, String value2) {
addCriterion("huifu not between", value1, value2, "huifu");
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,72 @@
package com.entity;
/**
* @ClassName Lunbo
* @Description
*/
public class Lunbo {
//id列
private Integer id;
//标题
private String biaoti;
//图片
private String image;
/**
* 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 image
*/
public String getImage() {
return this.image;
}
/**
*
*
* @param image
*/
public void setImage(String image) {
this.image = image;
}
}

@ -0,0 +1,404 @@
package com.entity;
import java.util.ArrayList;
import java.util.List;
/**
* @ClassName Lunbo
* @Description mybatis
*/
public class LunboExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public LunboExample() {
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 andImageIsNull() {
addCriterion("image is null");
return (Criteria) this;
}
public Criteria andImageIsNotNull() {
addCriterion("image is not null");
return (Criteria) this;
}
public Criteria andImageEqualTo(String value) {
addCriterion("image =", value, "image");
return (Criteria) this;
}
public Criteria andImageNotEqualTo(String value) {
addCriterion("image <>", value, "image");
return (Criteria) this;
}
public Criteria andImageGreaterThan(String value) {
addCriterion("image >", value, "image");
return (Criteria) this;
}
public Criteria andImageGreaterThanOrEqualTo(String value) {
addCriterion("image >=", value, "image");
return (Criteria) this;
}
public Criteria andImageLessThan(String value) {
addCriterion("image <", value, "image");
return (Criteria) this;
}
public Criteria andImageLessThanOrEqualTo(String value) {
addCriterion("image <=", value, "image");
return (Criteria) this;
}
public Criteria andImageLike(String value) {
addCriterion("image like", value, "image");
return (Criteria) this;
}
public Criteria andImageNotLike(String value) {
addCriterion("image not like", value, "image");
return (Criteria) this;
}
public Criteria andImageIn(List<String> values) {
addCriterion("image in", values, "image");
return (Criteria) this;
}
public Criteria andImageNotIn(List<String> values) {
addCriterion("image not in", values, "image");
return (Criteria) this;
}
public Criteria andImageBetween(String value1, String value2) {
addCriterion("image between", value1, value2, "image");
return (Criteria) this;
}
public Criteria andImageNotBetween(String value1, String value2) {
addCriterion("image not between", value1, value2, "image");
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