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 XtCsjlgzjcExample { /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ protected String orderByClause; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ protected List oredCriteria; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ protected int start = -1; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ protected int limit = -1; /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ public XtCsjlgzjcExample() { oredCriteria = new ArrayList(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ protected XtCsjlgzjcExample(XtCsjlgzjcExample 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_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ 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_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ 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_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ public void clear() { oredCriteria.clear(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ public void setStart(int start) { this.start=start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ public int getStart() { return start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ public void setLimit(int limit) { this.limit=limit; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ public int getLimit() { return limit; } /** * This class was generated by Apache iBATIS ibator. * This class corresponds to the database table xt_csjlgzjc * * @ibatorgenerated Tue Oct 20 09:55:05 CST 2015 */ 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 andJqidIsNull() { addCriterion("jqid is null"); return this; } public Criteria andJqidIsNotNull() { addCriterion("jqid is not null"); return this; } public Criteria andJqidEqualTo(String value) { addCriterion("jqid =", value, "jqid"); return this; } public Criteria andJqidNotEqualTo(String value) { addCriterion("jqid <>", value, "jqid"); return this; } public Criteria andJqidGreaterThan(String value) { addCriterion("jqid >", value, "jqid"); return this; } public Criteria andJqidGreaterThanOrEqualTo(String value) { addCriterion("jqid >=", value, "jqid"); return this; } public Criteria andJqidLessThan(String value) { addCriterion("jqid <", value, "jqid"); return this; } public Criteria andJqidLessThanOrEqualTo(String value) { addCriterion("jqid <=", value, "jqid"); return this; } public Criteria andJqidLike(String value) { addCriterion("jqid like", value, "jqid"); return this; } public Criteria andJqidNotLike(String value) { addCriterion("jqid not like", value, "jqid"); return this; } public Criteria andJqidIn(List values) { addCriterion("jqid in", values, "jqid"); return this; } public Criteria andJqidNotIn(List values) { addCriterion("jqid not in", values, "jqid"); return this; } public Criteria andJqidBetween(String value1, String value2) { addCriterion("jqid between", value1, value2, "jqid"); return this; } public Criteria andJqidNotBetween(String value1, String value2) { addCriterion("jqid not between", value1, value2, "jqid"); return this; } public Criteria andCsjlycjc1IsNull() { addCriterion("csjlycjc1 is null"); return this; } public Criteria andCsjlycjc1IsNotNull() { addCriterion("csjlycjc1 is not null"); return this; } public Criteria andCsjlycjc1EqualTo(String value) { addCriterion("csjlycjc1 =", value, "csjlycjc1"); return this; } public Criteria andCsjlycjc1NotEqualTo(String value) { addCriterion("csjlycjc1 <>", value, "csjlycjc1"); return this; } public Criteria andCsjlycjc1GreaterThan(String value) { addCriterion("csjlycjc1 >", value, "csjlycjc1"); return this; } public Criteria andCsjlycjc1GreaterThanOrEqualTo(String value) { addCriterion("csjlycjc1 >=", value, "csjlycjc1"); return this; } public Criteria andCsjlycjc1LessThan(String value) { addCriterion("csjlycjc1 <", value, "csjlycjc1"); return this; } public Criteria andCsjlycjc1LessThanOrEqualTo(String value) { addCriterion("csjlycjc1 <=", value, "csjlycjc1"); return this; } public Criteria andCsjlycjc1Like(String value) { addCriterion("csjlycjc1 like", value, "csjlycjc1"); return this; } public Criteria andCsjlycjc1NotLike(String value) { addCriterion("csjlycjc1 not like", value, "csjlycjc1"); return this; } public Criteria andCsjlycjc1In(List values) { addCriterion("csjlycjc1 in", values, "csjlycjc1"); return this; } public Criteria andCsjlycjc1NotIn(List values) { addCriterion("csjlycjc1 not in", values, "csjlycjc1"); return this; } public Criteria andCsjlycjc1Between(String value1, String value2) { addCriterion("csjlycjc1 between", value1, value2, "csjlycjc1"); return this; } public Criteria andCsjlycjc1NotBetween(String value1, String value2) { addCriterion("csjlycjc1 not between", value1, value2, "csjlycjc1"); return this; } public Criteria andCsjlycjc2IsNull() { addCriterion("csjlycjc2 is null"); return this; } public Criteria andCsjlycjc2IsNotNull() { addCriterion("csjlycjc2 is not null"); return this; } public Criteria andCsjlycjc2EqualTo(String value) { addCriterion("csjlycjc2 =", value, "csjlycjc2"); return this; } public Criteria andCsjlycjc2NotEqualTo(String value) { addCriterion("csjlycjc2 <>", value, "csjlycjc2"); return this; } public Criteria andCsjlycjc2GreaterThan(String value) { addCriterion("csjlycjc2 >", value, "csjlycjc2"); return this; } public Criteria andCsjlycjc2GreaterThanOrEqualTo(String value) { addCriterion("csjlycjc2 >=", value, "csjlycjc2"); return this; } public Criteria andCsjlycjc2LessThan(String value) { addCriterion("csjlycjc2 <", value, "csjlycjc2"); return this; } public Criteria andCsjlycjc2LessThanOrEqualTo(String value) { addCriterion("csjlycjc2 <=", value, "csjlycjc2"); return this; } public Criteria andCsjlycjc2Like(String value) { addCriterion("csjlycjc2 like", value, "csjlycjc2"); return this; } public Criteria andCsjlycjc2NotLike(String value) { addCriterion("csjlycjc2 not like", value, "csjlycjc2"); return this; } public Criteria andCsjlycjc2In(List values) { addCriterion("csjlycjc2 in", values, "csjlycjc2"); return this; } public Criteria andCsjlycjc2NotIn(List values) { addCriterion("csjlycjc2 not in", values, "csjlycjc2"); return this; } public Criteria andCsjlycjc2Between(String value1, String value2) { addCriterion("csjlycjc2 between", value1, value2, "csjlycjc2"); return this; } public Criteria andCsjlycjc2NotBetween(String value1, String value2) { addCriterion("csjlycjc2 not between", value1, value2, "csjlycjc2"); 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 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; } } }