package com.huimv.xx.dataobject; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; public class XxTjfxExample { /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ protected String orderByClause; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ protected List oredCriteria; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ protected int start = -1; /** * This field was generated by Apache iBATIS ibator. * This field corresponds to the database table xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ protected int limit = -1; /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ public XxTjfxExample() { oredCriteria = new ArrayList(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ protected XxTjfxExample(XxTjfxExample example) { this.orderByClause = example.orderByClause; this.oredCriteria = example.oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ public List getOredCriteria() { return oredCriteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ 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 xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ public void clear() { oredCriteria.clear(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ public void setStart(int start) { this.start=start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ public int getStart() { return start; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ public void setLimit(int limit) { this.limit=limit; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ public int getLimit() { return limit; } /** * This class was generated by Apache iBATIS ibator. * This class corresponds to the database table xx_tjfx * * @ibatorgenerated Fri Nov 13 19:51:54 CST 2015 */ 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 andTimestampIsNull() { addCriterion("timestamp is null"); return this; } public Criteria andTimestampIsNotNull() { addCriterion("timestamp is not null"); return this; } public Criteria andTimestampEqualTo(String value) { addCriterion("timestamp =", value, "timestamp"); return this; } public Criteria andTimestampNotEqualTo(String value) { addCriterion("timestamp <>", value, "timestamp"); return this; } public Criteria andTimestampGreaterThan(String value) { addCriterion("timestamp >", value, "timestamp"); return this; } public Criteria andTimestampGreaterThanOrEqualTo(String value) { addCriterion("timestamp >=", value, "timestamp"); return this; } public Criteria andTimestampLessThan(String value) { addCriterion("timestamp <", value, "timestamp"); return this; } public Criteria andTimestampLessThanOrEqualTo(String value) { addCriterion("timestamp <=", value, "timestamp"); return this; } public Criteria andTimestampLike(String value) { addCriterion("timestamp like", value, "timestamp"); return this; } public Criteria andTimestampNotLike(String value) { addCriterion("timestamp not like", value, "timestamp"); return this; } public Criteria andTimestampIn(List values) { addCriterion("timestamp in", values, "timestamp"); return this; } public Criteria andTimestampNotIn(List values) { addCriterion("timestamp not in", values, "timestamp"); return this; } public Criteria andTimestampBetween(String value1, String value2) { addCriterion("timestamp between", value1, value2, "timestamp"); return this; } public Criteria andTimestampNotBetween(String value1, String value2) { addCriterion("timestamp not between", value1, value2, "timestamp"); return this; } public Criteria andBtIsNull() { addCriterion("bt is null"); return this; } public Criteria andBtIsNotNull() { addCriterion("bt is not null"); return this; } public Criteria andBtEqualTo(String value) { addCriterion("bt =", value, "bt"); return this; } public Criteria andBtNotEqualTo(String value) { addCriterion("bt <>", value, "bt"); return this; } public Criteria andBtGreaterThan(String value) { addCriterion("bt >", value, "bt"); return this; } public Criteria andBtGreaterThanOrEqualTo(String value) { addCriterion("bt >=", value, "bt"); return this; } public Criteria andBtLessThan(String value) { addCriterion("bt <", value, "bt"); return this; } public Criteria andBtLessThanOrEqualTo(String value) { addCriterion("bt <=", value, "bt"); return this; } public Criteria andBtLike(String value) { addCriterion("bt like", value, "bt"); return this; } public Criteria andBtNotLike(String value) { addCriterion("bt not like", value, "bt"); return this; } public Criteria andBtIn(List values) { addCriterion("bt in", values, "bt"); return this; } public Criteria andBtNotIn(List values) { addCriterion("bt not in", values, "bt"); return this; } public Criteria andBtBetween(String value1, String value2) { addCriterion("bt between", value1, value2, "bt"); return this; } public Criteria andBtNotBetween(String value1, String value2) { addCriterion("bt not between", value1, value2, "bt"); return this; } public Criteria andZyIsNull() { addCriterion("zy is null"); return this; } public Criteria andZyIsNotNull() { addCriterion("zy is not null"); return this; } public Criteria andZyEqualTo(String value) { addCriterion("zy =", value, "zy"); return this; } public Criteria andZyNotEqualTo(String value) { addCriterion("zy <>", value, "zy"); return this; } public Criteria andZyGreaterThan(String value) { addCriterion("zy >", value, "zy"); return this; } public Criteria andZyGreaterThanOrEqualTo(String value) { addCriterion("zy >=", value, "zy"); return this; } public Criteria andZyLessThan(String value) { addCriterion("zy <", value, "zy"); return this; } public Criteria andZyLessThanOrEqualTo(String value) { addCriterion("zy <=", value, "zy"); return this; } public Criteria andZyLike(String value) { addCriterion("zy like", value, "zy"); return this; } public Criteria andZyNotLike(String value) { addCriterion("zy not like", value, "zy"); return this; } public Criteria andZyIn(List values) { addCriterion("zy in", values, "zy"); return this; } public Criteria andZyNotIn(List values) { addCriterion("zy not in", values, "zy"); return this; } public Criteria andZyBetween(String value1, String value2) { addCriterion("zy between", value1, value2, "zy"); return this; } public Criteria andZyNotBetween(String value1, String value2) { addCriterion("zy not between", value1, value2, "zy"); return this; } public Criteria andZwIsNull() { addCriterion("zw is null"); return this; } public Criteria andZwIsNotNull() { addCriterion("zw is not null"); return this; } public Criteria andZwEqualTo(String value) { addCriterion("zw =", value, "zw"); return this; } public Criteria andZwNotEqualTo(String value) { addCriterion("zw <>", value, "zw"); return this; } public Criteria andZwGreaterThan(String value) { addCriterion("zw >", value, "zw"); return this; } public Criteria andZwGreaterThanOrEqualTo(String value) { addCriterion("zw >=", value, "zw"); return this; } public Criteria andZwLessThan(String value) { addCriterion("zw <", value, "zw"); return this; } public Criteria andZwLessThanOrEqualTo(String value) { addCriterion("zw <=", value, "zw"); return this; } public Criteria andZwLike(String value) { addCriterion("zw like", value, "zw"); return this; } public Criteria andZwNotLike(String value) { addCriterion("zw not like", value, "zw"); return this; } public Criteria andZwIn(List values) { addCriterion("zw in", values, "zw"); return this; } public Criteria andZwNotIn(List values) { addCriterion("zw not in", values, "zw"); return this; } public Criteria andZwBetween(String value1, String value2) { addCriterion("zw between", value1, value2, "zw"); return this; } public Criteria andZwNotBetween(String value1, String value2) { addCriterion("zw not between", value1, value2, "zw"); return this; } public Criteria andFmIsNull() { addCriterion("fm is null"); return this; } public Criteria andFmIsNotNull() { addCriterion("fm is not null"); return this; } public Criteria andFmEqualTo(String value) { addCriterion("fm =", value, "fm"); return this; } public Criteria andFmNotEqualTo(String value) { addCriterion("fm <>", value, "fm"); return this; } public Criteria andFmGreaterThan(String value) { addCriterion("fm >", value, "fm"); return this; } public Criteria andFmGreaterThanOrEqualTo(String value) { addCriterion("fm >=", value, "fm"); return this; } public Criteria andFmLessThan(String value) { addCriterion("fm <", value, "fm"); return this; } public Criteria andFmLessThanOrEqualTo(String value) { addCriterion("fm <=", value, "fm"); return this; } public Criteria andFmLike(String value) { addCriterion("fm like", value, "fm"); return this; } public Criteria andFmNotLike(String value) { addCriterion("fm not like", value, "fm"); return this; } public Criteria andFmIn(List values) { addCriterion("fm in", values, "fm"); return this; } public Criteria andFmNotIn(List values) { addCriterion("fm not in", values, "fm"); return this; } public Criteria andFmBetween(String value1, String value2) { addCriterion("fm between", value1, value2, "fm"); return this; } public Criteria andFmNotBetween(String value1, String value2) { addCriterion("fm not between", value1, value2, "fm"); return this; } } }