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 XtHkbjyxztExample { /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 CST 2016 */ protected String orderByClause; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 CST 2016 */ protected List oredCriteria; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 CST 2016 */ protected int start = -1; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xt_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 CST 2016 */ protected int limit = -1; /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 CST 2016 */ public XtHkbjyxztExample() { oredCriteria = new ArrayList(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 CST 2016 */ protected XtHkbjyxztExample(XtHkbjyxztExample 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_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 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_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 CST 2016 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 CST 2016 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 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_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 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_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 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_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 CST 2016 */ public void clear() { oredCriteria.clear(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 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_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 CST 2016 */ public int getStart() { return start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 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_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 CST 2016 */ public int getLimit() { return limit; } /** * This class was generated by Apache iBATIS ibator. * This class corresponds to the database table xt_hkbj_yxzt * * @ibatorgenerated Tue May 10 16:36:27 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 andCgqslIsNull() { addCriterion("CGQSL is null"); return this; } public Criteria andCgqslIsNotNull() { addCriterion("CGQSL is not null"); return this; } public Criteria andCgqslEqualTo(Integer value) { addCriterion("CGQSL =", value, "cgqsl"); return this; } public Criteria andCgqslNotEqualTo(Integer value) { addCriterion("CGQSL <>", value, "cgqsl"); return this; } public Criteria andCgqslGreaterThan(Integer value) { addCriterion("CGQSL >", value, "cgqsl"); return this; } public Criteria andCgqslGreaterThanOrEqualTo(Integer value) { addCriterion("CGQSL >=", value, "cgqsl"); return this; } public Criteria andCgqslLessThan(Integer value) { addCriterion("CGQSL <", value, "cgqsl"); return this; } public Criteria andCgqslLessThanOrEqualTo(Integer value) { addCriterion("CGQSL <=", value, "cgqsl"); return this; } public Criteria andCgqslIn(List values) { addCriterion("CGQSL in", values, "cgqsl"); return this; } public Criteria andCgqslNotIn(List values) { addCriterion("CGQSL not in", values, "cgqsl"); return this; } public Criteria andCgqslBetween(Integer value1, Integer value2) { addCriterion("CGQSL between", value1, value2, "cgqsl"); return this; } public Criteria andCgqslNotBetween(Integer value1, Integer value2) { addCriterion("CGQSL not between", value1, value2, "cgqsl"); return this; } public Criteria andCgqnrIsNull() { addCriterion("CGQNR is null"); return this; } public Criteria andCgqnrIsNotNull() { addCriterion("CGQNR is not null"); return this; } public Criteria andCgqnrEqualTo(String value) { addCriterion("CGQNR =", value, "cgqnr"); return this; } public Criteria andCgqnrNotEqualTo(String value) { addCriterion("CGQNR <>", value, "cgqnr"); return this; } public Criteria andCgqnrGreaterThan(String value) { addCriterion("CGQNR >", value, "cgqnr"); return this; } public Criteria andCgqnrGreaterThanOrEqualTo(String value) { addCriterion("CGQNR >=", value, "cgqnr"); return this; } public Criteria andCgqnrLessThan(String value) { addCriterion("CGQNR <", value, "cgqnr"); return this; } public Criteria andCgqnrLessThanOrEqualTo(String value) { addCriterion("CGQNR <=", value, "cgqnr"); return this; } public Criteria andCgqnrLike(String value) { addCriterion("CGQNR like", value, "cgqnr"); return this; } public Criteria andCgqnrNotLike(String value) { addCriterion("CGQNR not like", value, "cgqnr"); return this; } public Criteria andCgqnrIn(List values) { addCriterion("CGQNR in", values, "cgqnr"); return this; } public Criteria andCgqnrNotIn(List values) { addCriterion("CGQNR not in", values, "cgqnr"); return this; } public Criteria andCgqnrBetween(String value1, String value2) { addCriterion("CGQNR between", value1, value2, "cgqnr"); return this; } public Criteria andCgqnrNotBetween(String value1, String value2) { addCriterion("CGQNR not between", value1, value2, "cgqnr"); return this; } public Criteria andScsjIsNull() { addCriterion("SCSJ is null"); return this; } public Criteria andScsjIsNotNull() { addCriterion("SCSJ is not null"); return this; } public Criteria andScsjEqualTo(Date value) { addCriterion("SCSJ =", value, "scsj"); return this; } public Criteria andScsjNotEqualTo(Date value) { addCriterion("SCSJ <>", value, "scsj"); return this; } public Criteria andScsjGreaterThan(Date value) { addCriterion("SCSJ >", value, "scsj"); return this; } public Criteria andScsjGreaterThanOrEqualTo(Date value) { addCriterion("SCSJ >=", value, "scsj"); return this; } public Criteria andScsjLessThan(Date value) { addCriterion("SCSJ <", value, "scsj"); return this; } public Criteria andScsjLessThanOrEqualTo(Date value) { addCriterion("SCSJ <=", value, "scsj"); return this; } public Criteria andScsjIn(List values) { addCriterion("SCSJ in", values, "scsj"); return this; } public Criteria andScsjNotIn(List values) { addCriterion("SCSJ not in", values, "scsj"); return this; } public Criteria andScsjBetween(Date value1, Date value2) { addCriterion("SCSJ between", value1, value2, "scsj"); return this; } public Criteria andScsjNotBetween(Date value1, Date value2) { addCriterion("SCSJ not between", value1, value2, "scsj"); return this; } } }