package com.huimv.xt.dataobject; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class XtHzzdExample { /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 CST 2014 */ protected String orderByClause; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 CST 2014 */ protected List oredCriteria; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 CST 2014 */ protected int start = -1; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 CST 2014 */ protected int limit = -1; /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 CST 2014 */ public XtHzzdExample() { oredCriteria = new ArrayList(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 CST 2014 */ protected XtHzzdExample(XtHzzdExample 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_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 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_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 CST 2014 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 CST 2014 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 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_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 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_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 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_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 CST 2014 */ public void clear() { oredCriteria.clear(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 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_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 CST 2014 */ public int getStart() { return start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 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_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 CST 2014 */ public int getLimit() { return limit; } /** * This class was generated by Apache iBATIS ibator. * This class corresponds to the database table xt_hzzd * * @ibatorgenerated Wed Jun 04 12:11:08 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 andXhIsNull() { addCriterion("xh is null"); return this; } public Criteria andXhIsNotNull() { addCriterion("xh is not null"); return this; } public Criteria andXhEqualTo(Integer value) { addCriterion("xh =", value, "xh"); return this; } public Criteria andXhNotEqualTo(Integer value) { addCriterion("xh <>", value, "xh"); return this; } public Criteria andXhGreaterThan(Integer value) { addCriterion("xh >", value, "xh"); return this; } public Criteria andXhGreaterThanOrEqualTo(Integer value) { addCriterion("xh >=", value, "xh"); return this; } public Criteria andXhLessThan(Integer value) { addCriterion("xh <", value, "xh"); return this; } public Criteria andXhLessThanOrEqualTo(Integer value) { addCriterion("xh <=", value, "xh"); return this; } public Criteria andXhIn(List values) { addCriterion("xh in", values, "xh"); return this; } public Criteria andXhNotIn(List values) { addCriterion("xh not in", values, "xh"); return this; } public Criteria andXhBetween(Integer value1, Integer value2) { addCriterion("xh between", value1, value2, "xh"); return this; } public Criteria andXhNotBetween(Integer value1, Integer value2) { addCriterion("xh not between", value1, value2, "xh"); return this; } public Criteria andWordIsNull() { addCriterion("word is null"); return this; } public Criteria andWordIsNotNull() { addCriterion("word is not null"); return this; } public Criteria andWordEqualTo(String value) { addCriterion("word =", value, "word"); return this; } public Criteria andWordNotEqualTo(String value) { addCriterion("word <>", value, "word"); return this; } public Criteria andWordGreaterThan(String value) { addCriterion("word >", value, "word"); return this; } public Criteria andWordGreaterThanOrEqualTo(String value) { addCriterion("word >=", value, "word"); return this; } public Criteria andWordLessThan(String value) { addCriterion("word <", value, "word"); return this; } public Criteria andWordLessThanOrEqualTo(String value) { addCriterion("word <=", value, "word"); return this; } public Criteria andWordLike(String value) { addCriterion("word like", value, "word"); return this; } public Criteria andWordNotLike(String value) { addCriterion("word not like", value, "word"); return this; } public Criteria andWordIn(List values) { addCriterion("word in", values, "word"); return this; } public Criteria andWordNotIn(List values) { addCriterion("word not in", values, "word"); return this; } public Criteria andWordBetween(String value1, String value2) { addCriterion("word between", value1, value2, "word"); return this; } public Criteria andWordNotBetween(String value1, String value2) { addCriterion("word not between", value1, value2, "word"); return this; } public Criteria andSrm1IsNull() { addCriterion("srm1 is null"); return this; } public Criteria andSrm1IsNotNull() { addCriterion("srm1 is not null"); return this; } public Criteria andSrm1EqualTo(String value) { addCriterion("srm1 =", value, "srm1"); return this; } public Criteria andSrm1NotEqualTo(String value) { addCriterion("srm1 <>", value, "srm1"); return this; } public Criteria andSrm1GreaterThan(String value) { addCriterion("srm1 >", value, "srm1"); return this; } public Criteria andSrm1GreaterThanOrEqualTo(String value) { addCriterion("srm1 >=", value, "srm1"); return this; } public Criteria andSrm1LessThan(String value) { addCriterion("srm1 <", value, "srm1"); return this; } public Criteria andSrm1LessThanOrEqualTo(String value) { addCriterion("srm1 <=", value, "srm1"); return this; } public Criteria andSrm1Like(String value) { addCriterion("srm1 like", value, "srm1"); return this; } public Criteria andSrm1NotLike(String value) { addCriterion("srm1 not like", value, "srm1"); return this; } public Criteria andSrm1In(List values) { addCriterion("srm1 in", values, "srm1"); return this; } public Criteria andSrm1NotIn(List values) { addCriterion("srm1 not in", values, "srm1"); return this; } public Criteria andSrm1Between(String value1, String value2) { addCriterion("srm1 between", value1, value2, "srm1"); return this; } public Criteria andSrm1NotBetween(String value1, String value2) { addCriterion("srm1 not between", value1, value2, "srm1"); return this; } public Criteria andSrm2IsNull() { addCriterion("srm2 is null"); return this; } public Criteria andSrm2IsNotNull() { addCriterion("srm2 is not null"); return this; } public Criteria andSrm2EqualTo(String value) { addCriterion("srm2 =", value, "srm2"); return this; } public Criteria andSrm2NotEqualTo(String value) { addCriterion("srm2 <>", value, "srm2"); return this; } public Criteria andSrm2GreaterThan(String value) { addCriterion("srm2 >", value, "srm2"); return this; } public Criteria andSrm2GreaterThanOrEqualTo(String value) { addCriterion("srm2 >=", value, "srm2"); return this; } public Criteria andSrm2LessThan(String value) { addCriterion("srm2 <", value, "srm2"); return this; } public Criteria andSrm2LessThanOrEqualTo(String value) { addCriterion("srm2 <=", value, "srm2"); return this; } public Criteria andSrm2Like(String value) { addCriterion("srm2 like", value, "srm2"); return this; } public Criteria andSrm2NotLike(String value) { addCriterion("srm2 not like", value, "srm2"); return this; } public Criteria andSrm2In(List values) { addCriterion("srm2 in", values, "srm2"); return this; } public Criteria andSrm2NotIn(List values) { addCriterion("srm2 not in", values, "srm2"); return this; } public Criteria andSrm2Between(String value1, String value2) { addCriterion("srm2 between", value1, value2, "srm2"); return this; } public Criteria andSrm2NotBetween(String value1, String value2) { addCriterion("srm2 not between", value1, value2, "srm2"); return this; } public Criteria andSrm3IsNull() { addCriterion("srm3 is null"); return this; } public Criteria andSrm3IsNotNull() { addCriterion("srm3 is not null"); return this; } public Criteria andSrm3EqualTo(String value) { addCriterion("srm3 =", value, "srm3"); return this; } public Criteria andSrm3NotEqualTo(String value) { addCriterion("srm3 <>", value, "srm3"); return this; } public Criteria andSrm3GreaterThan(String value) { addCriterion("srm3 >", value, "srm3"); return this; } public Criteria andSrm3GreaterThanOrEqualTo(String value) { addCriterion("srm3 >=", value, "srm3"); return this; } public Criteria andSrm3LessThan(String value) { addCriterion("srm3 <", value, "srm3"); return this; } public Criteria andSrm3LessThanOrEqualTo(String value) { addCriterion("srm3 <=", value, "srm3"); return this; } public Criteria andSrm3Like(String value) { addCriterion("srm3 like", value, "srm3"); return this; } public Criteria andSrm3NotLike(String value) { addCriterion("srm3 not like", value, "srm3"); return this; } public Criteria andSrm3In(List values) { addCriterion("srm3 in", values, "srm3"); return this; } public Criteria andSrm3NotIn(List values) { addCriterion("srm3 not in", values, "srm3"); return this; } public Criteria andSrm3Between(String value1, String value2) { addCriterion("srm3 between", value1, value2, "srm3"); return this; } public Criteria andSrm3NotBetween(String value1, String value2) { addCriterion("srm3 not between", value1, value2, "srm3"); return this; } } }