package com.huimv.xx.dataobject; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; public class XxXtggExample { /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 CST 2014 */ protected String orderByClause; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 CST 2014 */ protected List oredCriteria; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 CST 2014 */ protected int start = -1; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 CST 2014 */ protected int limit = -1; /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 CST 2014 */ public XxXtggExample() { oredCriteria = new ArrayList(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 CST 2014 */ protected XxXtggExample(XxXtggExample example) { this.orderByClause = example.orderByClause; this.oredCriteria = example.oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 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 xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 CST 2014 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 CST 2014 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 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 xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 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 xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 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 xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 CST 2014 */ public void clear() { oredCriteria.clear(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 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 xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 CST 2014 */ public int getStart() { return start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 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 xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 CST 2014 */ public int getLimit() { return limit; } /** * This class was generated by Apache iBATIS ibator. * This class corresponds to the database table xx_xtgg * * @ibatorgenerated Tue Jul 15 10:47:50 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 andIdIsNull() { addCriterion("ID is null"); return this; } public Criteria andIdIsNotNull() { addCriterion("ID is not null"); return this; } public Criteria andIdEqualTo(Integer value) { addCriterion("ID =", value, "id"); return this; } public Criteria andIdNotEqualTo(Integer value) { addCriterion("ID <>", value, "id"); return this; } public Criteria andIdGreaterThan(Integer value) { addCriterion("ID >", value, "id"); return this; } public Criteria andIdGreaterThanOrEqualTo(Integer value) { addCriterion("ID >=", value, "id"); return this; } public Criteria andIdLessThan(Integer value) { addCriterion("ID <", value, "id"); return this; } public Criteria andIdLessThanOrEqualTo(Integer value) { addCriterion("ID <=", value, "id"); return this; } public Criteria andIdIn(List values) { addCriterion("ID in", values, "id"); return this; } public Criteria andIdNotIn(List values) { addCriterion("ID not in", values, "id"); return this; } public Criteria andIdBetween(Integer value1, Integer value2) { addCriterion("ID between", value1, value2, "id"); return this; } public Criteria andIdNotBetween(Integer value1, Integer value2) { addCriterion("ID not between", value1, value2, "id"); return this; } public Criteria andBtIsNull() { addCriterion("BT is null"); return this; } public Criteria andBtIsNotNull() { addCriterion("BT is not null"); return this; } public Criteria andBtEqualTo(String value) { addCriterion("BT =", value, "bt"); return this; } public Criteria andBtNotEqualTo(String value) { addCriterion("BT <>", value, "bt"); return this; } public Criteria andBtGreaterThan(String value) { addCriterion("BT >", value, "bt"); return this; } public Criteria andBtGreaterThanOrEqualTo(String value) { addCriterion("BT >=", value, "bt"); return this; } public Criteria andBtLessThan(String value) { addCriterion("BT <", value, "bt"); return this; } public Criteria andBtLessThanOrEqualTo(String value) { addCriterion("BT <=", value, "bt"); return this; } public Criteria andBtLike(String value) { addCriterion("BT like", value, "bt"); return this; } public Criteria andBtNotLike(String value) { addCriterion("BT not like", value, "bt"); return this; } public Criteria andBtIn(List values) { addCriterion("BT in", values, "bt"); return this; } public Criteria andBtNotIn(List values) { addCriterion("BT not in", values, "bt"); return this; } public Criteria andBtBetween(String value1, String value2) { addCriterion("BT between", value1, value2, "bt"); return this; } public Criteria andBtNotBetween(String value1, String value2) { addCriterion("BT not between", value1, value2, "bt"); return this; } public Criteria andMsIsNull() { addCriterion("MS is null"); return this; } public Criteria andMsIsNotNull() { addCriterion("MS is not null"); return this; } public Criteria andMsEqualTo(String value) { addCriterion("MS =", value, "ms"); return this; } public Criteria andMsNotEqualTo(String value) { addCriterion("MS <>", value, "ms"); return this; } public Criteria andMsGreaterThan(String value) { addCriterion("MS >", value, "ms"); return this; } public Criteria andMsGreaterThanOrEqualTo(String value) { addCriterion("MS >=", value, "ms"); return this; } public Criteria andMsLessThan(String value) { addCriterion("MS <", value, "ms"); return this; } public Criteria andMsLessThanOrEqualTo(String value) { addCriterion("MS <=", value, "ms"); return this; } public Criteria andMsLike(String value) { addCriterion("MS like", value, "ms"); return this; } public Criteria andMsNotLike(String value) { addCriterion("MS not like", value, "ms"); return this; } public Criteria andMsIn(List values) { addCriterion("MS in", values, "ms"); return this; } public Criteria andMsNotIn(List values) { addCriterion("MS not in", values, "ms"); return this; } public Criteria andMsBetween(String value1, String value2) { addCriterion("MS between", value1, value2, "ms"); return this; } public Criteria andMsNotBetween(String value1, String value2) { addCriterion("MS not between", value1, value2, "ms"); return this; } public Criteria andNrIsNull() { addCriterion("NR is null"); return this; } public Criteria andNrIsNotNull() { addCriterion("NR is not null"); return this; } public Criteria andNrEqualTo(String value) { addCriterion("NR =", value, "nr"); return this; } public Criteria andNrNotEqualTo(String value) { addCriterion("NR <>", value, "nr"); return this; } public Criteria andNrGreaterThan(String value) { addCriterion("NR >", value, "nr"); return this; } public Criteria andNrGreaterThanOrEqualTo(String value) { addCriterion("NR >=", value, "nr"); return this; } public Criteria andNrLessThan(String value) { addCriterion("NR <", value, "nr"); return this; } public Criteria andNrLessThanOrEqualTo(String value) { addCriterion("NR <=", value, "nr"); return this; } public Criteria andNrLike(String value) { addCriterion("NR like", value, "nr"); return this; } public Criteria andNrNotLike(String value) { addCriterion("NR not like", value, "nr"); return this; } public Criteria andNrIn(List values) { addCriterion("NR in", values, "nr"); return this; } public Criteria andNrNotIn(List values) { addCriterion("NR not in", values, "nr"); return this; } public Criteria andNrBetween(String value1, String value2) { addCriterion("NR between", value1, value2, "nr"); return this; } public Criteria andNrNotBetween(String value1, String value2) { addCriterion("NR not between", value1, value2, "nr"); return this; } public Criteria andFbsjIsNull() { addCriterion("FBSJ is null"); return this; } public Criteria andFbsjIsNotNull() { addCriterion("FBSJ is not null"); return this; } public Criteria andFbsjEqualTo(Date value) { addCriterion("FBSJ =", value, "fbsj"); return this; } public Criteria andFbsjNotEqualTo(Date value) { addCriterion("FBSJ <>", value, "fbsj"); return this; } public Criteria andFbsjGreaterThan(Date value) { addCriterion("FBSJ >", value, "fbsj"); return this; } public Criteria andFbsjGreaterThanOrEqualTo(Date value) { addCriterion("FBSJ >=", value, "fbsj"); return this; } public Criteria andFbsjLessThan(Date value) { addCriterion("FBSJ <", value, "fbsj"); return this; } public Criteria andFbsjLessThanOrEqualTo(Date value) { addCriterion("FBSJ <=", value, "fbsj"); return this; } public Criteria andFbsjIn(List values) { addCriterion("FBSJ in", values, "fbsj"); return this; } public Criteria andFbsjNotIn(List values) { addCriterion("FBSJ not in", values, "fbsj"); return this; } public Criteria andFbsjBetween(Date value1, Date value2) { addCriterion("FBSJ between", value1, value2, "fbsj"); return this; } public Criteria andFbsjNotBetween(Date value1, Date value2) { addCriterion("FBSJ not between", value1, value2, "fbsj"); return this; } public Criteria andJzsjIsNull() { addCriterion("JZSJ is null"); return this; } public Criteria andJzsjIsNotNull() { addCriterion("JZSJ is not null"); return this; } public Criteria andJzsjEqualTo(Date value) { addCriterion("JZSJ =", value, "jzsj"); return this; } public Criteria andJzsjNotEqualTo(Date value) { addCriterion("JZSJ <>", value, "jzsj"); return this; } public Criteria andJzsjGreaterThan(Date value) { addCriterion("JZSJ >", value, "jzsj"); return this; } public Criteria andJzsjGreaterThanOrEqualTo(Date value) { addCriterion("JZSJ >=", value, "jzsj"); return this; } public Criteria andJzsjLessThan(Date value) { addCriterion("JZSJ <", value, "jzsj"); return this; } public Criteria andJzsjLessThanOrEqualTo(Date value) { addCriterion("JZSJ <=", value, "jzsj"); return this; } public Criteria andJzsjIn(List values) { addCriterion("JZSJ in", values, "jzsj"); return this; } public Criteria andJzsjNotIn(List values) { addCriterion("JZSJ not in", values, "jzsj"); return this; } public Criteria andJzsjBetween(Date value1, Date value2) { addCriterion("JZSJ between", value1, value2, "jzsj"); return this; } public Criteria andJzsjNotBetween(Date value1, Date value2) { addCriterion("JZSJ not between", value1, value2, "jzsj"); return this; } public Criteria andFbrIsNull() { addCriterion("FBR is null"); return this; } public Criteria andFbrIsNotNull() { addCriterion("FBR is not null"); return this; } public Criteria andFbrEqualTo(Integer value) { addCriterion("FBR =", value, "fbr"); return this; } public Criteria andFbrNotEqualTo(Integer value) { addCriterion("FBR <>", value, "fbr"); return this; } public Criteria andFbrGreaterThan(Integer value) { addCriterion("FBR >", value, "fbr"); return this; } public Criteria andFbrGreaterThanOrEqualTo(Integer value) { addCriterion("FBR >=", value, "fbr"); return this; } public Criteria andFbrLessThan(Integer value) { addCriterion("FBR <", value, "fbr"); return this; } public Criteria andFbrLessThanOrEqualTo(Integer value) { addCriterion("FBR <=", value, "fbr"); return this; } public Criteria andFbrIn(List values) { addCriterion("FBR in", values, "fbr"); return this; } public Criteria andFbrNotIn(List values) { addCriterion("FBR not in", values, "fbr"); return this; } public Criteria andFbrBetween(Integer value1, Integer value2) { addCriterion("FBR between", value1, value2, "fbr"); return this; } public Criteria andFbrNotBetween(Integer value1, Integer value2) { addCriterion("FBR not between", value1, value2, "fbr"); 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; } public Criteria andFbztIsNull() { addCriterion("FBZT is null"); return this; } public Criteria andFbztIsNotNull() { addCriterion("FBZT is not null"); return this; } public Criteria andFbztEqualTo(Integer value) { addCriterion("FBZT =", value, "fbzt"); return this; } public Criteria andFbztNotEqualTo(Integer value) { addCriterion("FBZT <>", value, "fbzt"); return this; } public Criteria andFbztGreaterThan(Integer value) { addCriterion("FBZT >", value, "fbzt"); return this; } public Criteria andFbztGreaterThanOrEqualTo(Integer value) { addCriterion("FBZT >=", value, "fbzt"); return this; } public Criteria andFbztLessThan(Integer value) { addCriterion("FBZT <", value, "fbzt"); return this; } public Criteria andFbztLessThanOrEqualTo(Integer value) { addCriterion("FBZT <=", value, "fbzt"); return this; } public Criteria andFbztIn(List values) { addCriterion("FBZT in", values, "fbzt"); return this; } public Criteria andFbztNotIn(List values) { addCriterion("FBZT not in", values, "fbzt"); return this; } public Criteria andFbztBetween(Integer value1, Integer value2) { addCriterion("FBZT between", value1, value2, "fbzt"); return this; } public Criteria andFbztNotBetween(Integer value1, Integer value2) { addCriterion("FBZT not between", value1, value2, "fbzt"); return this; } } }