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 XtCsjlpzExample { /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 CST 2017 */ protected String orderByClause; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 CST 2017 */ protected List oredCriteria; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 CST 2017 */ protected int start = -1; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 CST 2017 */ protected int limit = -1; /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 CST 2017 */ public XtCsjlpzExample() { oredCriteria = new ArrayList(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 CST 2017 */ protected XtCsjlpzExample(XtCsjlpzExample 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_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 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_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 CST 2017 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 CST 2017 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 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_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 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_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 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_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 CST 2017 */ public void clear() { oredCriteria.clear(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 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_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 CST 2017 */ public int getStart() { return start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 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_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 CST 2017 */ public int getLimit() { return limit; } /** * This class was generated by Apache iBATIS ibator. * This class corresponds to the database table xt_csjlpz * * @ibatorgenerated Fri Sep 01 13:59:46 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(Integer value) { addCriterion("SL =", value, "sl"); return this; } public Criteria andSlNotEqualTo(Integer value) { addCriterion("SL <>", value, "sl"); return this; } public Criteria andSlGreaterThan(Integer value) { addCriterion("SL >", value, "sl"); return this; } public Criteria andSlGreaterThanOrEqualTo(Integer value) { addCriterion("SL >=", value, "sl"); return this; } public Criteria andSlLessThan(Integer value) { addCriterion("SL <", value, "sl"); return this; } public Criteria andSlLessThanOrEqualTo(Integer value) { addCriterion("SL <=", 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(Integer value1, Integer value2) { addCriterion("SL between", value1, value2, "sl"); return this; } public Criteria andSlNotBetween(Integer value1, Integer value2) { addCriterion("SL not between", value1, value2, "sl"); return this; } public Criteria andPzIsNull() { addCriterion("PZ is null"); return this; } public Criteria andPzIsNotNull() { addCriterion("PZ is not null"); return this; } public Criteria andPzEqualTo(String value) { addCriterion("PZ =", value, "pz"); return this; } public Criteria andPzNotEqualTo(String value) { addCriterion("PZ <>", value, "pz"); return this; } public Criteria andPzGreaterThan(String value) { addCriterion("PZ >", value, "pz"); return this; } public Criteria andPzGreaterThanOrEqualTo(String value) { addCriterion("PZ >=", value, "pz"); return this; } public Criteria andPzLessThan(String value) { addCriterion("PZ <", value, "pz"); return this; } public Criteria andPzLessThanOrEqualTo(String value) { addCriterion("PZ <=", value, "pz"); return this; } public Criteria andPzLike(String value) { addCriterion("PZ like", value, "pz"); return this; } public Criteria andPzNotLike(String value) { addCriterion("PZ not like", value, "pz"); return this; } public Criteria andPzIn(List values) { addCriterion("PZ in", values, "pz"); return this; } public Criteria andPzNotIn(List values) { addCriterion("PZ not in", values, "pz"); return this; } public Criteria andPzBetween(String value1, String value2) { addCriterion("PZ between", value1, value2, "pz"); return this; } public Criteria andPzNotBetween(String value1, String value2) { addCriterion("PZ not between", value1, value2, "pz"); 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; } } }