123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598 |
- package com.huimv.lierda.dataobject;
- import java.util.ArrayList;
- import java.util.Date;
- import java.util.HashMap;
- import java.util.Iterator;
- import java.util.List;
- import java.util.Map;
- public class LierdaYdscExample {
- /**
- * This field was generated by Apache iBATIS ibator.
- * This field corresponds to the database table lierda_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 CST 2019
- */
- protected String orderByClause;
- /**
- * This field was generated by Apache iBATIS ibator.
- * This field corresponds to the database table lierda_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 CST 2019
- */
- protected List<Criteria> oredCriteria;
- /**
- * This field was generated by Apache iBATIS ibator.
- * This field corresponds to the database table lierda_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 CST 2019
- */
- protected int start = -1;
- /**
- * This field was generated by Apache iBATIS ibator.
- * This field corresponds to the database table lierda_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 CST 2019
- */
- protected int limit = -1;
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table lierda_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 CST 2019
- */
- public LierdaYdscExample() {
- oredCriteria = new ArrayList<Criteria>();
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table lierda_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 CST 2019
- */
- protected LierdaYdscExample(LierdaYdscExample 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_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 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_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 CST 2019
- */
- public String getOrderByClause() {
- return orderByClause;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table lierda_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 CST 2019
- */
- public List<Criteria> getOredCriteria() {
- return oredCriteria;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table lierda_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 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_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 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_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 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_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 CST 2019
- */
- public void clear() {
- oredCriteria.clear();
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table lierda_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 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_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 CST 2019
- */
- public int getStart() {
- return start;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table lierda_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 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_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 CST 2019
- */
- public int getLimit() {
- return limit;
- }
- /**
- * This class was generated by Apache iBATIS ibator.
- * This class corresponds to the database table lierda_ydsc
- *
- * @ibatorgenerated Fri Sep 20 15:50:20 CST 2019
- */
- public static class Criteria {
- protected List<String> criteriaWithoutValue;
- protected List<Map<String, Object>> criteriaWithSingleValue;
- protected List<Map<String, Object>> criteriaWithListValue;
- protected List<Map<String, Object>> criteriaWithBetweenValue;
- protected Criteria() {
- super();
- criteriaWithoutValue = new ArrayList<String>();
- criteriaWithSingleValue = new ArrayList<Map<String, Object>>();
- criteriaWithListValue = new ArrayList<Map<String, Object>>();
- criteriaWithBetweenValue = new ArrayList<Map<String, Object>>();
- }
- public boolean isValid() {
- return criteriaWithoutValue.size() > 0
- || criteriaWithSingleValue.size() > 0
- || criteriaWithListValue.size() > 0
- || criteriaWithBetweenValue.size() > 0;
- }
- public List<String> getCriteriaWithoutValue() {
- return criteriaWithoutValue;
- }
- public List<Map<String, Object>> getCriteriaWithSingleValue() {
- return criteriaWithSingleValue;
- }
- public List<Map<String, Object>> getCriteriaWithListValue() {
- return criteriaWithListValue;
- }
- public List<Map<String, Object>> 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<String, Object> map = new HashMap<String, Object>();
- map.put("condition", condition);
- map.put("value", value);
- criteriaWithSingleValue.add(map);
- }
- protected void addCriterion(String condition, List<? extends Object> values, String property) {
- if (values == null || values.size() == 0) {
- throw new RuntimeException("Value list for " + property + " cannot be null or empty");
- }
- Map<String, Object> map = new HashMap<String, Object>();
- 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<Object> list = new ArrayList<Object>();
- list.add(value1);
- list.add(value2);
- Map<String, Object> map = new HashMap<String, Object>();
- map.put("condition", condition);
- map.put("values", list);
- criteriaWithBetweenValue.add(map);
- }
- protected void addCriterionForJDBCDate(String condition, Date value, String property) {
- addCriterion(condition, new java.sql.Date(value.getTime()), property);
- }
- protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
- if (values == null || values.size() == 0) {
- throw new RuntimeException("Value list for " + property + " cannot be null or empty");
- }
- List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
- Iterator<Date> iter = values.iterator();
- while (iter.hasNext()) {
- dateList.add(new java.sql.Date(iter.next().getTime()));
- }
- addCriterion(condition, dateList, property);
- }
- protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
- if (value1 == null || value2 == null) {
- throw new RuntimeException("Between values for " + property + " cannot be null");
- }
- addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
- }
- 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<Integer> values) {
- addCriterion("ID in", values, "id");
- return this;
- }
- public Criteria andIdNotIn(List<Integer> 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<String> values) {
- addCriterion("MAC in", values, "mac");
- return this;
- }
- public Criteria andMacNotIn(List<String> 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 andDqmsIsNull() {
- addCriterion("DQMS is null");
- return this;
- }
- public Criteria andDqmsIsNotNull() {
- addCriterion("DQMS is not null");
- return this;
- }
- public Criteria andDqmsEqualTo(Integer value) {
- addCriterion("DQMS =", value, "dqms");
- return this;
- }
- public Criteria andDqmsNotEqualTo(Integer value) {
- addCriterion("DQMS <>", value, "dqms");
- return this;
- }
- public Criteria andDqmsGreaterThan(Integer value) {
- addCriterion("DQMS >", value, "dqms");
- return this;
- }
- public Criteria andDqmsGreaterThanOrEqualTo(Integer value) {
- addCriterion("DQMS >=", value, "dqms");
- return this;
- }
- public Criteria andDqmsLessThan(Integer value) {
- addCriterion("DQMS <", value, "dqms");
- return this;
- }
- public Criteria andDqmsLessThanOrEqualTo(Integer value) {
- addCriterion("DQMS <=", value, "dqms");
- return this;
- }
- public Criteria andDqmsIn(List<Integer> values) {
- addCriterion("DQMS in", values, "dqms");
- return this;
- }
- public Criteria andDqmsNotIn(List<Integer> values) {
- addCriterion("DQMS not in", values, "dqms");
- return this;
- }
- public Criteria andDqmsBetween(Integer value1, Integer value2) {
- addCriterion("DQMS between", value1, value2, "dqms");
- return this;
- }
- public Criteria andDqmsNotBetween(Integer value1, Integer value2) {
- addCriterion("DQMS not between", value1, value2, "dqms");
- 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) {
- addCriterionForJDBCDate("SCSJ =", value, "scsj");
- return this;
- }
- public Criteria andScsjNotEqualTo(Date value) {
- addCriterionForJDBCDate("SCSJ <>", value, "scsj");
- return this;
- }
- public Criteria andScsjGreaterThan(Date value) {
- addCriterionForJDBCDate("SCSJ >", value, "scsj");
- return this;
- }
- public Criteria andScsjGreaterThanOrEqualTo(Date value) {
- addCriterionForJDBCDate("SCSJ >=", value, "scsj");
- return this;
- }
- public Criteria andScsjLessThan(Date value) {
- addCriterionForJDBCDate("SCSJ <", value, "scsj");
- return this;
- }
- public Criteria andScsjLessThanOrEqualTo(Date value) {
- addCriterionForJDBCDate("SCSJ <=", value, "scsj");
- return this;
- }
- public Criteria andScsjIn(List<Date> values) {
- addCriterionForJDBCDate("SCSJ in", values, "scsj");
- return this;
- }
- public Criteria andScsjNotIn(List<Date> values) {
- addCriterionForJDBCDate("SCSJ not in", values, "scsj");
- return this;
- }
- public Criteria andScsjBetween(Date value1, Date value2) {
- addCriterionForJDBCDate("SCSJ between", value1, value2, "scsj");
- return this;
- }
- public Criteria andScsjNotBetween(Date value1, Date value2) {
- addCriterionForJDBCDate("SCSJ not between", value1, value2, "scsj");
- return this;
- }
- public Criteria andXsIsNull() {
- addCriterion("XS is null");
- return this;
- }
- public Criteria andXsIsNotNull() {
- addCriterion("XS is not null");
- return this;
- }
- public Criteria andXsEqualTo(Integer value) {
- addCriterion("XS =", value, "xs");
- return this;
- }
- public Criteria andXsNotEqualTo(Integer value) {
- addCriterion("XS <>", value, "xs");
- return this;
- }
- public Criteria andXsGreaterThan(Integer value) {
- addCriterion("XS >", value, "xs");
- return this;
- }
- public Criteria andXsGreaterThanOrEqualTo(Integer value) {
- addCriterion("XS >=", value, "xs");
- return this;
- }
- public Criteria andXsLessThan(Integer value) {
- addCriterion("XS <", value, "xs");
- return this;
- }
- public Criteria andXsLessThanOrEqualTo(Integer value) {
- addCriterion("XS <=", value, "xs");
- return this;
- }
- public Criteria andXsIn(List<Integer> values) {
- addCriterion("XS in", values, "xs");
- return this;
- }
- public Criteria andXsNotIn(List<Integer> values) {
- addCriterion("XS not in", values, "xs");
- return this;
- }
- public Criteria andXsBetween(Integer value1, Integer value2) {
- addCriterion("XS between", value1, value2, "xs");
- return this;
- }
- public Criteria andXsNotBetween(Integer value1, Integer value2) {
- addCriterion("XS not between", value1, value2, "xs");
- return this;
- }
- }
- }
|