content: package com.alibaba.tesla.action.dao;
  
  import java.util.ArrayList;
  import java.util.List;
  
  /**
   * This class was generated by Ali-Generator
   * @author bang
   */
  public class ActionExample {
      /**
       *
       * @mbg.generated
       */
      protected String orderByClause;
  
      /**
       *
       * @mbg.generated
       */
      @Deprecated
      protected boolean distinct;
  
      /**
       *
       * @mbg.generated
       */
      protected boolean page;
  
      /**
       *
       * @mbg.generated
       */
      protected int pageIndex;
  
      /**
       *
       * @mbg.generated
       */
      protected int pageSize;
  
      /**
       *
       * @mbg.generated
       */
      protected int pageStart;
  
      /**
       *
       * @mbg.generated
       */
      protected String distinctSql;
  
      /**
       *
       * @mbg.generated
       */
      protected List<Criteria> oredCriteria;
  
      /**
       *
       * @mbg.generated
       */
      public ActionExample() {
          oredCriteria = new ArrayList<Criteria>();
      }
  
      /**
       * @param orderCondition
       * @param sortType
       * @return
       *
       * @mbg.generated
       */
      public ActionExample appendOrderByClause(OrderCondition orderCondition, SortType sortType) {
          if (null != orderByClause) {
              orderByClause = orderByClause + ", " + orderCondition.getColumnName() + " " + sortType.getValue();
          } else {
              orderByClause = orderCondition.getColumnName() + " " + sortType.getValue();
          }
          return this;
      }
  
      /**
       * @return
       *
       * @mbg.generated
       */
      public String getOrderByClause() {
          return orderByClause;
      }
  
      /**
       * @param distinct
       *
       * @mbg.generated
       */
      @Deprecated
      public void setDistinct(boolean distinct) {
          this.distinct = distinct;
      }
  
      /**
       * @return
       *
       * @mbg.generated
       */
      @Deprecated
      public boolean isDistinct() {
          return distinct;
      }
  
      /**
       * @param page
       * @return
       *
       * @mbg.generated
       */
      public ActionExample setPage(boolean page) {
          this.page = page;
          return this;
      }
  
      /**
       * @return
       *
       * @mbg.generated
       */
      public boolean isPage() {
          return page;
      }
  
      /**
       * @return
       *
       * @mbg.generated
       */
      public int getPageIndex() {
          return pageIndex;
      }
  
      /**
       * @param pageSize
       * @return
       *
       * @mbg.generated
       */
      public ActionExample setPageSize(int pageSize) {
          this.pageSize = pageSize < 1 ? 10 : pageSize;
          this.pageIndex = pageStart < 1 ? 0 : (pageStart - 1) * this.pageSize;
          return this;
      }
  
      /**
       * @return
       *
       * @mbg.generated
       */
      public int getPageSize() {
          return pageSize;
      }
  
      /**
       * @param pageStart
       * @return
       *
       * @mbg.generated
       */
      public ActionExample setPageStart(int pageStart) {
          this.pageStart = pageStart < 1 ? 1 : pageStart;
          this.pageIndex = (this.pageStart - 1) * this.pageSize;
          return this;
      }
  
      /**
       * @return
       *
       * @mbg.generated
       */
      public int getPageStart() {
          return pageStart;
      }
  
      /**
       * @param pageStart
       * @param pageSize
       *
       * @mbg.generated
       */
      public void setPagination(int pageStart, int pageSize) {
          this.page = true;
          this.pageSize = pageSize < 1 ? 10 : pageSize;
          this.pageIndex = pageStart < 1 ? 0 : (pageStart - 1) * this.pageSize;
      }
  
      /**
       * @param condition
       * @return
       *
       * @mbg.generated
       */
      public ActionExample appendDistinct(OrderCondition condition) {
          if (null != distinctSql){
              distinctSql = distinctSql + ", " + condition.getColumnName();
          } else {
              distinctSql = condition.getColumnName();
          }
          return this;
      }
  
      /**
       * @return
       *
       * @mbg.generated
       */
      public List<Criteria> getOredCriteria() {
          return oredCriteria;
      }
  
      /**
       * @param criteria
       *
       * @mbg.generated
       */
      public void or(Criteria criteria) {
          oredCriteria.add(criteria);
      }
  
      /**
       * @return
       *
       * @mbg.generated
       */
      public Criteria or() {
          Criteria criteria = createCriteriaInternal();
          oredCriteria.add(criteria);
          return criteria;
      }
  
      /**
       * @return
       *
       * @mbg.generated
       */
      public Criteria createCriteria() {
          Criteria criteria = createCriteriaInternal();
          if (oredCriteria.size() == 0) {
              oredCriteria.add(criteria);
          }
          return criteria;
      }
  
      /**
       * @return
       *
       * @mbg.generated
       */
      protected Criteria createCriteriaInternal() {
          Criteria criteria = new Criteria();
          return criteria;
      }
  
      /**
       *
       * @mbg.generated
       */
      public void clear() {
          oredCriteria.clear();
          orderByClause = null;
          distinct = false;
      }
  
      /**
       *
       * @mbg.generated
       */
      protected abstract static class AbstractGeneratedCriteria {
          protected List<Criterion> criteria;
  
          protected AbstractGeneratedCriteria() {
              super();
              criteria = new ArrayList<Criterion>();
          }
  
          public boolean isValid() {
              return criteria.size() > 0;
          }
  
          public List<Criterion> getAllCriteria() {
              return criteria;
          }
  
          public List<Criterion> getCriteria() {
              return criteria;
          }
  
          protected void addCriterion(String condition) {
              if (condition == null) {
                  throw new RuntimeException("Value for condition cannot be null");
              }
              criteria.add(new Criterion(condition));
          }
  
          protected void addCriterion(String condition, Object value, String property) {
              if (value == null) {
                  throw new RuntimeException("Value for " + property + " cannot be null");
              }
              criteria.add(new Criterion(condition, value));
          }
  
          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");
              }
              criteria.add(new Criterion(condition, value1, value2));
          }
  
          public Criteria andIdIsNull() {
              addCriterion("id is null");
              return (Criteria) this;
          }
  
          public Criteria andIdIsNotNull() {
              addCriterion("id is not null");
              return (Criteria) this;
          }
  
          public Criteria andIdEqualTo(Long value) {
              addCriterion("id =", value, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdNotEqualTo(Long value) {
              addCriterion("id <>", value, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdGreaterThan(Long value) {
              addCriterion("id >", value, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdGreaterThanOrEqualTo(Long value) {
              addCriterion("id >=", value, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdLessThan(Long value) {
              addCriterion("id <", value, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdLessThanOrEqualTo(Long value) {
              addCriterion("id <=", value, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdIn(List<Long> values) {
              addCriterion("id in", values, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdNotIn(List<Long> values) {
              addCriterion("id not in", values, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdBetween(Long value1, Long value2) {
              addCriterion("id between", value1, value2, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdNotBetween(Long value1, Long value2) {
              addCriterion("id not between", value1, value2, "id");
              return (Criteria) this;
          }
  
          public Criteria andAppCodeIsNull() {
              addCriterion("app_code is null");
              return (Criteria) this;
          }
  
          public Criteria andAppCodeIsNotNull() {
              addCriterion("app_code is not null");
              return (Criteria) this;
          }
  
          public Criteria andAppCodeEqualTo(String value) {
              addCriterion("app_code =", value, "appCode");
              return (Criteria) this;
          }
  
          public Criteria andAppCodeNotEqualTo(String value) {
              addCriterion("app_code <>", value, "appCode");
              return (Criteria) this;
          }
  
          public Criteria andAppCodeGreaterThan(String value) {
              addCriterion("app_code >", value, "appCode");
              return (Criteria) this;
          }
  
          public Criteria andAppCodeGreaterThanOrEqualTo(String value) {
              addCriterion("app_code >=", value, "appCode");
              return (Criteria) this;
          }
  
          public Criteria andAppCodeLessThan(String value) {
              addCriterion("app_code <", value, "appCode");
              return (Criteria) this;
          }
  
          public Criteria andAppCodeLessThanOrEqualTo(String value) {
              addCriterion("app_code <=", value, "appCode");
              return (Criteria) this;
          }
  
          public Criteria andAppCodeLike(String value) {
              addCriterion("app_code like", value, "appCode");
              return (Criteria) this;
          }
  
          public Criteria andAppCodeNotLike(String value) {
              addCriterion("app_code not like", value, "appCode");
              return (Criteria) this;
          }
  
          public Criteria andAppCodeIn(List<String> values) {
              addCriterion("app_code in", values, "appCode");
              return (Criteria) this;
          }
  
          public Criteria andAppCodeNotIn(List<String> values) {
              addCriterion("app_code not in", values, "appCode");
              return (Criteria) this;
          }
  
          public Criteria andAppCodeBetween(String value1, String value2) {
              addCriterion("app_code between", value1, value2, "appCode");
              return (Criteria) this;
          }
  
          public Criteria andAppCodeNotBetween(String value1, String value2) {
              addCriterion("app_code not between", value1, value2, "appCode");
              return (Criteria) this;
          }
  
          public Criteria andActionIdIsNull() {
              addCriterion("action_id is null");
              return (Criteria) this;
          }
  
          public Criteria andActionIdIsNotNull() {
              addCriterion("action_id is not null");
              return (Criteria) this;
          }
  
          public Criteria andActionIdEqualTo(Long value) {
              addCriterion("action_id =", value, "actionId");
              return (Criteria) this;
          }
  
          public Criteria andActionIdNotEqualTo(Long value) {
              addCriterion("action_id <>", value, "actionId");
              return (Criteria) this;
          }
  
          public Criteria andActionIdGreaterThan(Long value) {
              addCriterion("action_id >", value, "actionId");
              return (Criteria) this;
          }
  
          public Criteria andActionIdGreaterThanOrEqualTo(Long value) {
              addCriterion("action_id >=", value, "actionId");
              return (Criteria) this;
          }
  
          public Criteria andActionIdLessThan(Long value) {
              addCriterion("action_id <", value, "actionId");
              return (Criteria) this;
          }
  
          public Criteria andActionIdLessThanOrEqualTo(Long value) {
              addCriterion("action_id <=", value, "actionId");
              return (Criteria) this;
          }
  
          public Criteria andActionIdIn(List<Long> values) {
              addCriterion("action_id in", values, "actionId");
              return (Criteria) this;
          }
  
          public Criteria andActionIdNotIn(List<Long> values) {
              addCriterion("action_id not in", values, "actionId");
              return (Criteria) this;
          }
  
          public Criteria andActionIdBetween(Long value1, Long value2) {
              addCriterion("action_id between", value1, value2, "actionId");
              return (Criteria) this;
          }
  
          public Criteria andActionIdNotBetween(Long value1, Long value2) {
              addCriterion("action_id not between", value1, value2, "actionId");
              return (Criteria) this;
          }
  
          public Criteria andElementIdIsNull() {
              addCriterion("element_id is null");
              return (Criteria) this;
          }
  
          public Criteria andElementIdIsNotNull() {
              addCriterion("element_id is not null");
              return (Criteria) this;
          }
  
          public Criteria andElementIdEqualTo(String value) {
              addCriterion("element_id =", value, "elementId");
              return (Criteria) this;
          }
  
          public Criteria andElementIdNotEqualTo(String value) {
              addCriterion("element_id <>", value, "elementId");
              return (Criteria) this;
          }
  
          public Criteria andElementIdGreaterThan(String value) {
              addCriterion("element_id >", value, "elementId");
              return (Criteria) this;
          }
  
          public Criteria andElementIdGreaterThanOrEqualTo(String value) {
              addCriterion("element_id >=", value, "elementId");
              return (Criteria) this;
          }
  
          public Criteria andElementIdLessThan(String value) {
              addCriterion("element_id <", value, "elementId");
              return (Criteria) this;
          }
  
          public Criteria andElementIdLessThanOrEqualTo(String value) {
              addCriterion("element_id <=", value, "elementId");
              return (Criteria) this;
          }
  
          public Criteria andElementIdLike(String value) {
              addCriterion("element_id like", value, "elementId");
              return (Criteria) this;
          }
  
          public Criteria andElementIdNotLike(String value) {
              addCriterion("element_id not like", value, "elementId");
              return (Criteria) this;
          }
  
          public Criteria andElementIdIn(List<String> values) {
              addCriterion("element_id in", values, "elementId");
              return (Criteria) this;
          }
  
          public Criteria andElementIdNotIn(List<String> values) {
              addCriterion("element_id not in", values, "elementId");
              return (Criteria) this;
          }
  
          public Criteria andElementIdBetween(String value1, String value2) {
              addCriterion("element_id between", value1, value2, "elementId");
              return (Criteria) this;
          }
  
          public Criteria andElementIdNotBetween(String value1, String value2) {
              addCriterion("element_id not between", value1, value2, "elementId");
              return (Criteria) this;
          }
  
          public Criteria andActionTypeIsNull() {
              addCriterion("action_type is null");
              return (Criteria) this;
          }
  
          public Criteria andActionTypeIsNotNull() {
              addCriterion("action_type is not null");
              return (Criteria) this;
          }
  
          public Criteria andActionTypeEqualTo(String value) {
              addCriterion("action_type =", value, "actionType");
              return (Criteria) this;
          }
  
          public Criteria andActionTypeNotEqualTo(String value) {
              addCriterion("action_type <>", value, "actionType");
              return (Criteria) this;
          }
  
          public Criteria andActionTypeGreaterThan(String value) {
              addCriterion("action_type >", value, "actionType");
              return (Criteria) this;
          }
  
          public Criteria andActionTypeGreaterThanOrEqualTo(String value) {
              addCriterion("action_type >=", value, "actionType");
              return (Criteria) this;
          }
  
          public Criteria andActionTypeLessThan(String value) {
              addCriterion("action_type <", value, "actionType");
              return (Criteria) this;
          }
  
          public Criteria andActionTypeLessThanOrEqualTo(String value) {
              addCriterion("action_type <=", value, "actionType");
              return (Criteria) this;
          }
  
          public Criteria andActionTypeLike(String value) {
              addCriterion("action_type like", value, "actionType");
              return (Criteria) this;
          }
  
          public Criteria andActionTypeNotLike(String value) {
              addCriterion("action_type not like", value, "actionType");
              return (Criteria) this;
          }
  
          public Criteria andActionTypeIn(List<String> values) {
              addCriterion("action_type in", values, "actionType");
              return (Criteria) this;
          }
  
          public Criteria andActionTypeNotIn(List<String> values) {
              addCriterion("action_type not in", values, "actionType");
              return (Criteria) this;
          }
  
          public Criteria andActionTypeBetween(String value1, String value2) {
              addCriterion("action_type between", value1, value2, "actionType");
              return (Criteria) this;
          }
  
          public Criteria andActionTypeNotBetween(String value1, String value2) {
              addCriterion("action_type not between", value1, value2, "actionType");
              return (Criteria) this;
          }
  
          public Criteria andActionNameIsNull() {
              addCriterion("action_name is null");
              return (Criteria) this;
          }
  
          public Criteria andActionNameIsNotNull() {
              addCriterion("action_name is not null");
              return (Criteria) this;
          }
  
          public Criteria andActionNameEqualTo(String value) {
              addCriterion("action_name =", value, "actionName");
              return (Criteria) this;
          }
  
          public Criteria andActionNameNotEqualTo(String value) {
              addCriterion("action_name <>", value, "actionName");
              return (Criteria) this;
          }
  
          public Criteria andActionNameGreaterThan(String value) {
              addCriterion("action_name >", value, "actionName");
              return (Criteria) this;
          }
  
          public Criteria andActionNameGreaterThanOrEqualTo(String value) {
              addCriterion("action_name >=", value, "actionName");
              return (Criteria) this;
          }
  
          public Criteria andActionNameLessThan(String value) {
              addCriterion("action_name <", value, "actionName");
              return (Criteria) this;
          }
  
          public Criteria andActionNameLessThanOrEqualTo(String value) {
              addCriterion("action_name <=", value, "actionName");
              return (Criteria) this;
          }
  
          public Criteria andActionNameLike(String value) {
              addCriterion("action_name like", value, "actionName");
              return (Criteria) this;
          }
  
          public Criteria andActionNameNotLike(String value) {
              addCriterion("action_name not like", value, "actionName");
              return (Criteria) this;
          }
  
          public Criteria andActionNameIn(List<String> values) {
              addCriterion("action_name in", values, "actionName");
              return (Criteria) this;
          }
  
          public Criteria andActionNameNotIn(List<String> values) {
              addCriterion("action_name not in", values, "actionName");
              return (Criteria) this;
          }
  
          public Criteria andActionNameBetween(String value1, String value2) {
              addCriterion("action_name between", value1, value2, "actionName");
              return (Criteria) this;
          }
  
          public Criteria andActionNameNotBetween(String value1, String value2) {
              addCriterion("action_name not between", value1, value2, "actionName");
              return (Criteria) this;
          }
  
          public Criteria andActionLabelIsNull() {
              addCriterion("action_label is null");
              return (Criteria) this;
          }
  
          public Criteria andActionLabelIsNotNull() {
              addCriterion("action_label is not null");
              return (Criteria) this;
          }
  
          public Criteria andActionLabelEqualTo(String value) {
              addCriterion("action_label =", value, "actionLabel");
              return (Criteria) this;
          }
  
          public Criteria andActionLabelNotEqualTo(String value) {
              addCriterion("action_label <>", value, "actionLabel");
              return (Criteria) this;
          }
  
          public Criteria andActionLabelGreaterThan(String value) {
              addCriterion("action_label >", value, "actionLabel");
              return (Criteria) this;
          }
  
          public Criteria andActionLabelGreaterThanOrEqualTo(String value) {
              addCriterion("action_label >=", value, "actionLabel");
              return (Criteria) this;
          }
  
          public Criteria andActionLabelLessThan(String value) {
              addCriterion("action_label <", value, "actionLabel");
              return (Criteria) this;
          }
  
          public Criteria andActionLabelLessThanOrEqualTo(String value) {
              addCriterion("action_label <=", value, "actionLabel");
              return (Criteria) this;
          }
  
          public Criteria andActionLabelLike(String value) {
              addCriterion("action_label like", value, "actionLabel");
              return (Criteria) this;
          }
  
          public Criteria andActionLabelNotLike(String value) {
              addCriterion("action_label not like", value, "actionLabel");
              return (Criteria) this;
          }
  
          public Criteria andActionLabelIn(List<String> values) {
              addCriterion("action_label in", values, "actionLabel");
              return (Criteria) this;
          }
  
          public Criteria andActionLabelNotIn(List<String> values) {
              addCriterion("action_label not in", values, "actionLabel");
              return (Criteria) this;
          }
  
          public Criteria andActionLabelBetween(String value1, String value2) {
              addCriterion("action_label between", value1, value2, "actionLabel");
              return (Criteria) this;
          }
  
          public Criteria andActionLabelNotBetween(String value1, String value2) {
              addCriterion("action_label not between", value1, value2, "actionLabel");
              return (Criteria) this;
          }
  
          public Criteria andNodeIsNull() {
              addCriterion("node is null");
              return (Criteria) this;
          }
  
          public Criteria andNodeIsNotNull() {
              addCriterion("node is not null");
              return (Criteria) this;
          }
  
          public Criteria andNodeEqualTo(String value) {
              addCriterion("node =", value, "node");
              return (Criteria) this;
          }
  
          public Criteria andNodeNotEqualTo(String value) {
              addCriterion("node <>", value, "node");
              return (Criteria) this;
          }
  
          public Criteria andNodeGreaterThan(String value) {
              addCriterion("node >", value, "node");
              return (Criteria) this;
          }
  
          public Criteria andNodeGreaterThanOrEqualTo(String value) {
              addCriterion("node >=", value, "node");
              return (Criteria) this;
          }
  
          public Criteria andNodeLessThan(String value) {
              addCriterion("node <", value, "node");
              return (Criteria) this;
          }
  
          public Criteria andNodeLessThanOrEqualTo(String value) {
              addCriterion("node <=", value, "node");
              return (Criteria) this;
          }
  
          public Criteria andNodeLike(String value) {
              addCriterion("node like", value, "node");
              return (Criteria) this;
          }
  
          public Criteria andNodeNotLike(String value) {
              addCriterion("node not like", value, "node");
              return (Criteria) this;
          }
  
          public Criteria andNodeIn(List<String> values) {
              addCriterion("node in", values, "node");
              return (Criteria) this;
          }
  
          public Criteria andNodeNotIn(List<String> values) {
              addCriterion("node not in", values, "node");
              return (Criteria) this;
          }
  
          public Criteria andNodeBetween(String value1, String value2) {
              addCriterion("node between", value1, value2, "node");
              return (Criteria) this;
          }
  
          public Criteria andNodeNotBetween(String value1, String value2) {
              addCriterion("node not between", value1, value2, "node");
              return (Criteria) this;
          }
  
          public Criteria andEntityTypeIsNull() {
              addCriterion("entity_type is null");
              return (Criteria) this;
          }
  
          public Criteria andEntityTypeIsNotNull() {
              addCriterion("entity_type is not null");
              return (Criteria) this;
          }
  
          public Criteria andEntityTypeEqualTo(String value) {
              addCriterion("entity_type =", value, "entityType");
              return (Criteria) this;
          }
  
          public Criteria andEntityTypeNotEqualTo(String value) {
              addCriterion("entity_type <>", value, "entityType");
              return (Criteria) this;
          }
  
          public Criteria andEntityTypeGreaterThan(String value) {
              addCriterion("entity_type >", value, "entityType");
              return (Criteria) this;
          }
  
          public Criteria andEntityTypeGreaterThanOrEqualTo(String value) {
              addCriterion("entity_type >=", value, "entityType");
              return (Criteria) this;
          }
  
          public Criteria andEntityTypeLessThan(String value) {
              addCriterion("entity_type <", value, "entityType");
              return (Criteria) this;
          }
  
          public Criteria andEntityTypeLessThanOrEqualTo(String value) {
              addCriterion("entity_type <=", value, "entityType");
              return (Criteria) this;
          }
  
          public Criteria andEntityTypeLike(String value) {
              addCriterion("entity_type like", value, "entityType");
              return (Criteria) this;
          }
  
          public Criteria andEntityTypeNotLike(String value) {
              addCriterion("entity_type not like", value, "entityType");
              return (Criteria) this;
          }
  
          public Criteria andEntityTypeIn(List<String> values) {
              addCriterion("entity_type in", values, "entityType");
              return (Criteria) this;
          }
  
          public Criteria andEntityTypeNotIn(List<String> values) {
              addCriterion("entity_type not in", values, "entityType");
              return (Criteria) this;
          }
  
          public Criteria andEntityTypeBetween(String value1, String value2) {
              addCriterion("entity_type between", value1, value2, "entityType");
              return (Criteria) this;
          }
  
          public Criteria andEntityTypeNotBetween(String value1, String value2) {
              addCriterion("entity_type not between", value1, value2, "entityType");
              return (Criteria) this;
          }
  
          public Criteria andEntityValueIsNull() {
              addCriterion("entity_value is null");
              return (Criteria) this;
          }
  
          public Criteria andEntityValueIsNotNull() {
              addCriterion("entity_value is not null");
              return (Criteria) this;
          }
  
          public Criteria andEntityValueEqualTo(String value) {
              addCriterion("entity_value =", value, "entityValue");
              return (Criteria) this;
          }
  
          public Criteria andEntityValueNotEqualTo(String value) {
              addCriterion("entity_value <>", value, "entityValue");
              return (Criteria) this;
          }
  
          public Criteria andEntityValueGreaterThan(String value) {
              addCriterion("entity_value >", value, "entityValue");
              return (Criteria) this;
          }
  
          public Criteria andEntityValueGreaterThanOrEqualTo(String value) {
              addCriterion("entity_value >=", value, "entityValue");
              return (Criteria) this;
          }
  
          public Criteria andEntityValueLessThan(String value) {
              addCriterion("entity_value <", value, "entityValue");
              return (Criteria) this;
          }
  
          public Criteria andEntityValueLessThanOrEqualTo(String value) {
              addCriterion("entity_value <=", value, "entityValue");
              return (Criteria) this;
          }
  
          public Criteria andEntityValueLike(String value) {
              addCriterion("entity_value like", value, "entityValue");
              return (Criteria) this;
          }
  
          public Criteria andEntityValueNotLike(String value) {
              addCriterion("entity_value not like", value, "entityValue");
              return (Criteria) this;
          }
  
          public Criteria andEntityValueIn(List<String> values) {
              addCriterion("entity_value in", values, "entityValue");
              return (Criteria) this;
          }
  
          public Criteria andEntityValueNotIn(List<String> values) {
              addCriterion("entity_value not in", values, "entityValue");
              return (Criteria) this;
          }
  
          public Criteria andEntityValueBetween(String value1, String value2) {
              addCriterion("entity_value between", value1, value2, "entityValue");
              return (Criteria) this;
          }
  
          public Criteria andEntityValueNotBetween(String value1, String value2) {
              addCriterion("entity_value not between", value1, value2, "entityValue");
              return (Criteria) this;
          }
  
          public Criteria andStatusIsNull() {
              addCriterion("status is null");
              return (Criteria) this;
          }
  
          public Criteria andStatusIsNotNull() {
              addCriterion("status is not null");
              return (Criteria) this;
          }
  
          public Criteria andStatusEqualTo(String value) {
              addCriterion("status =", value, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusNotEqualTo(String value) {
              addCriterion("status <>", value, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusGreaterThan(String value) {
              addCriterion("status >", value, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusGreaterThanOrEqualTo(String value) {
              addCriterion("status >=", value, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusLessThan(String value) {
              addCriterion("status <", value, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusLessThanOrEqualTo(String value) {
              addCriterion("status <=", value, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusLike(String value) {
              addCriterion("status like", value, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusNotLike(String value) {
              addCriterion("status not like", value, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusIn(List<String> values) {
              addCriterion("status in", values, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusNotIn(List<String> values) {
              addCriterion("status not in", values, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusBetween(String value1, String value2) {
              addCriterion("status between", value1, value2, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusNotBetween(String value1, String value2) {
              addCriterion("status not between", value1, value2, "status");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeIsNull() {
              addCriterion("create_time is null");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeIsNotNull() {
              addCriterion("create_time is not null");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeEqualTo(Long value) {
              addCriterion("create_time =", value, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeNotEqualTo(Long value) {
              addCriterion("create_time <>", value, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeGreaterThan(Long value) {
              addCriterion("create_time >", value, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeGreaterThanOrEqualTo(Long value) {
              addCriterion("create_time >=", value, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeLessThan(Long value) {
              addCriterion("create_time <", value, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeLessThanOrEqualTo(Long value) {
              addCriterion("create_time <=", value, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeIn(List<Long> values) {
              addCriterion("create_time in", values, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeNotIn(List<Long> values) {
              addCriterion("create_time not in", values, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeBetween(Long value1, Long value2) {
              addCriterion("create_time between", value1, value2, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeNotBetween(Long value1, Long value2) {
              addCriterion("create_time not between", value1, value2, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andStartTimeIsNull() {
              addCriterion("start_time is null");
              return (Criteria) this;
          }
  
          public Criteria andStartTimeIsNotNull() {
              addCriterion("start_time is not null");
              return (Criteria) this;
          }
  
          public Criteria andStartTimeEqualTo(Long value) {
              addCriterion("start_time =", value, "startTime");
              return (Criteria) this;
          }
  
          public Criteria andStartTimeNotEqualTo(Long value) {
              addCriterion("start_time <>", value, "startTime");
              return (Criteria) this;
          }
  
          public Criteria andStartTimeGreaterThan(Long value) {
              addCriterion("start_time >", value, "startTime");
              return (Criteria) this;
          }
  
          public Criteria andStartTimeGreaterThanOrEqualTo(Long value) {
              addCriterion("start_time >=", value, "startTime");
              return (Criteria) this;
          }
  
          public Criteria andStartTimeLessThan(Long value) {
              addCriterion("start_time <", value, "startTime");
              return (Criteria) this;
          }
  
          public Criteria andStartTimeLessThanOrEqualTo(Long value) {
              addCriterion("start_time <=", value, "startTime");
              return (Criteria) this;
          }
  
          public Criteria andStartTimeIn(List<Long> values) {
              addCriterion("start_time in", values, "startTime");
              return (Criteria) this;
          }
  
          public Criteria andStartTimeNotIn(List<Long> values) {
              addCriterion("start_time not in", values, "startTime");
              return (Criteria) this;
          }
  
          public Criteria andStartTimeBetween(Long value1, Long value2) {
              addCriterion("start_time between", value1, value2, "startTime");
              return (Criteria) this;
          }
  
          public Criteria andStartTimeNotBetween(Long value1, Long value2) {
              addCriterion("start_time not between", value1, value2, "startTime");
              return (Criteria) this;
          }
  
          public Criteria andEmpIdIsNull() {
              addCriterion("emp_id is null");
              return (Criteria) this;
          }
  
          public Criteria andEmpIdIsNotNull() {
              addCriterion("emp_id is not null");
              return (Criteria) this;
          }
  
          public Criteria andEmpIdEqualTo(String value) {
              addCriterion("emp_id =", value, "empId");
              return (Criteria) this;
          }
  
          public Criteria andEmpIdNotEqualTo(String value) {
              addCriterion("emp_id <>", value, "empId");
              return (Criteria) this;
          }
  
          public Criteria andEmpIdGreaterThan(String value) {
              addCriterion("emp_id >", value, "empId");
              return (Criteria) this;
          }
  
          public Criteria andEmpIdGreaterThanOrEqualTo(String value) {
              addCriterion("emp_id >=", value, "empId");
              return (Criteria) this;
          }
  
          public Criteria andEmpIdLessThan(String value) {
              addCriterion("emp_id <", value, "empId");
              return (Criteria) this;
          }
  
          public Criteria andEmpIdLessThanOrEqualTo(String value) {
              addCriterion("emp_id <=", value, "empId");
              return (Criteria) this;
          }
  
          public Criteria andEmpIdLike(String value) {
              addCriterion("emp_id like", value, "empId");
              return (Criteria) this;
          }
  
          public Criteria andEmpIdNotLike(String value) {
              addCriterion("emp_id not like", value, "empId");
              return (Criteria) this;
          }
  
          public Criteria andEmpIdIn(List<String> values) {
              addCriterion("emp_id in", values, "empId");
              return (Criteria) this;
          }
  
          public Criteria andEmpIdNotIn(List<String> values) {
              addCriterion("emp_id not in", values, "empId");
              return (Criteria) this;
          }
  
          public Criteria andEmpIdBetween(String value1, String value2) {
              addCriterion("emp_id between", value1, value2, "empId");
              return (Criteria) this;
          }
  
          public Criteria andEmpIdNotBetween(String value1, String value2) {
              addCriterion("emp_id not between", value1, value2, "empId");
              return (Criteria) this;
          }
  
          public Criteria andEndTimeIsNull() {
              addCriterion("end_time is null");
              return (Criteria) this;
          }
  
          public Criteria andEndTimeIsNotNull() {
              addCriterion("end_time is not null");
              return (Criteria) this;
          }
  
          public Criteria andEndTimeEqualTo(Long value) {
              addCriterion("end_time =", value, "endTime");
              return (Criteria) this;
          }
  
          public Criteria andEndTimeNotEqualTo(Long value) {
              addCriterion("end_time <>", value, "endTime");
              return (Criteria) this;
          }
  
          public Criteria andEndTimeGreaterThan(Long value) {
              addCriterion("end_time >", value, "endTime");
              return (Criteria) this;
          }
  
          public Criteria andEndTimeGreaterThanOrEqualTo(Long value) {
              addCriterion("end_time >=", value, "endTime");
              return (Criteria) this;
          }
  
          public Criteria andEndTimeLessThan(Long value) {
              addCriterion("end_time <", value, "endTime");
              return (Criteria) this;
          }
  
          public Criteria andEndTimeLessThanOrEqualTo(Long value) {
              addCriterion("end_time <=", value, "endTime");
              return (Criteria) this;
          }
  
          public Criteria andEndTimeIn(List<Long> values) {
              addCriterion("end_time in", values, "endTime");
              return (Criteria) this;
          }
  
          public Criteria andEndTimeNotIn(List<Long> values) {
              addCriterion("end_time not in", values, "endTime");
              return (Criteria) this;
          }
  
          public Criteria andEndTimeBetween(Long value1, Long value2) {
              addCriterion("end_time between", value1, value2, "endTime");
              return (Criteria) this;
          }
  
          public Criteria andEndTimeNotBetween(Long value1, Long value2) {
              addCriterion("end_time not between", value1, value2, "endTime");
              return (Criteria) this;
          }
  
          public Criteria andOrderIdIsNull() {
              addCriterion("order_id is null");
              return (Criteria) this;
          }
  
          public Criteria andOrderIdIsNotNull() {
              addCriterion("order_id is not null");
              return (Criteria) this;
          }
  
          public Criteria andOrderIdEqualTo(String value) {
              addCriterion("order_id =", value, "orderId");
              return (Criteria) this;
          }
  
          public Criteria andOrderIdNotEqualTo(String value) {
              addCriterion("order_id <>", value, "orderId");
              return (Criteria) this;
          }
  
          public Criteria andOrderIdGreaterThan(String value) {
              addCriterion("order_id >", value, "orderId");
              return (Criteria) this;
          }
  
          public Criteria andOrderIdGreaterThanOrEqualTo(String value) {
              addCriterion("order_id >=", value, "orderId");
              return (Criteria) this;
          }
  
          public Criteria andOrderIdLessThan(String value) {
              addCriterion("order_id <", value, "orderId");
              return (Criteria) this;
          }
  
          public Criteria andOrderIdLessThanOrEqualTo(String value) {
              addCriterion("order_id <=", value, "orderId");
              return (Criteria) this;
          }
  
          public Criteria andOrderIdLike(String value) {
              addCriterion("order_id like", value, "orderId");
              return (Criteria) this;
          }
  
          public Criteria andOrderIdNotLike(String value) {
              addCriterion("order_id not like", value, "orderId");
              return (Criteria) this;
          }
  
          public Criteria andOrderIdIn(List<String> values) {
              addCriterion("order_id in", values, "orderId");
              return (Criteria) this;
          }
  
          public Criteria andOrderIdNotIn(List<String> values) {
              addCriterion("order_id not in", values, "orderId");
              return (Criteria) this;
          }
  
          public Criteria andOrderIdBetween(String value1, String value2) {
              addCriterion("order_id between", value1, value2, "orderId");
              return (Criteria) this;
          }
  
          public Criteria andOrderIdNotBetween(String value1, String value2) {
              addCriterion("order_id not between", value1, value2, "orderId");
              return (Criteria) this;
          }
  
          public Criteria andSyncResultIsNull() {
              addCriterion("sync_result is null");
              return (Criteria) this;
          }
  
          public Criteria andSyncResultIsNotNull() {
              addCriterion("sync_result is not null");
              return (Criteria) this;
          }
  
          public Criteria andSyncResultEqualTo(Byte value) {
              addCriterion("sync_result =", value, "syncResult");
              return (Criteria) this;
          }
  
          public Criteria andSyncResultNotEqualTo(Byte value) {
              addCriterion("sync_result <>", value, "syncResult");
              return (Criteria) this;
          }
  
          public Criteria andSyncResultGreaterThan(Byte value) {
              addCriterion("sync_result >", value, "syncResult");
              return (Criteria) this;
          }
  
          public Criteria andSyncResultGreaterThanOrEqualTo(Byte value) {
              addCriterion("sync_result >=", value, "syncResult");
              return (Criteria) this;
          }
  
          public Criteria andSyncResultLessThan(Byte value) {
              addCriterion("sync_result <", value, "syncResult");
              return (Criteria) this;
          }
  
          public Criteria andSyncResultLessThanOrEqualTo(Byte value) {
              addCriterion("sync_result <=", value, "syncResult");
              return (Criteria) this;
          }
  
          public Criteria andSyncResultIn(List<Byte> values) {
              addCriterion("sync_result in", values, "syncResult");
              return (Criteria) this;
          }
  
          public Criteria andSyncResultNotIn(List<Byte> values) {
              addCriterion("sync_result not in", values, "syncResult");
              return (Criteria) this;
          }
  
          public Criteria andSyncResultBetween(Byte value1, Byte value2) {
              addCriterion("sync_result between", value1, value2, "syncResult");
              return (Criteria) this;
          }
  
          public Criteria andSyncResultNotBetween(Byte value1, Byte value2) {
              addCriterion("sync_result not between", value1, value2, "syncResult");
              return (Criteria) this;
          }
  
          public Criteria andUuidIsNull() {
              addCriterion("uuid is null");
              return (Criteria) this;
          }
  
          public Criteria andUuidIsNotNull() {
              addCriterion("uuid is not null");
              return (Criteria) this;
          }
  
          public Criteria andUuidEqualTo(String value) {
              addCriterion("uuid =", value, "uuid");
              return (Criteria) this;
          }
  
          public Criteria andUuidNotEqualTo(String value) {
              addCriterion("uuid <>", value, "uuid");
              return (Criteria) this;
          }
  
          public Criteria andUuidGreaterThan(String value) {
              addCriterion("uuid >", value, "uuid");
              return (Criteria) this;
          }
  
          public Criteria andUuidGreaterThanOrEqualTo(String value) {
              addCriterion("uuid >=", value, "uuid");
              return (Criteria) this;
          }
  
          public Criteria andUuidLessThan(String value) {
              addCriterion("uuid <", value, "uuid");
              return (Criteria) this;
          }
  
          public Criteria andUuidLessThanOrEqualTo(String value) {
              addCriterion("uuid <=", value, "uuid");
              return (Criteria) this;
          }
  
          public Criteria andUuidLike(String value) {
              addCriterion("uuid like", value, "uuid");
              return (Criteria) this;
          }
  
          public Criteria andUuidNotLike(String value) {
              addCriterion("uuid not like", value, "uuid");
              return (Criteria) this;
          }
  
          public Criteria andUuidIn(List<String> values) {
              addCriterion("uuid in", values, "uuid");
              return (Criteria) this;
          }
  
          public Criteria andUuidNotIn(List<String> values) {
              addCriterion("uuid not in", values, "uuid");
              return (Criteria) this;
          }
  
          public Criteria andUuidBetween(String value1, String value2) {
              addCriterion("uuid between", value1, value2, "uuid");
              return (Criteria) this;
          }
  
          public Criteria andUuidNotBetween(String value1, String value2) {
              addCriterion("uuid not between", value1, value2, "uuid");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderIdIsNull() {
              addCriterion("tesla_order_id is null");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderIdIsNotNull() {
              addCriterion("tesla_order_id is not null");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderIdEqualTo(Long value) {
              addCriterion("tesla_order_id =", value, "teslaOrderId");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderIdNotEqualTo(Long value) {
              addCriterion("tesla_order_id <>", value, "teslaOrderId");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderIdGreaterThan(Long value) {
              addCriterion("tesla_order_id >", value, "teslaOrderId");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderIdGreaterThanOrEqualTo(Long value) {
              addCriterion("tesla_order_id >=", value, "teslaOrderId");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderIdLessThan(Long value) {
              addCriterion("tesla_order_id <", value, "teslaOrderId");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderIdLessThanOrEqualTo(Long value) {
              addCriterion("tesla_order_id <=", value, "teslaOrderId");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderIdIn(List<Long> values) {
              addCriterion("tesla_order_id in", values, "teslaOrderId");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderIdNotIn(List<Long> values) {
              addCriterion("tesla_order_id not in", values, "teslaOrderId");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderIdBetween(Long value1, Long value2) {
              addCriterion("tesla_order_id between", value1, value2, "teslaOrderId");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderIdNotBetween(Long value1, Long value2) {
              addCriterion("tesla_order_id not between", value1, value2, "teslaOrderId");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderSyncResultIsNull() {
              addCriterion("tesla_order_sync_result is null");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderSyncResultIsNotNull() {
              addCriterion("tesla_order_sync_result is not null");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderSyncResultEqualTo(Byte value) {
              addCriterion("tesla_order_sync_result =", value, "teslaOrderSyncResult");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderSyncResultNotEqualTo(Byte value) {
              addCriterion("tesla_order_sync_result <>", value, "teslaOrderSyncResult");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderSyncResultGreaterThan(Byte value) {
              addCriterion("tesla_order_sync_result >", value, "teslaOrderSyncResult");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderSyncResultGreaterThanOrEqualTo(Byte value) {
              addCriterion("tesla_order_sync_result >=", value, "teslaOrderSyncResult");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderSyncResultLessThan(Byte value) {
              addCriterion("tesla_order_sync_result <", value, "teslaOrderSyncResult");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderSyncResultLessThanOrEqualTo(Byte value) {
              addCriterion("tesla_order_sync_result <=", value, "teslaOrderSyncResult");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderSyncResultIn(List<Byte> values) {
              addCriterion("tesla_order_sync_result in", values, "teslaOrderSyncResult");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderSyncResultNotIn(List<Byte> values) {
              addCriterion("tesla_order_sync_result not in", values, "teslaOrderSyncResult");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderSyncResultBetween(Byte value1, Byte value2) {
              addCriterion("tesla_order_sync_result between", value1, value2, "teslaOrderSyncResult");
              return (Criteria) this;
          }
  
          public Criteria andTeslaOrderSyncResultNotBetween(Byte value1, Byte value2) {
              addCriterion("tesla_order_sync_result not between", value1, value2, "teslaOrderSyncResult");
              return (Criteria) this;
          }
  
          public Criteria andSyncTeslaOrderIsNull() {
              addCriterion("sync_tesla_order is null");
              return (Criteria) this;
          }
  
          public Criteria andSyncTeslaOrderIsNotNull() {
              addCriterion("sync_tesla_order is not null");
              return (Criteria) this;
          }
  
          public Criteria andSyncTeslaOrderEqualTo(Byte value) {
              addCriterion("sync_tesla_order =", value, "syncTeslaOrder");
              return (Criteria) this;
          }
  
          public Criteria andSyncTeslaOrderNotEqualTo(Byte value) {
              addCriterion("sync_tesla_order <>", value, "syncTeslaOrder");
              return (Criteria) this;
          }
  
          public Criteria andSyncTeslaOrderGreaterThan(Byte value) {
              addCriterion("sync_tesla_order >", value, "syncTeslaOrder");
              return (Criteria) this;
          }
  
          public Criteria andSyncTeslaOrderGreaterThanOrEqualTo(Byte value) {
              addCriterion("sync_tesla_order >=", value, "syncTeslaOrder");
              return (Criteria) this;
          }
  
          public Criteria andSyncTeslaOrderLessThan(Byte value) {
              addCriterion("sync_tesla_order <", value, "syncTeslaOrder");
              return (Criteria) this;
          }
  
          public Criteria andSyncTeslaOrderLessThanOrEqualTo(Byte value) {
              addCriterion("sync_tesla_order <=", value, "syncTeslaOrder");
              return (Criteria) this;
          }
  
          public Criteria andSyncTeslaOrderIn(List<Byte> values) {
              addCriterion("sync_tesla_order in", values, "syncTeslaOrder");
              return (Criteria) this;
          }
  
          public Criteria andSyncTeslaOrderNotIn(List<Byte> values) {
              addCriterion("sync_tesla_order not in", values, "syncTeslaOrder");
              return (Criteria) this;
          }
  
          public Criteria andSyncTeslaOrderBetween(Byte value1, Byte value2) {
              addCriterion("sync_tesla_order between", value1, value2, "syncTeslaOrder");
              return (Criteria) this;
          }
  
          public Criteria andSyncTeslaOrderNotBetween(Byte value1, Byte value2) {
              addCriterion("sync_tesla_order not between", value1, value2, "syncTeslaOrder");
              return (Criteria) this;
          }
  
          public Criteria andOrderTypeIsNull() {
              addCriterion("order_type is null");
              return (Criteria) this;
          }
  
          public Criteria andOrderTypeIsNotNull() {
              addCriterion("order_type is not null");
              return (Criteria) this;
          }
  
          public Criteria andOrderTypeEqualTo(String value) {
              addCriterion("order_type =", value, "orderType");
              return (Criteria) this;
          }
  
          public Criteria andOrderTypeNotEqualTo(String value) {
              addCriterion("order_type <>", value, "orderType");
              return (Criteria) this;
          }
  
          public Criteria andOrderTypeGreaterThan(String value) {
              addCriterion("order_type >", value, "orderType");
              return (Criteria) this;
          }
  
          public Criteria andOrderTypeGreaterThanOrEqualTo(String value) {
              addCriterion("order_type >=", value, "orderType");
              return (Criteria) this;
          }
  
          public Criteria andOrderTypeLessThan(String value) {
              addCriterion("order_type <", value, "orderType");
              return (Criteria) this;
          }
  
          public Criteria andOrderTypeLessThanOrEqualTo(String value) {
              addCriterion("order_type <=", value, "orderType");
              return (Criteria) this;
          }
  
          public Criteria andOrderTypeLike(String value) {
              addCriterion("order_type like", value, "orderType");
              return (Criteria) this;
          }
  
          public Criteria andOrderTypeNotLike(String value) {
              addCriterion("order_type not like", value, "orderType");
              return (Criteria) this;
          }
  
          public Criteria andOrderTypeIn(List<String> values) {
              addCriterion("order_type in", values, "orderType");
              return (Criteria) this;
          }
  
          public Criteria andOrderTypeNotIn(List<String> values) {
              addCriterion("order_type not in", values, "orderType");
              return (Criteria) this;
          }
  
          public Criteria andOrderTypeBetween(String value1, String value2) {
              addCriterion("order_type between", value1, value2, "orderType");
              return (Criteria) this;
          }
  
          public Criteria andOrderTypeNotBetween(String value1, String value2) {
              addCriterion("order_type not between", value1, value2, "orderType");
              return (Criteria) this;
          }
      }
  
      /**
       *
       * @mbg.generated do_not_delete_during_merge
       */
      public static class Criteria extends AbstractGeneratedCriteria {
  
          protected Criteria() {
              super();
          }
      }
  
      /**
       *
       * @mbg.generated
       */
      public static class Criterion {
          private String condition;
  
          private Object value;
  
          private Object secondValue;
  
          private boolean noValue;
  
          private boolean singleValue;
  
          private boolean betweenValue;
  
          private boolean listValue;
  
          private String typeHandler;
  
          public String getCondition() {
              return condition;
          }
  
          public Object getValue() {
              return value;
          }
  
          public Object getSecondValue() {
              return secondValue;
          }
  
          public boolean isNoValue() {
              return noValue;
          }
  
          public boolean isSingleValue() {
              return singleValue;
          }
  
          public boolean isBetweenValue() {
              return betweenValue;
          }
  
          public boolean isListValue() {
              return listValue;
          }
  
          public String getTypeHandler() {
              return typeHandler;
          }
  
          protected Criterion(String condition) {
              super();
              this.condition = condition;
              this.typeHandler = null;
              this.noValue = true;
          }
  
          protected Criterion(String condition, Object value, String typeHandler) {
              super();
              this.condition = condition;
              this.value = value;
              this.typeHandler = typeHandler;
              if (value instanceof List<?>) {
                  this.listValue = true;
              } else {
                  this.singleValue = true;
              }
          }
  
          protected Criterion(String condition, Object value) {
              this(condition, value, null);
          }
  
          protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
              super();
              this.condition = condition;
              this.value = value;
              this.secondValue = secondValue;
              this.typeHandler = typeHandler;
              this.betweenValue = true;
          }
  
          protected Criterion(String condition, Object value, Object secondValue) {
              this(condition, value, secondValue, null);
          }
      }
  
      /**
       *
       * @mbg.generated
       */
      public enum OrderCondition {
          /**
           *主键
           */
          ID("id"),
          /**
           *所属产品线
           */
          APPCODE("app_code"),
          /**
           *操作唯一ID
           */
          ACTIONID("action_id"),
          /**
           *操作elementId
           */
          ELEMENTID("element_id"),
          /**
           *操作类型
           */
          ACTIONTYPE("action_type"),
          /**
           *操作名称
           */
          ACTIONNAME("action_name"),
          /**
           *操作label
           */
          ACTIONLABEL("action_label"),
          /**
           *执行操作上层的node信息
           */
          NODE("node"),
          /**
           *对象实体类型
           */
          ENTITYTYPE("entity_type"),
          /**
           *对象实体值
           */
          ENTITYVALUE("entity_value"),
          /**
           *执行状态
           */
          STATUS("status"),
          /**
           *创建时间
           */
          CREATETIME("create_time"),
          /**
           *开始时间
           */
          STARTTIME("start_time"),
          /**
           *执行人工号
           */
          EMPID("emp_id"),
          /**
           *结束时间
           */
          ENDTIME("end_time"),
          /**
           *changfree orderId
           */
          ORDERID("order_id"),
          /**
           *是否同步结束
           */
          SYNCRESULT("sync_result"),
          /**
           *action uuid
           */
          UUID("uuid"),
          /**
           *tesla工单ID
           */
          TESLAORDERID("tesla_order_id"),
          /**
           *tesla工单是否同步结束
           */
          TESLAORDERSYNCRESULT("tesla_order_sync_result"),
          /**
           *是否同步到tesla工单系统
           */
          SYNCTESLAORDER("sync_tesla_order"),
          /**
           *同步工单类型
           */
          ORDERTYPE("order_type");
  
          private String columnName;
  
          OrderCondition(String columnName) {
              this.columnName = columnName;
          }
  
          public String getColumnName() {
              return columnName;
          }
  
          public static OrderCondition getEnumByName(String name) {
              OrderCondition[] orderConditions = OrderCondition.values();
              for (OrderCondition orderCondition : orderConditions) {
                  if (orderCondition.name().equalsIgnoreCase(name)) {
                      return orderCondition;
                  }
              }
              throw new RuntimeException("OrderCondition of " + name + " enum not exist");
          }
  
          @Override
          public String toString() {
              return columnName;
          }
      }
  
      /**
       *
       * @mbg.generated
       */
      public enum SortType {
          /**
           * 升序
           */
          ASC("asc"),
          /**
           * 降序
           */
          DESC("desc");
  
          private String value;
  
          SortType(String value) {
              this.value = value;
          }
  
          public String getValue() {
              return value;
          }
  
          public static SortType getEnumByName(String name) {
              SortType[] sortTypes = SortType.values();
              for (SortType sortType : sortTypes) {
                  if (sortType.name().equalsIgnoreCase(name)) {
                      return sortType;
                  }
              }
              throw new RuntimeException("SortType of " + name + " enum not exist");
          }
  
          @Override
          public String toString() {
              return value;
          }
      }
  }