package com.huimv.sj.dataobject; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; public class SjPjtzExample { /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ protected String orderByClause; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ protected List oredCriteria; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ protected int start = -1; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ protected int limit = -1; /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ public SjPjtzExample() { oredCriteria = new ArrayList(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ protected SjPjtzExample(SjPjtzExample example) { this.orderByClause = example.orderByClause; this.oredCriteria = example.oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ 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 sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ public void clear() { oredCriteria.clear(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ public void setStart(int start) { this.start=start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ public int getStart() { return start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ public void setLimit(int limit) { this.limit=limit; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ public int getLimit() { return limit; } /** * This class was generated by Apache iBATIS ibator. * This class corresponds to the database table sj_pjtz * * @ibatorgenerated Mon Feb 02 10:40:47 CST 2015 */ 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 andLqidIsNull() { addCriterion("LQID is null"); return this; } public Criteria andLqidIsNotNull() { addCriterion("LQID is not null"); return this; } public Criteria andLqidEqualTo(Integer value) { addCriterion("LQID =", value, "lqid"); return this; } public Criteria andLqidNotEqualTo(Integer value) { addCriterion("LQID <>", value, "lqid"); return this; } public Criteria andLqidGreaterThan(Integer value) { addCriterion("LQID >", value, "lqid"); return this; } public Criteria andLqidGreaterThanOrEqualTo(Integer value) { addCriterion("LQID >=", value, "lqid"); return this; } public Criteria andLqidLessThan(Integer value) { addCriterion("LQID <", value, "lqid"); return this; } public Criteria andLqidLessThanOrEqualTo(Integer value) { addCriterion("LQID <=", value, "lqid"); return this; } public Criteria andLqidIn(List values) { addCriterion("LQID in", values, "lqid"); return this; } public Criteria andLqidNotIn(List values) { addCriterion("LQID not in", values, "lqid"); return this; } public Criteria andLqidBetween(Integer value1, Integer value2) { addCriterion("LQID between", value1, value2, "lqid"); return this; } public Criteria andLqidNotBetween(Integer value1, Integer value2) { addCriterion("LQID not between", value1, value2, "lqid"); return this; } public Criteria andPjtzIsNull() { addCriterion("PJTZ is null"); return this; } public Criteria andPjtzIsNotNull() { addCriterion("PJTZ is not null"); return this; } public Criteria andPjtzEqualTo(BigDecimal value) { addCriterion("PJTZ =", value, "pjtz"); return this; } public Criteria andPjtzNotEqualTo(BigDecimal value) { addCriterion("PJTZ <>", value, "pjtz"); return this; } public Criteria andPjtzGreaterThan(BigDecimal value) { addCriterion("PJTZ >", value, "pjtz"); return this; } public Criteria andPjtzGreaterThanOrEqualTo(BigDecimal value) { addCriterion("PJTZ >=", value, "pjtz"); return this; } public Criteria andPjtzLessThan(BigDecimal value) { addCriterion("PJTZ <", value, "pjtz"); return this; } public Criteria andPjtzLessThanOrEqualTo(BigDecimal value) { addCriterion("PJTZ <=", value, "pjtz"); return this; } public Criteria andPjtzIn(List values) { addCriterion("PJTZ in", values, "pjtz"); return this; } public Criteria andPjtzNotIn(List values) { addCriterion("PJTZ not in", values, "pjtz"); return this; } public Criteria andPjtzBetween(BigDecimal value1, BigDecimal value2) { addCriterion("PJTZ between", value1, value2, "pjtz"); return this; } public Criteria andPjtzNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("PJTZ not between", value1, value2, "pjtz"); return this; } public Criteria andCsq1pjtzIsNull() { addCriterion("CSQ1PJTZ is null"); return this; } public Criteria andCsq1pjtzIsNotNull() { addCriterion("CSQ1PJTZ is not null"); return this; } public Criteria andCsq1pjtzEqualTo(BigDecimal value) { addCriterion("CSQ1PJTZ =", value, "csq1pjtz"); return this; } public Criteria andCsq1pjtzNotEqualTo(BigDecimal value) { addCriterion("CSQ1PJTZ <>", value, "csq1pjtz"); return this; } public Criteria andCsq1pjtzGreaterThan(BigDecimal value) { addCriterion("CSQ1PJTZ >", value, "csq1pjtz"); return this; } public Criteria andCsq1pjtzGreaterThanOrEqualTo(BigDecimal value) { addCriterion("CSQ1PJTZ >=", value, "csq1pjtz"); return this; } public Criteria andCsq1pjtzLessThan(BigDecimal value) { addCriterion("CSQ1PJTZ <", value, "csq1pjtz"); return this; } public Criteria andCsq1pjtzLessThanOrEqualTo(BigDecimal value) { addCriterion("CSQ1PJTZ <=", value, "csq1pjtz"); return this; } public Criteria andCsq1pjtzIn(List values) { addCriterion("CSQ1PJTZ in", values, "csq1pjtz"); return this; } public Criteria andCsq1pjtzNotIn(List values) { addCriterion("CSQ1PJTZ not in", values, "csq1pjtz"); return this; } public Criteria andCsq1pjtzBetween(BigDecimal value1, BigDecimal value2) { addCriterion("CSQ1PJTZ between", value1, value2, "csq1pjtz"); return this; } public Criteria andCsq1pjtzNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("CSQ1PJTZ not between", value1, value2, "csq1pjtz"); return this; } public Criteria andCsq2pjtzIsNull() { addCriterion("CSQ2PJTZ is null"); return this; } public Criteria andCsq2pjtzIsNotNull() { addCriterion("CSQ2PJTZ is not null"); return this; } public Criteria andCsq2pjtzEqualTo(BigDecimal value) { addCriterion("CSQ2PJTZ =", value, "csq2pjtz"); return this; } public Criteria andCsq2pjtzNotEqualTo(BigDecimal value) { addCriterion("CSQ2PJTZ <>", value, "csq2pjtz"); return this; } public Criteria andCsq2pjtzGreaterThan(BigDecimal value) { addCriterion("CSQ2PJTZ >", value, "csq2pjtz"); return this; } public Criteria andCsq2pjtzGreaterThanOrEqualTo(BigDecimal value) { addCriterion("CSQ2PJTZ >=", value, "csq2pjtz"); return this; } public Criteria andCsq2pjtzLessThan(BigDecimal value) { addCriterion("CSQ2PJTZ <", value, "csq2pjtz"); return this; } public Criteria andCsq2pjtzLessThanOrEqualTo(BigDecimal value) { addCriterion("CSQ2PJTZ <=", value, "csq2pjtz"); return this; } public Criteria andCsq2pjtzIn(List values) { addCriterion("CSQ2PJTZ in", values, "csq2pjtz"); return this; } public Criteria andCsq2pjtzNotIn(List values) { addCriterion("CSQ2PJTZ not in", values, "csq2pjtz"); return this; } public Criteria andCsq2pjtzBetween(BigDecimal value1, BigDecimal value2) { addCriterion("CSQ2PJTZ between", value1, value2, "csq2pjtz"); return this; } public Criteria andCsq2pjtzNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("CSQ2PJTZ not between", value1, value2, "csq2pjtz"); return this; } public Criteria andGlqpjtzIsNull() { addCriterion("GLQPJTZ is null"); return this; } public Criteria andGlqpjtzIsNotNull() { addCriterion("GLQPJTZ is not null"); return this; } public Criteria andGlqpjtzEqualTo(BigDecimal value) { addCriterion("GLQPJTZ =", value, "glqpjtz"); return this; } public Criteria andGlqpjtzNotEqualTo(BigDecimal value) { addCriterion("GLQPJTZ <>", value, "glqpjtz"); return this; } public Criteria andGlqpjtzGreaterThan(BigDecimal value) { addCriterion("GLQPJTZ >", value, "glqpjtz"); return this; } public Criteria andGlqpjtzGreaterThanOrEqualTo(BigDecimal value) { addCriterion("GLQPJTZ >=", value, "glqpjtz"); return this; } public Criteria andGlqpjtzLessThan(BigDecimal value) { addCriterion("GLQPJTZ <", value, "glqpjtz"); return this; } public Criteria andGlqpjtzLessThanOrEqualTo(BigDecimal value) { addCriterion("GLQPJTZ <=", value, "glqpjtz"); return this; } public Criteria andGlqpjtzIn(List values) { addCriterion("GLQPJTZ in", values, "glqpjtz"); return this; } public Criteria andGlqpjtzNotIn(List values) { addCriterion("GLQPJTZ not in", values, "glqpjtz"); return this; } public Criteria andGlqpjtzBetween(BigDecimal value1, BigDecimal value2) { addCriterion("GLQPJTZ between", value1, value2, "glqpjtz"); return this; } public Criteria andGlqpjtzNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("GLQPJTZ not between", value1, value2, "glqpjtz"); return this; } public Criteria andTjsjIsNull() { addCriterion("TJSJ is null"); return this; } public Criteria andTjsjIsNotNull() { addCriterion("TJSJ is not null"); return this; } public Criteria andTjsjEqualTo(Date value) { addCriterion("TJSJ =", value, "tjsj"); return this; } public Criteria andTjsjNotEqualTo(Date value) { addCriterion("TJSJ <>", value, "tjsj"); return this; } public Criteria andTjsjGreaterThan(Date value) { addCriterion("TJSJ >", value, "tjsj"); return this; } public Criteria andTjsjGreaterThanOrEqualTo(Date value) { addCriterion("TJSJ >=", value, "tjsj"); return this; } public Criteria andTjsjLessThan(Date value) { addCriterion("TJSJ <", value, "tjsj"); return this; } public Criteria andTjsjLessThanOrEqualTo(Date value) { addCriterion("TJSJ <=", value, "tjsj"); return this; } public Criteria andTjsjIn(List values) { addCriterion("TJSJ in", values, "tjsj"); return this; } public Criteria andTjsjNotIn(List values) { addCriterion("TJSJ not in", values, "tjsj"); return this; } public Criteria andTjsjBetween(Date value1, Date value2) { addCriterion("TJSJ between", value1, value2, "tjsj"); return this; } public Criteria andTjsjNotBetween(Date value1, Date value2) { addCriterion("TJSJ not between", value1, value2, "tjsj"); return this; } public Criteria andYwebIsNull() { addCriterion("yweb is null"); return this; } public Criteria andYwebIsNotNull() { addCriterion("yweb is not null"); return this; } public Criteria andYwebEqualTo(Integer value) { addCriterion("yweb =", value, "yweb"); return this; } public Criteria andYwebNotEqualTo(Integer value) { addCriterion("yweb <>", value, "yweb"); return this; } public Criteria andYwebGreaterThan(Integer value) { addCriterion("yweb >", value, "yweb"); return this; } public Criteria andYwebGreaterThanOrEqualTo(Integer value) { addCriterion("yweb >=", value, "yweb"); return this; } public Criteria andYwebLessThan(Integer value) { addCriterion("yweb <", value, "yweb"); return this; } public Criteria andYwebLessThanOrEqualTo(Integer value) { addCriterion("yweb <=", value, "yweb"); return this; } public Criteria andYwebIn(List values) { addCriterion("yweb in", values, "yweb"); return this; } public Criteria andYwebNotIn(List values) { addCriterion("yweb not in", values, "yweb"); return this; } public Criteria andYwebBetween(Integer value1, Integer value2) { addCriterion("yweb between", value1, value2, "yweb"); return this; } public Criteria andYwebNotBetween(Integer value1, Integer value2) { addCriterion("yweb not between", value1, value2, "yweb"); return this; } } }