package com.huimv.lierda.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 LierdaDwtwExample { /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table lierda_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 CST 2019 */ protected String orderByClause; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table lierda_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 CST 2019 */ protected List oredCriteria; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table lierda_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 CST 2019 */ protected int start = -1; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table lierda_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 CST 2019 */ protected int limit = -1; /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 CST 2019 */ public LierdaDwtwExample() { oredCriteria = new ArrayList(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 CST 2019 */ protected LierdaDwtwExample(LierdaDwtwExample 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_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 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_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 CST 2019 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 CST 2019 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 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_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 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_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 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_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 CST 2019 */ public void clear() { oredCriteria.clear(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 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_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 CST 2019 */ public int getStart() { return start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 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_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 CST 2019 */ public int getLimit() { return limit; } /** * This class was generated by Apache iBATIS ibator. * This class corresponds to the database table lierda_dwtw * * @ibatorgenerated Fri Sep 20 15:50:01 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 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 andDqwdIsNull() { addCriterion("DQWD is null"); return this; } public Criteria andDqwdIsNotNull() { addCriterion("DQWD is not null"); return this; } public Criteria andDqwdEqualTo(BigDecimal value) { addCriterion("DQWD =", value, "dqwd"); return this; } public Criteria andDqwdNotEqualTo(BigDecimal value) { addCriterion("DQWD <>", value, "dqwd"); return this; } public Criteria andDqwdGreaterThan(BigDecimal value) { addCriterion("DQWD >", value, "dqwd"); return this; } public Criteria andDqwdGreaterThanOrEqualTo(BigDecimal value) { addCriterion("DQWD >=", value, "dqwd"); return this; } public Criteria andDqwdLessThan(BigDecimal value) { addCriterion("DQWD <", value, "dqwd"); return this; } public Criteria andDqwdLessThanOrEqualTo(BigDecimal value) { addCriterion("DQWD <=", value, "dqwd"); return this; } public Criteria andDqwdIn(List values) { addCriterion("DQWD in", values, "dqwd"); return this; } public Criteria andDqwdNotIn(List values) { addCriterion("DQWD not in", values, "dqwd"); return this; } public Criteria andDqwdBetween(BigDecimal value1, BigDecimal value2) { addCriterion("DQWD between", value1, value2, "dqwd"); return this; } public Criteria andDqwdNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("DQWD not between", value1, value2, "dqwd"); return this; } public Criteria andSydlIsNull() { addCriterion("SYDL is null"); return this; } public Criteria andSydlIsNotNull() { addCriterion("SYDL is not null"); return this; } public Criteria andSydlEqualTo(Integer value) { addCriterion("SYDL =", value, "sydl"); return this; } public Criteria andSydlNotEqualTo(Integer value) { addCriterion("SYDL <>", value, "sydl"); return this; } public Criteria andSydlGreaterThan(Integer value) { addCriterion("SYDL >", value, "sydl"); return this; } public Criteria andSydlGreaterThanOrEqualTo(Integer value) { addCriterion("SYDL >=", value, "sydl"); return this; } public Criteria andSydlLessThan(Integer value) { addCriterion("SYDL <", value, "sydl"); return this; } public Criteria andSydlLessThanOrEqualTo(Integer value) { addCriterion("SYDL <=", value, "sydl"); return this; } public Criteria andSydlIn(List values) { addCriterion("SYDL in", values, "sydl"); return this; } public Criteria andSydlNotIn(List values) { addCriterion("SYDL not in", values, "sydl"); return this; } public Criteria andSydlBetween(Integer value1, Integer value2) { addCriterion("SYDL between", value1, value2, "sydl"); return this; } public Criteria andSydlNotBetween(Integer value1, Integer value2) { addCriterion("SYDL not between", value1, value2, "sydl"); 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; } } }