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 XtDgdskzExample { /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ protected String orderByClause; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ protected List oredCriteria; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ protected int start = -1; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ protected int limit = -1; /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ public XtDgdskzExample() { oredCriteria = new ArrayList(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ protected XtDgdskzExample(XtDgdskzExample 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_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ 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_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ 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_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ public void clear() { oredCriteria.clear(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ public void setStart(int start) { this.start=start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ public int getStart() { return start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ public void setLimit(int limit) { this.limit=limit; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ public int getLimit() { return limit; } /** * This class was generated by Apache iBATIS ibator. * This class corresponds to the database table xt_dgdskz * * @ibatorgenerated Tue Apr 21 10:10:19 CST 2020 */ 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 andPznrIsNull() { addCriterion("PZNR is null"); return this; } public Criteria andPznrIsNotNull() { addCriterion("PZNR is not null"); return this; } public Criteria andPznrEqualTo(String value) { addCriterion("PZNR =", value, "pznr"); return this; } public Criteria andPznrNotEqualTo(String value) { addCriterion("PZNR <>", value, "pznr"); return this; } public Criteria andPznrGreaterThan(String value) { addCriterion("PZNR >", value, "pznr"); return this; } public Criteria andPznrGreaterThanOrEqualTo(String value) { addCriterion("PZNR >=", value, "pznr"); return this; } public Criteria andPznrLessThan(String value) { addCriterion("PZNR <", value, "pznr"); return this; } public Criteria andPznrLessThanOrEqualTo(String value) { addCriterion("PZNR <=", value, "pznr"); return this; } public Criteria andPznrLike(String value) { addCriterion("PZNR like", value, "pznr"); return this; } public Criteria andPznrNotLike(String value) { addCriterion("PZNR not like", value, "pznr"); return this; } public Criteria andPznrIn(List values) { addCriterion("PZNR in", values, "pznr"); return this; } public Criteria andPznrNotIn(List values) { addCriterion("PZNR not in", values, "pznr"); return this; } public Criteria andPznrBetween(String value1, String value2) { addCriterion("PZNR between", value1, value2, "pznr"); return this; } public Criteria andPznrNotBetween(String value1, String value2) { addCriterion("PZNR not between", value1, value2, "pznr"); 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 andBzIsNull() { addCriterion("BZ is null"); return this; } public Criteria andBzIsNotNull() { addCriterion("BZ is not null"); return this; } public Criteria andBzEqualTo(String value) { addCriterion("BZ =", value, "bz"); return this; } public Criteria andBzNotEqualTo(String value) { addCriterion("BZ <>", value, "bz"); return this; } public Criteria andBzGreaterThan(String value) { addCriterion("BZ >", value, "bz"); return this; } public Criteria andBzGreaterThanOrEqualTo(String value) { addCriterion("BZ >=", value, "bz"); return this; } public Criteria andBzLessThan(String value) { addCriterion("BZ <", value, "bz"); return this; } public Criteria andBzLessThanOrEqualTo(String value) { addCriterion("BZ <=", value, "bz"); return this; } public Criteria andBzLike(String value) { addCriterion("BZ like", value, "bz"); return this; } public Criteria andBzNotLike(String value) { addCriterion("BZ not like", value, "bz"); return this; } public Criteria andBzIn(List values) { addCriterion("BZ in", values, "bz"); return this; } public Criteria andBzNotIn(List values) { addCriterion("BZ not in", values, "bz"); return this; } public Criteria andBzBetween(String value1, String value2) { addCriterion("BZ between", value1, value2, "bz"); return this; } public Criteria andBzNotBetween(String value1, String value2) { addCriterion("BZ not between", value1, value2, "bz"); return this; } } }