123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584 |
- package com.huimv.xt.dataobject;
- import java.util.ArrayList;
- import java.util.Date;
- import java.util.HashMap;
- import java.util.List;
- import java.util.Map;
- public class XtHkbjyxztExample {
- /**
- * This field was generated by Apache iBATIS ibator.
- * This field corresponds to the database table xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- protected String orderByClause;
- /**
- * This field was generated by Apache iBATIS ibator.
- * This field corresponds to the database table xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- protected List<Criteria> oredCriteria;
- /**
- * This field was generated by Apache iBATIS ibator.
- * This field corresponds to the database table xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- protected int start = -1;
- /**
- * This field was generated by Apache iBATIS ibator.
- * This field corresponds to the database table xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- protected int limit = -1;
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- public XtHkbjyxztExample() {
- oredCriteria = new ArrayList<Criteria>();
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- protected XtHkbjyxztExample(XtHkbjyxztExample example) {
- this.orderByClause = example.orderByClause;
- this.oredCriteria = example.oredCriteria;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- public void setOrderByClause(String orderByClause) {
- this.orderByClause = orderByClause;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- public String getOrderByClause() {
- return orderByClause;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- public List<Criteria> getOredCriteria() {
- return oredCriteria;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- public void or(Criteria criteria) {
- oredCriteria.add(criteria);
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- 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 xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- protected Criteria createCriteriaInternal() {
- Criteria criteria = new Criteria();
- return criteria;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- public void clear() {
- oredCriteria.clear();
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- public void setStart(int start) {
- this.start=start;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- public int getStart() {
- return start;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- public void setLimit(int limit) {
- this.limit=limit;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- public int getLimit() {
- return limit;
- }
- /**
- * This class was generated by Apache iBATIS ibator.
- * This class corresponds to the database table xt_hkbj_yxzt
- *
- * @ibatorgenerated Tue May 10 16:36:27 CST 2016
- */
- 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);
- }
- 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 andJqidIsNull() {
- addCriterion("JQID is null");
- return this;
- }
- public Criteria andJqidIsNotNull() {
- addCriterion("JQID is not null");
- return this;
- }
- public Criteria andJqidEqualTo(String value) {
- addCriterion("JQID =", value, "jqid");
- return this;
- }
- public Criteria andJqidNotEqualTo(String value) {
- addCriterion("JQID <>", value, "jqid");
- return this;
- }
- public Criteria andJqidGreaterThan(String value) {
- addCriterion("JQID >", value, "jqid");
- return this;
- }
- public Criteria andJqidGreaterThanOrEqualTo(String value) {
- addCriterion("JQID >=", value, "jqid");
- return this;
- }
- public Criteria andJqidLessThan(String value) {
- addCriterion("JQID <", value, "jqid");
- return this;
- }
- public Criteria andJqidLessThanOrEqualTo(String value) {
- addCriterion("JQID <=", value, "jqid");
- return this;
- }
- public Criteria andJqidLike(String value) {
- addCriterion("JQID like", value, "jqid");
- return this;
- }
- public Criteria andJqidNotLike(String value) {
- addCriterion("JQID not like", value, "jqid");
- return this;
- }
- public Criteria andJqidIn(List<String> values) {
- addCriterion("JQID in", values, "jqid");
- return this;
- }
- public Criteria andJqidNotIn(List<String> values) {
- addCriterion("JQID not in", values, "jqid");
- return this;
- }
- public Criteria andJqidBetween(String value1, String value2) {
- addCriterion("JQID between", value1, value2, "jqid");
- return this;
- }
- public Criteria andJqidNotBetween(String value1, String value2) {
- addCriterion("JQID not between", value1, value2, "jqid");
- return this;
- }
- public Criteria andCgqslIsNull() {
- addCriterion("CGQSL is null");
- return this;
- }
- public Criteria andCgqslIsNotNull() {
- addCriterion("CGQSL is not null");
- return this;
- }
- public Criteria andCgqslEqualTo(Integer value) {
- addCriterion("CGQSL =", value, "cgqsl");
- return this;
- }
- public Criteria andCgqslNotEqualTo(Integer value) {
- addCriterion("CGQSL <>", value, "cgqsl");
- return this;
- }
- public Criteria andCgqslGreaterThan(Integer value) {
- addCriterion("CGQSL >", value, "cgqsl");
- return this;
- }
- public Criteria andCgqslGreaterThanOrEqualTo(Integer value) {
- addCriterion("CGQSL >=", value, "cgqsl");
- return this;
- }
- public Criteria andCgqslLessThan(Integer value) {
- addCriterion("CGQSL <", value, "cgqsl");
- return this;
- }
- public Criteria andCgqslLessThanOrEqualTo(Integer value) {
- addCriterion("CGQSL <=", value, "cgqsl");
- return this;
- }
- public Criteria andCgqslIn(List<Integer> values) {
- addCriterion("CGQSL in", values, "cgqsl");
- return this;
- }
- public Criteria andCgqslNotIn(List<Integer> values) {
- addCriterion("CGQSL not in", values, "cgqsl");
- return this;
- }
- public Criteria andCgqslBetween(Integer value1, Integer value2) {
- addCriterion("CGQSL between", value1, value2, "cgqsl");
- return this;
- }
- public Criteria andCgqslNotBetween(Integer value1, Integer value2) {
- addCriterion("CGQSL not between", value1, value2, "cgqsl");
- return this;
- }
- public Criteria andCgqnrIsNull() {
- addCriterion("CGQNR is null");
- return this;
- }
- public Criteria andCgqnrIsNotNull() {
- addCriterion("CGQNR is not null");
- return this;
- }
- public Criteria andCgqnrEqualTo(String value) {
- addCriterion("CGQNR =", value, "cgqnr");
- return this;
- }
- public Criteria andCgqnrNotEqualTo(String value) {
- addCriterion("CGQNR <>", value, "cgqnr");
- return this;
- }
- public Criteria andCgqnrGreaterThan(String value) {
- addCriterion("CGQNR >", value, "cgqnr");
- return this;
- }
- public Criteria andCgqnrGreaterThanOrEqualTo(String value) {
- addCriterion("CGQNR >=", value, "cgqnr");
- return this;
- }
- public Criteria andCgqnrLessThan(String value) {
- addCriterion("CGQNR <", value, "cgqnr");
- return this;
- }
- public Criteria andCgqnrLessThanOrEqualTo(String value) {
- addCriterion("CGQNR <=", value, "cgqnr");
- return this;
- }
- public Criteria andCgqnrLike(String value) {
- addCriterion("CGQNR like", value, "cgqnr");
- return this;
- }
- public Criteria andCgqnrNotLike(String value) {
- addCriterion("CGQNR not like", value, "cgqnr");
- return this;
- }
- public Criteria andCgqnrIn(List<String> values) {
- addCriterion("CGQNR in", values, "cgqnr");
- return this;
- }
- public Criteria andCgqnrNotIn(List<String> values) {
- addCriterion("CGQNR not in", values, "cgqnr");
- return this;
- }
- public Criteria andCgqnrBetween(String value1, String value2) {
- addCriterion("CGQNR between", value1, value2, "cgqnr");
- return this;
- }
- public Criteria andCgqnrNotBetween(String value1, String value2) {
- addCriterion("CGQNR not between", value1, value2, "cgqnr");
- 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<Date> values) {
- addCriterion("SCSJ in", values, "scsj");
- return this;
- }
- public Criteria andScsjNotIn(List<Date> 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;
- }
- }
- }
|