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 XtHkqtsbExample { /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ protected String orderByClause; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ protected List oredCriteria; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ protected int start = -1; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ protected int limit = -1; /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ public XtHkqtsbExample() { oredCriteria = new ArrayList(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ protected XtHkqtsbExample(XtHkqtsbExample 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_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ 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_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ 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_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ public void clear() { oredCriteria.clear(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ public void setStart(int start) { this.start=start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ public int getStart() { return start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ public void setLimit(int limit) { this.limit=limit; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ public int getLimit() { return limit; } /** * This class was generated by Apache iBATIS ibator. * This class corresponds to the database table xt_hk_qtsb * * @ibatorgenerated Fri Sep 22 10:48:32 CST 2017 */ 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 andSlIsNull() { addCriterion("SL is null"); return this; } public Criteria andSlIsNotNull() { addCriterion("SL is not null"); return this; } public Criteria andSlEqualTo(String value) { addCriterion("SL =", value, "sl"); return this; } public Criteria andSlNotEqualTo(String value) { addCriterion("SL <>", value, "sl"); return this; } public Criteria andSlGreaterThan(String value) { addCriterion("SL >", value, "sl"); return this; } public Criteria andSlGreaterThanOrEqualTo(String value) { addCriterion("SL >=", value, "sl"); return this; } public Criteria andSlLessThan(String value) { addCriterion("SL <", value, "sl"); return this; } public Criteria andSlLessThanOrEqualTo(String value) { addCriterion("SL <=", value, "sl"); return this; } public Criteria andSlLike(String value) { addCriterion("SL like", value, "sl"); return this; } public Criteria andSlNotLike(String value) { addCriterion("SL not like", value, "sl"); return this; } public Criteria andSlIn(List values) { addCriterion("SL in", values, "sl"); return this; } public Criteria andSlNotIn(List values) { addCriterion("SL not in", values, "sl"); return this; } public Criteria andSlBetween(String value1, String value2) { addCriterion("SL between", value1, value2, "sl"); return this; } public Criteria andSlNotBetween(String value1, String value2) { addCriterion("SL not between", value1, value2, "sl"); return this; } public Criteria andSlxgsjIsNull() { addCriterion("SLXGSJ is null"); return this; } public Criteria andSlxgsjIsNotNull() { addCriterion("SLXGSJ is not null"); return this; } public Criteria andSlxgsjEqualTo(Date value) { addCriterion("SLXGSJ =", value, "slxgsj"); return this; } public Criteria andSlxgsjNotEqualTo(Date value) { addCriterion("SLXGSJ <>", value, "slxgsj"); return this; } public Criteria andSlxgsjGreaterThan(Date value) { addCriterion("SLXGSJ >", value, "slxgsj"); return this; } public Criteria andSlxgsjGreaterThanOrEqualTo(Date value) { addCriterion("SLXGSJ >=", value, "slxgsj"); return this; } public Criteria andSlxgsjLessThan(Date value) { addCriterion("SLXGSJ <", value, "slxgsj"); return this; } public Criteria andSlxgsjLessThanOrEqualTo(Date value) { addCriterion("SLXGSJ <=", value, "slxgsj"); return this; } public Criteria andSlxgsjIn(List values) { addCriterion("SLXGSJ in", values, "slxgsj"); return this; } public Criteria andSlxgsjNotIn(List values) { addCriterion("SLXGSJ not in", values, "slxgsj"); return this; } public Criteria andSlxgsjBetween(Date value1, Date value2) { addCriterion("SLXGSJ between", value1, value2, "slxgsj"); return this; } public Criteria andSlxgsjNotBetween(Date value1, Date value2) { addCriterion("SLXGSJ not between", value1, value2, "slxgsj"); return this; } public Criteria andNdIsNull() { addCriterion("ND is null"); return this; } public Criteria andNdIsNotNull() { addCriterion("ND is not null"); return this; } public Criteria andNdEqualTo(String value) { addCriterion("ND =", value, "nd"); return this; } public Criteria andNdNotEqualTo(String value) { addCriterion("ND <>", value, "nd"); return this; } public Criteria andNdGreaterThan(String value) { addCriterion("ND >", value, "nd"); return this; } public Criteria andNdGreaterThanOrEqualTo(String value) { addCriterion("ND >=", value, "nd"); return this; } public Criteria andNdLessThan(String value) { addCriterion("ND <", value, "nd"); return this; } public Criteria andNdLessThanOrEqualTo(String value) { addCriterion("ND <=", value, "nd"); return this; } public Criteria andNdLike(String value) { addCriterion("ND like", value, "nd"); return this; } public Criteria andNdNotLike(String value) { addCriterion("ND not like", value, "nd"); return this; } public Criteria andNdIn(List values) { addCriterion("ND in", values, "nd"); return this; } public Criteria andNdNotIn(List values) { addCriterion("ND not in", values, "nd"); return this; } public Criteria andNdBetween(String value1, String value2) { addCriterion("ND between", value1, value2, "nd"); return this; } public Criteria andNdNotBetween(String value1, String value2) { addCriterion("ND not between", value1, value2, "nd"); return this; } public Criteria andNdxgsjIsNull() { addCriterion("NDXGSJ is null"); return this; } public Criteria andNdxgsjIsNotNull() { addCriterion("NDXGSJ is not null"); return this; } public Criteria andNdxgsjEqualTo(Date value) { addCriterion("NDXGSJ =", value, "ndxgsj"); return this; } public Criteria andNdxgsjNotEqualTo(Date value) { addCriterion("NDXGSJ <>", value, "ndxgsj"); return this; } public Criteria andNdxgsjGreaterThan(Date value) { addCriterion("NDXGSJ >", value, "ndxgsj"); return this; } public Criteria andNdxgsjGreaterThanOrEqualTo(Date value) { addCriterion("NDXGSJ >=", value, "ndxgsj"); return this; } public Criteria andNdxgsjLessThan(Date value) { addCriterion("NDXGSJ <", value, "ndxgsj"); return this; } public Criteria andNdxgsjLessThanOrEqualTo(Date value) { addCriterion("NDXGSJ <=", value, "ndxgsj"); return this; } public Criteria andNdxgsjIn(List values) { addCriterion("NDXGSJ in", values, "ndxgsj"); return this; } public Criteria andNdxgsjNotIn(List values) { addCriterion("NDXGSJ not in", values, "ndxgsj"); return this; } public Criteria andNdxgsjBetween(Date value1, Date value2) { addCriterion("NDXGSJ between", value1, value2, "ndxgsj"); return this; } public Criteria andNdxgsjNotBetween(Date value1, Date value2) { addCriterion("NDXGSJ not between", value1, value2, "ndxgsj"); return this; } public Criteria andPlIsNull() { addCriterion("PL is null"); return this; } public Criteria andPlIsNotNull() { addCriterion("PL is not null"); return this; } public Criteria andPlEqualTo(String value) { addCriterion("PL =", value, "pl"); return this; } public Criteria andPlNotEqualTo(String value) { addCriterion("PL <>", value, "pl"); return this; } public Criteria andPlGreaterThan(String value) { addCriterion("PL >", value, "pl"); return this; } public Criteria andPlGreaterThanOrEqualTo(String value) { addCriterion("PL >=", value, "pl"); return this; } public Criteria andPlLessThan(String value) { addCriterion("PL <", value, "pl"); return this; } public Criteria andPlLessThanOrEqualTo(String value) { addCriterion("PL <=", value, "pl"); return this; } public Criteria andPlLike(String value) { addCriterion("PL like", value, "pl"); return this; } public Criteria andPlNotLike(String value) { addCriterion("PL not like", value, "pl"); return this; } public Criteria andPlIn(List values) { addCriterion("PL in", values, "pl"); return this; } public Criteria andPlNotIn(List values) { addCriterion("PL not in", values, "pl"); return this; } public Criteria andPlBetween(String value1, String value2) { addCriterion("PL between", value1, value2, "pl"); return this; } public Criteria andPlNotBetween(String value1, String value2) { addCriterion("PL not between", value1, value2, "pl"); return this; } public Criteria andPlxgsjIsNull() { addCriterion("PLXGSJ is null"); return this; } public Criteria andPlxgsjIsNotNull() { addCriterion("PLXGSJ is not null"); return this; } public Criteria andPlxgsjEqualTo(Date value) { addCriterion("PLXGSJ =", value, "plxgsj"); return this; } public Criteria andPlxgsjNotEqualTo(Date value) { addCriterion("PLXGSJ <>", value, "plxgsj"); return this; } public Criteria andPlxgsjGreaterThan(Date value) { addCriterion("PLXGSJ >", value, "plxgsj"); return this; } public Criteria andPlxgsjGreaterThanOrEqualTo(Date value) { addCriterion("PLXGSJ >=", value, "plxgsj"); return this; } public Criteria andPlxgsjLessThan(Date value) { addCriterion("PLXGSJ <", value, "plxgsj"); return this; } public Criteria andPlxgsjLessThanOrEqualTo(Date value) { addCriterion("PLXGSJ <=", value, "plxgsj"); return this; } public Criteria andPlxgsjIn(List values) { addCriterion("PLXGSJ in", values, "plxgsj"); return this; } public Criteria andPlxgsjNotIn(List values) { addCriterion("PLXGSJ not in", values, "plxgsj"); return this; } public Criteria andPlxgsjBetween(Date value1, Date value2) { addCriterion("PLXGSJ between", value1, value2, "plxgsj"); return this; } public Criteria andPlxgsjNotBetween(Date value1, Date value2) { addCriterion("PLXGSJ not between", value1, value2, "plxgsj"); return this; } public Criteria andZmIsNull() { addCriterion("ZM is null"); return this; } public Criteria andZmIsNotNull() { addCriterion("ZM is not null"); return this; } public Criteria andZmEqualTo(String value) { addCriterion("ZM =", value, "zm"); return this; } public Criteria andZmNotEqualTo(String value) { addCriterion("ZM <>", value, "zm"); return this; } public Criteria andZmGreaterThan(String value) { addCriterion("ZM >", value, "zm"); return this; } public Criteria andZmGreaterThanOrEqualTo(String value) { addCriterion("ZM >=", value, "zm"); return this; } public Criteria andZmLessThan(String value) { addCriterion("ZM <", value, "zm"); return this; } public Criteria andZmLessThanOrEqualTo(String value) { addCriterion("ZM <=", value, "zm"); return this; } public Criteria andZmLike(String value) { addCriterion("ZM like", value, "zm"); return this; } public Criteria andZmNotLike(String value) { addCriterion("ZM not like", value, "zm"); return this; } public Criteria andZmIn(List values) { addCriterion("ZM in", values, "zm"); return this; } public Criteria andZmNotIn(List values) { addCriterion("ZM not in", values, "zm"); return this; } public Criteria andZmBetween(String value1, String value2) { addCriterion("ZM between", value1, value2, "zm"); return this; } public Criteria andZmNotBetween(String value1, String value2) { addCriterion("ZM not between", value1, value2, "zm"); return this; } public Criteria andZmxgsjIsNull() { addCriterion("ZMXGSJ is null"); return this; } public Criteria andZmxgsjIsNotNull() { addCriterion("ZMXGSJ is not null"); return this; } public Criteria andZmxgsjEqualTo(Date value) { addCriterion("ZMXGSJ =", value, "zmxgsj"); return this; } public Criteria andZmxgsjNotEqualTo(Date value) { addCriterion("ZMXGSJ <>", value, "zmxgsj"); return this; } public Criteria andZmxgsjGreaterThan(Date value) { addCriterion("ZMXGSJ >", value, "zmxgsj"); return this; } public Criteria andZmxgsjGreaterThanOrEqualTo(Date value) { addCriterion("ZMXGSJ >=", value, "zmxgsj"); return this; } public Criteria andZmxgsjLessThan(Date value) { addCriterion("ZMXGSJ <", value, "zmxgsj"); return this; } public Criteria andZmxgsjLessThanOrEqualTo(Date value) { addCriterion("ZMXGSJ <=", value, "zmxgsj"); return this; } public Criteria andZmxgsjIn(List values) { addCriterion("ZMXGSJ in", values, "zmxgsj"); return this; } public Criteria andZmxgsjNotIn(List values) { addCriterion("ZMXGSJ not in", values, "zmxgsj"); return this; } public Criteria andZmxgsjBetween(Date value1, Date value2) { addCriterion("ZMXGSJ between", value1, value2, "zmxgsj"); return this; } public Criteria andZmxgsjNotBetween(Date value1, Date value2) { addCriterion("ZMXGSJ not between", value1, value2, "zmxgsj"); return this; } } }