package com.huimv.xt.dataobject; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class XtLypzExample { /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ protected String orderByClause; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ protected List oredCriteria; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ protected int start = -1; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ protected int limit = -1; /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ public XtLypzExample() { oredCriteria = new ArrayList(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ protected XtLypzExample(XtLypzExample 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_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ 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_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ 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_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ public void clear() { oredCriteria.clear(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ public void setStart(int start) { this.start=start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ public int getStart() { return start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ public void setLimit(int limit) { this.limit=limit; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ public int getLimit() { return limit; } /** * This class was generated by Apache iBATIS ibator. * This class corresponds to the database table xt_lypz * * @ibatorgenerated Tue May 31 15:16:47 CST 2016 */ 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 andSblxIsNull() { addCriterion("SBLX is null"); return this; } public Criteria andSblxIsNotNull() { addCriterion("SBLX is not null"); return this; } public Criteria andSblxEqualTo(String value) { addCriterion("SBLX =", value, "sblx"); return this; } public Criteria andSblxNotEqualTo(String value) { addCriterion("SBLX <>", value, "sblx"); return this; } public Criteria andSblxGreaterThan(String value) { addCriterion("SBLX >", value, "sblx"); return this; } public Criteria andSblxGreaterThanOrEqualTo(String value) { addCriterion("SBLX >=", value, "sblx"); return this; } public Criteria andSblxLessThan(String value) { addCriterion("SBLX <", value, "sblx"); return this; } public Criteria andSblxLessThanOrEqualTo(String value) { addCriterion("SBLX <=", value, "sblx"); return this; } public Criteria andSblxLike(String value) { addCriterion("SBLX like", value, "sblx"); return this; } public Criteria andSblxNotLike(String value) { addCriterion("SBLX not like", value, "sblx"); return this; } public Criteria andSblxIn(List values) { addCriterion("SBLX in", values, "sblx"); return this; } public Criteria andSblxNotIn(List values) { addCriterion("SBLX not in", values, "sblx"); return this; } public Criteria andSblxBetween(String value1, String value2) { addCriterion("SBLX between", value1, value2, "sblx"); return this; } public Criteria andSblxNotBetween(String value1, String value2) { addCriterion("SBLX not between", value1, value2, "sblx"); return this; } public Criteria andLydzIsNull() { addCriterion("LYDZ is null"); return this; } public Criteria andLydzIsNotNull() { addCriterion("LYDZ is not null"); return this; } public Criteria andLydzEqualTo(String value) { addCriterion("LYDZ =", value, "lydz"); return this; } public Criteria andLydzNotEqualTo(String value) { addCriterion("LYDZ <>", value, "lydz"); return this; } public Criteria andLydzGreaterThan(String value) { addCriterion("LYDZ >", value, "lydz"); return this; } public Criteria andLydzGreaterThanOrEqualTo(String value) { addCriterion("LYDZ >=", value, "lydz"); return this; } public Criteria andLydzLessThan(String value) { addCriterion("LYDZ <", value, "lydz"); return this; } public Criteria andLydzLessThanOrEqualTo(String value) { addCriterion("LYDZ <=", value, "lydz"); return this; } public Criteria andLydzLike(String value) { addCriterion("LYDZ like", value, "lydz"); return this; } public Criteria andLydzNotLike(String value) { addCriterion("LYDZ not like", value, "lydz"); return this; } public Criteria andLydzIn(List values) { addCriterion("LYDZ in", values, "lydz"); return this; } public Criteria andLydzNotIn(List values) { addCriterion("LYDZ not in", values, "lydz"); return this; } public Criteria andLydzBetween(String value1, String value2) { addCriterion("LYDZ between", value1, value2, "lydz"); return this; } public Criteria andLydzNotBetween(String value1, String value2) { addCriterion("LYDZ not between", value1, value2, "lydz"); return this; } public Criteria andLybmIsNull() { addCriterion("LYBM is null"); return this; } public Criteria andLybmIsNotNull() { addCriterion("LYBM is not null"); return this; } public Criteria andLybmEqualTo(String value) { addCriterion("LYBM =", value, "lybm"); return this; } public Criteria andLybmNotEqualTo(String value) { addCriterion("LYBM <>", value, "lybm"); return this; } public Criteria andLybmGreaterThan(String value) { addCriterion("LYBM >", value, "lybm"); return this; } public Criteria andLybmGreaterThanOrEqualTo(String value) { addCriterion("LYBM >=", value, "lybm"); return this; } public Criteria andLybmLessThan(String value) { addCriterion("LYBM <", value, "lybm"); return this; } public Criteria andLybmLessThanOrEqualTo(String value) { addCriterion("LYBM <=", value, "lybm"); return this; } public Criteria andLybmLike(String value) { addCriterion("LYBM like", value, "lybm"); return this; } public Criteria andLybmNotLike(String value) { addCriterion("LYBM not like", value, "lybm"); return this; } public Criteria andLybmIn(List values) { addCriterion("LYBM in", values, "lybm"); return this; } public Criteria andLybmNotIn(List values) { addCriterion("LYBM not in", values, "lybm"); return this; } public Criteria andLybmBetween(String value1, String value2) { addCriterion("LYBM between", value1, value2, "lybm"); return this; } public Criteria andLybmNotBetween(String value1, String value2) { addCriterion("LYBM not between", value1, value2, "lybm"); return this; } public Criteria andLcidIsNull() { addCriterion("LCID is null"); return this; } public Criteria andLcidIsNotNull() { addCriterion("LCID is not null"); return this; } public Criteria andLcidEqualTo(String value) { addCriterion("LCID =", value, "lcid"); return this; } public Criteria andLcidNotEqualTo(String value) { addCriterion("LCID <>", value, "lcid"); return this; } public Criteria andLcidGreaterThan(String value) { addCriterion("LCID >", value, "lcid"); return this; } public Criteria andLcidGreaterThanOrEqualTo(String value) { addCriterion("LCID >=", value, "lcid"); return this; } public Criteria andLcidLessThan(String value) { addCriterion("LCID <", value, "lcid"); return this; } public Criteria andLcidLessThanOrEqualTo(String value) { addCriterion("LCID <=", value, "lcid"); return this; } public Criteria andLcidLike(String value) { addCriterion("LCID like", value, "lcid"); return this; } public Criteria andLcidNotLike(String value) { addCriterion("LCID not like", value, "lcid"); return this; } public Criteria andLcidIn(List values) { addCriterion("LCID in", values, "lcid"); return this; } public Criteria andLcidNotIn(List values) { addCriterion("LCID not in", values, "lcid"); return this; } public Criteria andLcidBetween(String value1, String value2) { addCriterion("LCID between", value1, value2, "lcid"); return this; } public Criteria andLcidNotBetween(String value1, String value2) { addCriterion("LCID not between", value1, value2, "lcid"); return this; } } }