package com.huimv.da.dataobject; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; public class DaZqlsExample { /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 CST 2015 */ protected String orderByClause; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 CST 2015 */ protected List oredCriteria; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 CST 2015 */ protected int start = -1; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 CST 2015 */ protected int limit = -1; /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 CST 2015 */ public DaZqlsExample() { oredCriteria = new ArrayList(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 CST 2015 */ protected DaZqlsExample(DaZqlsExample example) { this.orderByClause = example.orderByClause; this.oredCriteria = example.oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 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 da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 CST 2015 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 CST 2015 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 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 da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 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 da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 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 da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 CST 2015 */ public void clear() { oredCriteria.clear(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 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 da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 CST 2015 */ public int getStart() { return start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 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 da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 CST 2015 */ public int getLimit() { return limit; } /** * This class was generated by Apache iBATIS ibator. * This class corresponds to the database table da_zqls * * @ibatorgenerated Mon Dec 14 09:21:56 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 andOldlqidIsNull() { addCriterion("OLDLQID is null"); return this; } public Criteria andOldlqidIsNotNull() { addCriterion("OLDLQID is not null"); return this; } public Criteria andOldlqidEqualTo(Integer value) { addCriterion("OLDLQID =", value, "oldlqid"); return this; } public Criteria andOldlqidNotEqualTo(Integer value) { addCriterion("OLDLQID <>", value, "oldlqid"); return this; } public Criteria andOldlqidGreaterThan(Integer value) { addCriterion("OLDLQID >", value, "oldlqid"); return this; } public Criteria andOldlqidGreaterThanOrEqualTo(Integer value) { addCriterion("OLDLQID >=", value, "oldlqid"); return this; } public Criteria andOldlqidLessThan(Integer value) { addCriterion("OLDLQID <", value, "oldlqid"); return this; } public Criteria andOldlqidLessThanOrEqualTo(Integer value) { addCriterion("OLDLQID <=", value, "oldlqid"); return this; } public Criteria andOldlqidIn(List values) { addCriterion("OLDLQID in", values, "oldlqid"); return this; } public Criteria andOldlqidNotIn(List values) { addCriterion("OLDLQID not in", values, "oldlqid"); return this; } public Criteria andOldlqidBetween(Integer value1, Integer value2) { addCriterion("OLDLQID between", value1, value2, "oldlqid"); return this; } public Criteria andOldlqidNotBetween(Integer value1, Integer value2) { addCriterion("OLDLQID not between", value1, value2, "oldlqid"); return this; } public Criteria andDwebIsNull() { addCriterion("DWEB is null"); return this; } public Criteria andDwebIsNotNull() { addCriterion("DWEB is not null"); return this; } public Criteria andDwebEqualTo(String value) { addCriterion("DWEB =", value, "dweb"); return this; } public Criteria andDwebNotEqualTo(String value) { addCriterion("DWEB <>", value, "dweb"); return this; } public Criteria andDwebGreaterThan(String value) { addCriterion("DWEB >", value, "dweb"); return this; } public Criteria andDwebGreaterThanOrEqualTo(String value) { addCriterion("DWEB >=", value, "dweb"); return this; } public Criteria andDwebLessThan(String value) { addCriterion("DWEB <", value, "dweb"); return this; } public Criteria andDwebLessThanOrEqualTo(String value) { addCriterion("DWEB <=", value, "dweb"); return this; } public Criteria andDwebLike(String value) { addCriterion("DWEB like", value, "dweb"); return this; } public Criteria andDwebNotLike(String value) { addCriterion("DWEB not like", value, "dweb"); return this; } public Criteria andDwebIn(List values) { addCriterion("DWEB in", values, "dweb"); return this; } public Criteria andDwebNotIn(List values) { addCriterion("DWEB not in", values, "dweb"); return this; } public Criteria andDwebBetween(String value1, String value2) { addCriterion("DWEB between", value1, value2, "dweb"); return this; } public Criteria andDwebNotBetween(String value1, String value2) { addCriterion("DWEB not between", value1, value2, "dweb"); return this; } public Criteria andZqsjIsNull() { addCriterion("ZQSJ is null"); return this; } public Criteria andZqsjIsNotNull() { addCriterion("ZQSJ is not null"); return this; } public Criteria andZqsjEqualTo(Date value) { addCriterion("ZQSJ =", value, "zqsj"); return this; } public Criteria andZqsjNotEqualTo(Date value) { addCriterion("ZQSJ <>", value, "zqsj"); return this; } public Criteria andZqsjGreaterThan(Date value) { addCriterion("ZQSJ >", value, "zqsj"); return this; } public Criteria andZqsjGreaterThanOrEqualTo(Date value) { addCriterion("ZQSJ >=", value, "zqsj"); return this; } public Criteria andZqsjLessThan(Date value) { addCriterion("ZQSJ <", value, "zqsj"); return this; } public Criteria andZqsjLessThanOrEqualTo(Date value) { addCriterion("ZQSJ <=", value, "zqsj"); return this; } public Criteria andZqsjIn(List values) { addCriterion("ZQSJ in", values, "zqsj"); return this; } public Criteria andZqsjNotIn(List values) { addCriterion("ZQSJ not in", values, "zqsj"); return this; } public Criteria andZqsjBetween(Date value1, Date value2) { addCriterion("ZQSJ between", value1, value2, "zqsj"); return this; } public Criteria andZqsjNotBetween(Date value1, Date value2) { addCriterion("ZQSJ not between", value1, value2, "zqsj"); return this; } } }