package com.huimv.lierda.dataobject; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.Map; public class LierdaDwdaExample { /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ protected String orderByClause; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ protected List oredCriteria; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ protected int start = -1; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ protected int limit = -1; /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ public LierdaDwdaExample() { oredCriteria = new ArrayList(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ protected LierdaDwdaExample(LierdaDwdaExample example) { this.orderByClause = example.orderByClause; this.oredCriteria = example.oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ 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 lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ public void clear() { oredCriteria.clear(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ public void setStart(int start) { this.start=start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ public int getStart() { return start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ public void setLimit(int limit) { this.limit=limit; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ public int getLimit() { return limit; } /** * This class was generated by Apache iBATIS ibator. * This class corresponds to the database table lierda_dwda * * @ibatorgenerated Fri Sep 20 13:22:22 CST 2019 */ 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 andDyidIsNull() { addCriterion("DYID is null"); return this; } public Criteria andDyidIsNotNull() { addCriterion("DYID is not null"); return this; } public Criteria andDyidEqualTo(Integer value) { addCriterion("DYID =", value, "dyid"); return this; } public Criteria andDyidNotEqualTo(Integer value) { addCriterion("DYID <>", value, "dyid"); return this; } public Criteria andDyidGreaterThan(Integer value) { addCriterion("DYID >", value, "dyid"); return this; } public Criteria andDyidGreaterThanOrEqualTo(Integer value) { addCriterion("DYID >=", value, "dyid"); return this; } public Criteria andDyidLessThan(Integer value) { addCriterion("DYID <", value, "dyid"); return this; } public Criteria andDyidLessThanOrEqualTo(Integer value) { addCriterion("DYID <=", value, "dyid"); return this; } public Criteria andDyidIn(List values) { addCriterion("DYID in", values, "dyid"); return this; } public Criteria andDyidNotIn(List values) { addCriterion("DYID not in", values, "dyid"); return this; } public Criteria andDyidBetween(Integer value1, Integer value2) { addCriterion("DYID between", value1, value2, "dyid"); return this; } public Criteria andDyidNotBetween(Integer value1, Integer value2) { addCriterion("DYID not between", value1, value2, "dyid"); return this; } public Criteria andMacIsNull() { addCriterion("MAC is null"); return this; } public Criteria andMacIsNotNull() { addCriterion("MAC is not null"); return this; } public Criteria andMacEqualTo(String value) { addCriterion("MAC =", value, "mac"); return this; } public Criteria andMacNotEqualTo(String value) { addCriterion("MAC <>", value, "mac"); return this; } public Criteria andMacGreaterThan(String value) { addCriterion("MAC >", value, "mac"); return this; } public Criteria andMacGreaterThanOrEqualTo(String value) { addCriterion("MAC >=", value, "mac"); return this; } public Criteria andMacLessThan(String value) { addCriterion("MAC <", value, "mac"); return this; } public Criteria andMacLessThanOrEqualTo(String value) { addCriterion("MAC <=", value, "mac"); return this; } public Criteria andMacLike(String value) { addCriterion("MAC like", value, "mac"); return this; } public Criteria andMacNotLike(String value) { addCriterion("MAC not like", value, "mac"); return this; } public Criteria andMacIn(List values) { addCriterion("MAC in", values, "mac"); return this; } public Criteria andMacNotIn(List values) { addCriterion("MAC not in", values, "mac"); return this; } public Criteria andMacBetween(String value1, String value2) { addCriterion("MAC between", value1, value2, "mac"); return this; } public Criteria andMacNotBetween(String value1, String value2) { addCriterion("MAC not between", value1, value2, "mac"); return this; } public Criteria andCsrqIsNull() { addCriterion("CSRQ is null"); return this; } public Criteria andCsrqIsNotNull() { addCriterion("CSRQ is not null"); return this; } public Criteria andCsrqEqualTo(Date value) { addCriterion("CSRQ =", value, "csrq"); return this; } public Criteria andCsrqNotEqualTo(Date value) { addCriterion("CSRQ <>", value, "csrq"); return this; } public Criteria andCsrqGreaterThan(Date value) { addCriterion("CSRQ >", value, "csrq"); return this; } public Criteria andCsrqGreaterThanOrEqualTo(Date value) { addCriterion("CSRQ >=", value, "csrq"); return this; } public Criteria andCsrqLessThan(Date value) { addCriterion("CSRQ <", value, "csrq"); return this; } public Criteria andCsrqLessThanOrEqualTo(Date value) { addCriterion("CSRQ <=", value, "csrq"); return this; } public Criteria andCsrqIn(List values) { addCriterion("CSRQ in", values, "csrq"); return this; } public Criteria andCsrqNotIn(List values) { addCriterion("CSRQ not in", values, "csrq"); return this; } public Criteria andCsrqBetween(Date value1, Date value2) { addCriterion("CSRQ between", value1, value2, "csrq"); return this; } public Criteria andCsrqNotBetween(Date value1, Date value2) { addCriterion("CSRQ not between", value1, value2, "csrq"); return this; } public Criteria andXbIsNull() { addCriterion("XB is null"); return this; } public Criteria andXbIsNotNull() { addCriterion("XB is not null"); return this; } public Criteria andXbEqualTo(String value) { addCriterion("XB =", value, "xb"); return this; } public Criteria andXbNotEqualTo(String value) { addCriterion("XB <>", value, "xb"); return this; } public Criteria andXbGreaterThan(String value) { addCriterion("XB >", value, "xb"); return this; } public Criteria andXbGreaterThanOrEqualTo(String value) { addCriterion("XB >=", value, "xb"); return this; } public Criteria andXbLessThan(String value) { addCriterion("XB <", value, "xb"); return this; } public Criteria andXbLessThanOrEqualTo(String value) { addCriterion("XB <=", value, "xb"); return this; } public Criteria andXbLike(String value) { addCriterion("XB like", value, "xb"); return this; } public Criteria andXbNotLike(String value) { addCriterion("XB not like", value, "xb"); return this; } public Criteria andXbIn(List values) { addCriterion("XB in", values, "xb"); return this; } public Criteria andXbNotIn(List values) { addCriterion("XB not in", values, "xb"); return this; } public Criteria andXbBetween(String value1, String value2) { addCriterion("XB between", value1, value2, "xb"); return this; } public Criteria andXbNotBetween(String value1, String value2) { addCriterion("XB not between", value1, value2, "xb"); return this; } public Criteria andLwIsNull() { addCriterion("LW is null"); return this; } public Criteria andLwIsNotNull() { addCriterion("LW is not null"); return this; } public Criteria andLwEqualTo(String value) { addCriterion("LW =", value, "lw"); return this; } public Criteria andLwNotEqualTo(String value) { addCriterion("LW <>", value, "lw"); return this; } public Criteria andLwGreaterThan(String value) { addCriterion("LW >", value, "lw"); return this; } public Criteria andLwGreaterThanOrEqualTo(String value) { addCriterion("LW >=", value, "lw"); return this; } public Criteria andLwLessThan(String value) { addCriterion("LW <", value, "lw"); return this; } public Criteria andLwLessThanOrEqualTo(String value) { addCriterion("LW <=", value, "lw"); return this; } public Criteria andLwLike(String value) { addCriterion("LW like", value, "lw"); return this; } public Criteria andLwNotLike(String value) { addCriterion("LW not like", value, "lw"); return this; } public Criteria andLwIn(List values) { addCriterion("LW in", values, "lw"); return this; } public Criteria andLwNotIn(List values) { addCriterion("LW not in", values, "lw"); return this; } public Criteria andLwBetween(String value1, String value2) { addCriterion("LW between", value1, value2, "lw"); return this; } public Criteria andLwNotBetween(String value1, String value2) { addCriterion("LW not between", value1, value2, "lw"); return this; } public Criteria andZtIsNull() { addCriterion("ZT is null"); return this; } public Criteria andZtIsNotNull() { addCriterion("ZT is not null"); return this; } public Criteria andZtEqualTo(String value) { addCriterion("ZT =", value, "zt"); return this; } public Criteria andZtNotEqualTo(String value) { addCriterion("ZT <>", value, "zt"); return this; } public Criteria andZtGreaterThan(String value) { addCriterion("ZT >", value, "zt"); return this; } public Criteria andZtGreaterThanOrEqualTo(String value) { addCriterion("ZT >=", value, "zt"); return this; } public Criteria andZtLessThan(String value) { addCriterion("ZT <", value, "zt"); return this; } public Criteria andZtLessThanOrEqualTo(String value) { addCriterion("ZT <=", value, "zt"); return this; } public Criteria andZtLike(String value) { addCriterion("ZT like", value, "zt"); return this; } public Criteria andZtNotLike(String value) { addCriterion("ZT not like", value, "zt"); return this; } public Criteria andZtIn(List values) { addCriterion("ZT in", values, "zt"); return this; } public Criteria andZtNotIn(List values) { addCriterion("ZT not in", values, "zt"); return this; } public Criteria andZtBetween(String value1, String value2) { addCriterion("ZT between", value1, value2, "zt"); return this; } public Criteria andZtNotBetween(String value1, String value2) { addCriterion("ZT not between", value1, value2, "zt"); return this; } } }