package com.huimv.lierda.dataobject; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class LierdaGlidExample { /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table lierda_glid * * @ibatorgenerated Fri Sep 20 13:21:52 CST 2019 */ protected String orderByClause; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table lierda_glid * * @ibatorgenerated Fri Sep 20 13:21:52 CST 2019 */ protected List oredCriteria; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table lierda_glid * * @ibatorgenerated Fri Sep 20 13:21:52 CST 2019 */ protected int start = -1; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table lierda_glid * * @ibatorgenerated Fri Sep 20 13:21:52 CST 2019 */ protected int limit = -1; /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_glid * * @ibatorgenerated Fri Sep 20 13:21:52 CST 2019 */ public LierdaGlidExample() { oredCriteria = new ArrayList(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_glid * * @ibatorgenerated Fri Sep 20 13:21:52 CST 2019 */ protected LierdaGlidExample(LierdaGlidExample 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_glid * * @ibatorgenerated Fri Sep 20 13:21:52 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_glid * * @ibatorgenerated Fri Sep 20 13:21:52 CST 2019 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_glid * * @ibatorgenerated Fri Sep 20 13:21:52 CST 2019 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_glid * * @ibatorgenerated Fri Sep 20 13:21:52 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_glid * * @ibatorgenerated Fri Sep 20 13:21:52 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_glid * * @ibatorgenerated Fri Sep 20 13:21:52 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_glid * * @ibatorgenerated Fri Sep 20 13:21:52 CST 2019 */ public void clear() { oredCriteria.clear(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_glid * * @ibatorgenerated Fri Sep 20 13:21:52 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_glid * * @ibatorgenerated Fri Sep 20 13:21:52 CST 2019 */ public int getStart() { return start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table lierda_glid * * @ibatorgenerated Fri Sep 20 13:21:52 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_glid * * @ibatorgenerated Fri Sep 20 13:21:52 CST 2019 */ public int getLimit() { return limit; } /** * This class was generated by Apache iBATIS ibator. * This class corresponds to the database table lierda_glid * * @ibatorgenerated Fri Sep 20 13:21:52 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 andGldyidIsNull() { addCriterion("GLDYID is null"); return this; } public Criteria andGldyidIsNotNull() { addCriterion("GLDYID is not null"); return this; } public Criteria andGldyidEqualTo(Integer value) { addCriterion("GLDYID =", value, "gldyid"); return this; } public Criteria andGldyidNotEqualTo(Integer value) { addCriterion("GLDYID <>", value, "gldyid"); return this; } public Criteria andGldyidGreaterThan(Integer value) { addCriterion("GLDYID >", value, "gldyid"); return this; } public Criteria andGldyidGreaterThanOrEqualTo(Integer value) { addCriterion("GLDYID >=", value, "gldyid"); return this; } public Criteria andGldyidLessThan(Integer value) { addCriterion("GLDYID <", value, "gldyid"); return this; } public Criteria andGldyidLessThanOrEqualTo(Integer value) { addCriterion("GLDYID <=", value, "gldyid"); return this; } public Criteria andGldyidIn(List values) { addCriterion("GLDYID in", values, "gldyid"); return this; } public Criteria andGldyidNotIn(List values) { addCriterion("GLDYID not in", values, "gldyid"); return this; } public Criteria andGldyidBetween(Integer value1, Integer value2) { addCriterion("GLDYID between", value1, value2, "gldyid"); return this; } public Criteria andGldyidNotBetween(Integer value1, Integer value2) { addCriterion("GLDYID not between", value1, value2, "gldyid"); return this; } public Criteria andLierdaidIsNull() { addCriterion("LIERDAID is null"); return this; } public Criteria andLierdaidIsNotNull() { addCriterion("LIERDAID is not null"); return this; } public Criteria andLierdaidEqualTo(Integer value) { addCriterion("LIERDAID =", value, "lierdaid"); return this; } public Criteria andLierdaidNotEqualTo(Integer value) { addCriterion("LIERDAID <>", value, "lierdaid"); return this; } public Criteria andLierdaidGreaterThan(Integer value) { addCriterion("LIERDAID >", value, "lierdaid"); return this; } public Criteria andLierdaidGreaterThanOrEqualTo(Integer value) { addCriterion("LIERDAID >=", value, "lierdaid"); return this; } public Criteria andLierdaidLessThan(Integer value) { addCriterion("LIERDAID <", value, "lierdaid"); return this; } public Criteria andLierdaidLessThanOrEqualTo(Integer value) { addCriterion("LIERDAID <=", value, "lierdaid"); return this; } public Criteria andLierdaidIn(List values) { addCriterion("LIERDAID in", values, "lierdaid"); return this; } public Criteria andLierdaidNotIn(List values) { addCriterion("LIERDAID not in", values, "lierdaid"); return this; } public Criteria andLierdaidBetween(Integer value1, Integer value2) { addCriterion("LIERDAID between", value1, value2, "lierdaid"); return this; } public Criteria andLierdaidNotBetween(Integer value1, Integer value2) { addCriterion("LIERDAID not between", value1, value2, "lierdaid"); return this; } } }