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 XtGydmExample { /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_gydm * * @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_gydm * * @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_gydm * * @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_gydm * * @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_gydm * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ public XtGydmExample() { oredCriteria = new ArrayList(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_gydm * * @ibatorgenerated Fri May 30 10:23:18 CST 2014 */ protected XtGydmExample(XtGydmExample 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_gydm * * @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_gydm * * @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_gydm * * @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_gydm * * @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_gydm * * @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_gydm * * @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_gydm * * @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_gydm * * @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_gydm * * @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_gydm * * @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_gydm * * @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_gydm * * @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 andDmidIsNull() { addCriterion("DMID is null"); return this; } public Criteria andDmidIsNotNull() { addCriterion("DMID is not null"); return this; } public Criteria andDmidEqualTo(String value) { addCriterion("DMID =", value, "dmid"); return this; } public Criteria andDmidNotEqualTo(String value) { addCriterion("DMID <>", value, "dmid"); return this; } public Criteria andDmidGreaterThan(String value) { addCriterion("DMID >", value, "dmid"); return this; } public Criteria andDmidGreaterThanOrEqualTo(String value) { addCriterion("DMID >=", value, "dmid"); return this; } public Criteria andDmidLessThan(String value) { addCriterion("DMID <", value, "dmid"); return this; } public Criteria andDmidLessThanOrEqualTo(String value) { addCriterion("DMID <=", value, "dmid"); return this; } public Criteria andDmidLike(String value) { addCriterion("DMID like", value, "dmid"); return this; } public Criteria andDmidNotLike(String value) { addCriterion("DMID not like", value, "dmid"); return this; } public Criteria andDmidIn(List values) { addCriterion("DMID in", values, "dmid"); return this; } public Criteria andDmidNotIn(List values) { addCriterion("DMID not in", values, "dmid"); return this; } public Criteria andDmidBetween(String value1, String value2) { addCriterion("DMID between", value1, value2, "dmid"); return this; } public Criteria andDmidNotBetween(String value1, String value2) { addCriterion("DMID not between", value1, value2, "dmid"); return this; } 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 andDmmcIsNull() { addCriterion("DMMC is null"); return this; } public Criteria andDmmcIsNotNull() { addCriterion("DMMC is not null"); return this; } public Criteria andDmmcEqualTo(String value) { addCriterion("DMMC =", value, "dmmc"); return this; } public Criteria andDmmcNotEqualTo(String value) { addCriterion("DMMC <>", value, "dmmc"); return this; } public Criteria andDmmcGreaterThan(String value) { addCriterion("DMMC >", value, "dmmc"); return this; } public Criteria andDmmcGreaterThanOrEqualTo(String value) { addCriterion("DMMC >=", value, "dmmc"); return this; } public Criteria andDmmcLessThan(String value) { addCriterion("DMMC <", value, "dmmc"); return this; } public Criteria andDmmcLessThanOrEqualTo(String value) { addCriterion("DMMC <=", value, "dmmc"); return this; } public Criteria andDmmcLike(String value) { addCriterion("DMMC like", value, "dmmc"); return this; } public Criteria andDmmcNotLike(String value) { addCriterion("DMMC not like", value, "dmmc"); return this; } public Criteria andDmmcIn(List values) { addCriterion("DMMC in", values, "dmmc"); return this; } public Criteria andDmmcNotIn(List values) { addCriterion("DMMC not in", values, "dmmc"); return this; } public Criteria andDmmcBetween(String value1, String value2) { addCriterion("DMMC between", value1, value2, "dmmc"); return this; } public Criteria andDmmcNotBetween(String value1, String value2) { addCriterion("DMMC not between", value1, value2, "dmmc"); 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 andPymIsNull() { addCriterion("PYM is null"); return this; } public Criteria andPymIsNotNull() { addCriterion("PYM is not null"); return this; } public Criteria andPymEqualTo(String value) { addCriterion("PYM =", value, "pym"); return this; } public Criteria andPymNotEqualTo(String value) { addCriterion("PYM <>", value, "pym"); return this; } public Criteria andPymGreaterThan(String value) { addCriterion("PYM >", value, "pym"); return this; } public Criteria andPymGreaterThanOrEqualTo(String value) { addCriterion("PYM >=", value, "pym"); return this; } public Criteria andPymLessThan(String value) { addCriterion("PYM <", value, "pym"); return this; } public Criteria andPymLessThanOrEqualTo(String value) { addCriterion("PYM <=", value, "pym"); return this; } public Criteria andPymLike(String value) { addCriterion("PYM like", value, "pym"); return this; } public Criteria andPymNotLike(String value) { addCriterion("PYM not like", value, "pym"); return this; } public Criteria andPymIn(List values) { addCriterion("PYM in", values, "pym"); return this; } public Criteria andPymNotIn(List values) { addCriterion("PYM not in", values, "pym"); return this; } public Criteria andPymBetween(String value1, String value2) { addCriterion("PYM between", value1, value2, "pym"); return this; } public Criteria andPymNotBetween(String value1, String value2) { addCriterion("PYM not between", value1, value2, "pym"); return this; } public Criteria andWbmIsNull() { addCriterion("WBM is null"); return this; } public Criteria andWbmIsNotNull() { addCriterion("WBM is not null"); return this; } public Criteria andWbmEqualTo(String value) { addCriterion("WBM =", value, "wbm"); return this; } public Criteria andWbmNotEqualTo(String value) { addCriterion("WBM <>", value, "wbm"); return this; } public Criteria andWbmGreaterThan(String value) { addCriterion("WBM >", value, "wbm"); return this; } public Criteria andWbmGreaterThanOrEqualTo(String value) { addCriterion("WBM >=", value, "wbm"); return this; } public Criteria andWbmLessThan(String value) { addCriterion("WBM <", value, "wbm"); return this; } public Criteria andWbmLessThanOrEqualTo(String value) { addCriterion("WBM <=", value, "wbm"); return this; } public Criteria andWbmLike(String value) { addCriterion("WBM like", value, "wbm"); return this; } public Criteria andWbmNotLike(String value) { addCriterion("WBM not like", value, "wbm"); return this; } public Criteria andWbmIn(List values) { addCriterion("WBM in", values, "wbm"); return this; } public Criteria andWbmNotIn(List values) { addCriterion("WBM not in", values, "wbm"); return this; } public Criteria andWbmBetween(String value1, String value2) { addCriterion("WBM between", value1, value2, "wbm"); return this; } public Criteria andWbmNotBetween(String value1, String value2) { addCriterion("WBM not between", value1, value2, "wbm"); 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; } } }