package com.huimv.xt.dataobject; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; public class XtDmlbExample { /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ protected String orderByClause; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ protected List oredCriteria; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ protected int start = -1; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ protected int limit = -1; /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ public XtDmlbExample() { oredCriteria = new ArrayList(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ protected XtDmlbExample(XtDmlbExample example) { this.orderByClause = example.orderByClause; this.oredCriteria = example.oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ public void clear() { oredCriteria.clear(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ public void setStart(int start) { this.start=start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ public int getStart() { return start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ public void setLimit(int limit) { this.limit=limit; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ public int getLimit() { return limit; } /** * This class was generated by Apache iBATIS ibator. * This class corresponds to the database table xt_dmlb * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ public static class Criteria { protected List criteriaWithoutValue; protected List> criteriaWithSingleValue; protected List> criteriaWithListValue; protected List> criteriaWithBetweenValue; protected Criteria() { super(); criteriaWithoutValue = new ArrayList(); criteriaWithSingleValue = new ArrayList>(); criteriaWithListValue = new ArrayList>(); criteriaWithBetweenValue = new ArrayList>(); } public boolean isValid() { return criteriaWithoutValue.size() > 0 || criteriaWithSingleValue.size() > 0 || criteriaWithListValue.size() > 0 || criteriaWithBetweenValue.size() > 0; } public List getCriteriaWithoutValue() { return criteriaWithoutValue; } public List> getCriteriaWithSingleValue() { return criteriaWithSingleValue; } public List> getCriteriaWithListValue() { return criteriaWithListValue; } public List> getCriteriaWithBetweenValue() { return criteriaWithBetweenValue; } protected void addCriterion(String condition) { if (condition == null) { throw new RuntimeException("Value for condition cannot be null"); } criteriaWithoutValue.add(condition); } protected void addCriterion(String condition, Object value, String property) { if (value == null) { throw new RuntimeException("Value for " + property + " cannot be null"); } Map map = new HashMap(); map.put("condition", condition); map.put("value", value); criteriaWithSingleValue.add(map); } protected void addCriterion(String condition, List values, String property) { if (values == null || values.size() == 0) { throw new RuntimeException("Value list for " + property + " cannot be null or empty"); } Map map = new HashMap(); map.put("condition", condition); map.put("values", values); criteriaWithListValue.add(map); } 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"); } List list = new ArrayList(); list.add(value1); list.add(value2); Map map = new HashMap(); map.put("condition", condition); map.put("values", list); criteriaWithBetweenValue.add(map); } public Criteria andLbidIsNull() { addCriterion("LBID is null"); return this; } public Criteria andLbidIsNotNull() { addCriterion("LBID is not null"); return this; } public Criteria andLbidEqualTo(Integer value) { addCriterion("LBID =", value, "lbid"); return this; } public Criteria andLbidNotEqualTo(Integer value) { addCriterion("LBID <>", value, "lbid"); return this; } public Criteria andLbidGreaterThan(Integer value) { addCriterion("LBID >", value, "lbid"); return this; } public Criteria andLbidGreaterThanOrEqualTo(Integer value) { addCriterion("LBID >=", value, "lbid"); return this; } public Criteria andLbidLessThan(Integer value) { addCriterion("LBID <", value, "lbid"); return this; } public Criteria andLbidLessThanOrEqualTo(Integer value) { addCriterion("LBID <=", value, "lbid"); return this; } public Criteria andLbidIn(List values) { addCriterion("LBID in", values, "lbid"); return this; } public Criteria andLbidNotIn(List values) { addCriterion("LBID not in", values, "lbid"); return this; } public Criteria andLbidBetween(Integer value1, Integer value2) { addCriterion("LBID between", value1, value2, "lbid"); return this; } public Criteria andLbidNotBetween(Integer value1, Integer value2) { addCriterion("LBID not between", value1, value2, "lbid"); return this; } public Criteria andLbmcIsNull() { addCriterion("LBMC is null"); return this; } public Criteria andLbmcIsNotNull() { addCriterion("LBMC is not null"); return this; } public Criteria andLbmcEqualTo(String value) { addCriterion("LBMC =", value, "lbmc"); return this; } public Criteria andLbmcNotEqualTo(String value) { addCriterion("LBMC <>", value, "lbmc"); return this; } public Criteria andLbmcGreaterThan(String value) { addCriterion("LBMC >", value, "lbmc"); return this; } public Criteria andLbmcGreaterThanOrEqualTo(String value) { addCriterion("LBMC >=", value, "lbmc"); return this; } public Criteria andLbmcLessThan(String value) { addCriterion("LBMC <", value, "lbmc"); return this; } public Criteria andLbmcLessThanOrEqualTo(String value) { addCriterion("LBMC <=", value, "lbmc"); return this; } public Criteria andLbmcLike(String value) { addCriterion("LBMC like", value, "lbmc"); return this; } public Criteria andLbmcNotLike(String value) { addCriterion("LBMC not like", value, "lbmc"); return this; } public Criteria andLbmcIn(List values) { addCriterion("LBMC in", values, "lbmc"); return this; } public Criteria andLbmcNotIn(List values) { addCriterion("LBMC not in", values, "lbmc"); return this; } public Criteria andLbmcBetween(String value1, String value2) { addCriterion("LBMC between", value1, value2, "lbmc"); return this; } public Criteria andLbmcNotBetween(String value1, String value2) { addCriterion("LBMC not between", value1, value2, "lbmc"); return this; } public Criteria andJcIsNull() { addCriterion("JC is null"); return this; } public Criteria andJcIsNotNull() { addCriterion("JC is not null"); return this; } public Criteria andJcEqualTo(Integer value) { addCriterion("JC =", value, "jc"); return this; } public Criteria andJcNotEqualTo(Integer value) { addCriterion("JC <>", value, "jc"); return this; } public Criteria andJcGreaterThan(Integer value) { addCriterion("JC >", value, "jc"); return this; } public Criteria andJcGreaterThanOrEqualTo(Integer value) { addCriterion("JC >=", value, "jc"); return this; } public Criteria andJcLessThan(Integer value) { addCriterion("JC <", value, "jc"); return this; } public Criteria andJcLessThanOrEqualTo(Integer value) { addCriterion("JC <=", value, "jc"); return this; } public Criteria andJcIn(List values) { addCriterion("JC in", values, "jc"); return this; } public Criteria andJcNotIn(List values) { addCriterion("JC not in", values, "jc"); return this; } public Criteria andJcBetween(Integer value1, Integer value2) { addCriterion("JC between", value1, value2, "jc"); return this; } public Criteria andJcNotBetween(Integer value1, Integer value2) { addCriterion("JC not between", value1, value2, "jc"); return this; } public Criteria andSxhIsNull() { addCriterion("SXH is null"); return this; } public Criteria andSxhIsNotNull() { addCriterion("SXH is not null"); return this; } public Criteria andSxhEqualTo(Integer value) { addCriterion("SXH =", value, "sxh"); return this; } public Criteria andSxhNotEqualTo(Integer value) { addCriterion("SXH <>", value, "sxh"); return this; } public Criteria andSxhGreaterThan(Integer value) { addCriterion("SXH >", value, "sxh"); return this; } public Criteria andSxhGreaterThanOrEqualTo(Integer value) { addCriterion("SXH >=", value, "sxh"); return this; } public Criteria andSxhLessThan(Integer value) { addCriterion("SXH <", value, "sxh"); return this; } public Criteria andSxhLessThanOrEqualTo(Integer value) { addCriterion("SXH <=", value, "sxh"); return this; } public Criteria andSxhIn(List values) { addCriterion("SXH in", values, "sxh"); return this; } public Criteria andSxhNotIn(List values) { addCriterion("SXH not in", values, "sxh"); return this; } public Criteria andSxhBetween(Integer value1, Integer value2) { addCriterion("SXH between", value1, value2, "sxh"); return this; } public Criteria andSxhNotBetween(Integer value1, Integer value2) { addCriterion("SXH not between", value1, value2, "sxh"); return this; } public Criteria andXgrIsNull() { addCriterion("XGR is null"); return this; } public Criteria andXgrIsNotNull() { addCriterion("XGR is not null"); return this; } public Criteria andXgrEqualTo(String value) { addCriterion("XGR =", value, "xgr"); return this; } public Criteria andXgrNotEqualTo(String value) { addCriterion("XGR <>", value, "xgr"); return this; } public Criteria andXgrGreaterThan(String value) { addCriterion("XGR >", value, "xgr"); return this; } public Criteria andXgrGreaterThanOrEqualTo(String value) { addCriterion("XGR >=", value, "xgr"); return this; } public Criteria andXgrLessThan(String value) { addCriterion("XGR <", value, "xgr"); return this; } public Criteria andXgrLessThanOrEqualTo(String value) { addCriterion("XGR <=", value, "xgr"); return this; } public Criteria andXgrLike(String value) { addCriterion("XGR like", value, "xgr"); return this; } public Criteria andXgrNotLike(String value) { addCriterion("XGR not like", value, "xgr"); return this; } public Criteria andXgrIn(List values) { addCriterion("XGR in", values, "xgr"); return this; } public Criteria andXgrNotIn(List values) { addCriterion("XGR not in", values, "xgr"); return this; } public Criteria andXgrBetween(String value1, String value2) { addCriterion("XGR between", value1, value2, "xgr"); return this; } public Criteria andXgrNotBetween(String value1, String value2) { addCriterion("XGR not between", value1, value2, "xgr"); return this; } public Criteria andXgsjIsNull() { addCriterion("XGSJ is null"); return this; } public Criteria andXgsjIsNotNull() { addCriterion("XGSJ is not null"); return this; } public Criteria andXgsjEqualTo(Date value) { addCriterion("XGSJ =", value, "xgsj"); return this; } public Criteria andXgsjNotEqualTo(Date value) { addCriterion("XGSJ <>", value, "xgsj"); return this; } public Criteria andXgsjGreaterThan(Date value) { addCriterion("XGSJ >", value, "xgsj"); return this; } public Criteria andXgsjGreaterThanOrEqualTo(Date value) { addCriterion("XGSJ >=", value, "xgsj"); return this; } public Criteria andXgsjLessThan(Date value) { addCriterion("XGSJ <", value, "xgsj"); return this; } public Criteria andXgsjLessThanOrEqualTo(Date value) { addCriterion("XGSJ <=", value, "xgsj"); return this; } public Criteria andXgsjIn(List values) { addCriterion("XGSJ in", values, "xgsj"); return this; } public Criteria andXgsjNotIn(List values) { addCriterion("XGSJ not in", values, "xgsj"); return this; } public Criteria andXgsjBetween(Date value1, Date value2) { addCriterion("XGSJ between", value1, value2, "xgsj"); return this; } public Criteria andXgsjNotBetween(Date value1, Date value2) { addCriterion("XGSJ not between", value1, value2, "xgsj"); return this; } public Criteria andZfbzIsNull() { addCriterion("ZFBZ is null"); return this; } public Criteria andZfbzIsNotNull() { addCriterion("ZFBZ is not null"); return this; } public Criteria andZfbzEqualTo(Integer value) { addCriterion("ZFBZ =", value, "zfbz"); return this; } public Criteria andZfbzNotEqualTo(Integer value) { addCriterion("ZFBZ <>", value, "zfbz"); return this; } public Criteria andZfbzGreaterThan(Integer value) { addCriterion("ZFBZ >", value, "zfbz"); return this; } public Criteria andZfbzGreaterThanOrEqualTo(Integer value) { addCriterion("ZFBZ >=", value, "zfbz"); return this; } public Criteria andZfbzLessThan(Integer value) { addCriterion("ZFBZ <", value, "zfbz"); return this; } public Criteria andZfbzLessThanOrEqualTo(Integer value) { addCriterion("ZFBZ <=", value, "zfbz"); return this; } public Criteria andZfbzIn(List values) { addCriterion("ZFBZ in", values, "zfbz"); return this; } public Criteria andZfbzNotIn(List values) { addCriterion("ZFBZ not in", values, "zfbz"); return this; } public Criteria andZfbzBetween(Integer value1, Integer value2) { addCriterion("ZFBZ between", value1, value2, "zfbz"); return this; } public Criteria andZfbzNotBetween(Integer value1, Integer value2) { addCriterion("ZFBZ not between", value1, value2, "zfbz"); return this; } } }