gt:             return (Criteria) this;
context: package cn.crap.model;
  
  import java.util.ArrayList;
  import java.util.Date;
  import java.util.List;
  
  public class LogCriteria {
      protected String orderByClause;
  
      protected boolean distinct;
  
      protected List<Criteria> oredCriteria;
  
      protected int limitStart = -1;
  
      protected int maxResults = -1;
  
      public LogCriteria() {
          oredCriteria = new ArrayList<Criteria>();
      }
  
      public void setOrderByClause(String orderByClause) {
          this.orderByClause = orderByClause;
      }
  
      public String getOrderByClause() {
          return orderByClause;
      }
  
      public void setDistinct(boolean distinct) {
          this.distinct = distinct;
      }
  
      public boolean isDistinct() {
          return distinct;
      }
  
      public List<Criteria> getOredCriteria() {
          return oredCriteria;
      }
  
      public void or(Criteria criteria) {
          oredCriteria.add(criteria);
      }
  
      public Criteria or() {
          Criteria criteria = createCriteriaInternal();
          oredCriteria.add(criteria);
          return criteria;
      }
  
      public Criteria createCriteria() {
          Criteria criteria = createCriteriaInternal();
          if (oredCriteria.size() == 0) {
              oredCriteria.add(criteria);
          }
          return criteria;
      }
  
      protected Criteria createCriteriaInternal() {
          Criteria criteria = new Criteria();
          return criteria;
      }
  
      public void clear() {
          oredCriteria.clear();
          orderByClause = null;
          distinct = false;
      }
  
      public void setLimitStart(int limitStart) {
          this.limitStart=limitStart;
      }
  
      public int getLimitStart() {
          return limitStart;
      }
  
      public void setMaxResults(int maxResults) {
          this.maxResults=maxResults;
      }
  
      public int getMaxResults() {
          return maxResults;
      }
  
      protected abstract static class GeneratedCriteria {
          protected List<Criterion> criteria;
  
          protected GeneratedCriteria() {
              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(String value) {
              addCriterion("id =", value, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdNotEqualTo(String value) {
              addCriterion("id <>", value, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdGreaterThan(String value) {
              addCriterion("id >", value, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdGreaterThanOrEqualTo(String value) {
              addCriterion("id >=", value, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdLessThan(String value) {
              addCriterion("id <", value, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdLessThanOrEqualTo(String value) {
              addCriterion("id <=", value, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdLike(String value) {
              addCriterion("id like", value, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdNotLike(String value) {
              addCriterion("id not like", value, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdIn(List<String> values) {
              addCriterion("id in", values, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdNotIn(List<String> values) {
              addCriterion("id not in", values, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdBetween(String value1, String value2) {
              addCriterion("id between", value1, value2, "id");
              return (Criteria) this;
          }
  
          public Criteria andIdNotBetween(String value1, String value2) {
              addCriterion("id not between", value1, value2, "id");
              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(Byte value) {
              addCriterion("status =", value, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusNotEqualTo(Byte value) {
              addCriterion("status <>", value, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusGreaterThan(Byte value) {
              addCriterion("status >", value, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
              addCriterion("status >=", value, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusLessThan(Byte value) {
              addCriterion("status <", value, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusLessThanOrEqualTo(Byte value) {
              addCriterion("status <=", value, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusIn(List<Byte> values) {
              addCriterion("status in", values, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusNotIn(List<Byte> values) {
              addCriterion("status not in", values, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusBetween(Byte value1, Byte value2) {
              addCriterion("status between", value1, value2, "status");
              return (Criteria) this;
          }
  
          public Criteria andStatusNotBetween(Byte value1, Byte value2) {
              addCriterion("status not between", value1, value2, "status");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeIsNull() {
              addCriterion("createTime is null");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeIsNotNull() {
              addCriterion("createTime is not null");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeEqualTo(Date value) {
              addCriterion("createTime =", value, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeNotEqualTo(Date value) {
              addCriterion("createTime <>", value, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeGreaterThan(Date value) {
              addCriterion("createTime >", value, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
              addCriterion("createTime >=", value, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeLessThan(Date value) {
              addCriterion("createTime <", value, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
              addCriterion("createTime <=", value, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeIn(List<Date> values) {
              addCriterion("createTime in", values, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeNotIn(List<Date> values) {
              addCriterion("createTime not in", values, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeBetween(Date value1, Date value2) {
              addCriterion("createTime between", value1, value2, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
              addCriterion("createTime not between", value1, value2, "createTime");
              return (Criteria) this;
          }
  
          public Criteria andSequenceIsNull() {
              addCriterion("sequence is null");
              return (Criteria) this;
          }
  
          public Criteria andSequenceIsNotNull() {
              addCriterion("sequence is not null");
              return (Criteria) this;
          }
  
          public Criteria andSequenceEqualTo(Integer value) {
              addCriterion("sequence =", value, "sequence");
              return (Criteria) this;
          }
  
          public Criteria andSequenceNotEqualTo(Integer value) {
              addCriterion("sequence <>", value, "sequence");
              return (Criteria) this;
          }
  
          public Criteria andSequenceGreaterThan(Integer value) {
              addCriterion("sequence >", value, "sequence");
              return (Criteria) this;
          }
  
          public Criteria andSequenceGreaterThanOrEqualTo(Integer value) {
              addCriterion("sequence >=", value, "sequence");
              return (Criteria) this;
          }
  
          public Criteria andSequenceLessThan(Integer value) {
              addCriterion("sequence <", value, "sequence");
              return (Criteria) this;
          }
  
          public Criteria andSequenceLessThanOrEqualTo(Integer value) {
              addCriterion("sequence <=", value, "sequence");
              return (Criteria) this;
          }
  
          public Criteria andSequenceIn(List<Integer> values) {
              addCriterion("sequence in", values, "sequence");
              return (Criteria) this;
          }
  
          public Criteria andSequenceNotIn(List<Integer> values) {
              addCriterion("sequence not in", values, "sequence");
              return (Criteria) this;
          }
  
          public Criteria andSequenceBetween(Integer value1, Integer value2) {
              addCriterion("sequence between", value1, value2, "sequence");
              return (Criteria) this;
          }
  
          public Criteria andSequenceNotBetween(Integer value1, Integer value2) {
              addCriterion("sequence not between", value1, value2, "sequence");
              return (Criteria) this;
          }
  
          public Criteria andModelClassIsNull() {
              addCriterion("modelClass is null");
              return (Criteria) this;
          }
  
          public Criteria andModelClassIsNotNull() {
              addCriterion("modelClass is not null");
              return (Criteria) this;
          }
  
          public Criteria andModelClassEqualTo(String value) {
              addCriterion("modelClass =", value, "modelClass");
              return (Criteria) this;
          }
  
          public Criteria andModelClassNotEqualTo(String value) {
              addCriterion("modelClass <>", value, "modelClass");
              return (Criteria) this;
          }
  
          public Criteria andModelClassGreaterThan(String value) {
              addCriterion("modelClass >", value, "modelClass");
              return (Criteria) this;
          }
  
          public Criteria andModelClassGreaterThanOrEqualTo(String value) {
              addCriterion("modelClass >=", value, "modelClass");
              return (Criteria) this;
          }
  
          public Criteria andModelClassLessThan(String value) {
              addCriterion("modelClass <", value, "modelClass");
              return (Criteria) this;
          }
  
          public Criteria andModelClassLessThanOrEqualTo(String value) {
              addCriterion("modelClass <=", value, "modelClass");
              return (Criteria) this;
          }
  
          public Criteria andModelClassLike(String value) {
              addCriterion("modelClass like", value, "modelClass");
              return (Criteria) this;
          }
  
          public Criteria andModelClassNotLike(String value) {
              addCriterion("modelClass not like", value, "modelClass");
              return (Criteria) this;
          }
  
          public Criteria andModelClassIn(List<String> values) {
              addCriterion("modelClass in", values, "modelClass");
              return (Criteria) this;
          }
  
          public Criteria andModelClassNotIn(List<String> values) {
              addCriterion("modelClass not in", values, "modelClass");
              return (Criteria) this;
          }
  
          public Criteria andModelClassBetween(String value1, String value2) {
              addCriterion("modelClass between", value1, value2, "modelClass");
              return (Criteria) this;
          }
  
          public Criteria andModelClassNotBetween(String value1, String value2) {
              addCriterion("modelClass not between", value1, value2, "modelClass");
              return (Criteria) this;
          }
  
          public Criteria andModelNameIsNull() {
              addCriterion("modelName is null");
              return (Criteria) this;
          }
  
          public Criteria andModelNameIsNotNull() {
              addCriterion("modelName is not null");
              return (Criteria) this;
          }
  
          public Criteria andModelNameEqualTo(String value) {
              addCriterion("modelName =", value, "modelName");
              return (Criteria) this;
          }
  
          public Criteria andModelNameNotEqualTo(String value) {
              addCriterion("modelName <>", value, "modelName");
              return (Criteria) this;
          }
  
          public Criteria andModelNameGreaterThan(String value) {
              addCriterion("modelName >", value, "modelName");
              return (Criteria) this;
          }
  
          public Criteria andModelNameGreaterThanOrEqualTo(String value) {
              addCriterion("modelName >=", value, "modelName");
              return (Criteria) this;
          }
  
          public Criteria andModelNameLessThan(String value) {
              addCriterion("modelName <", value, "modelName");
              return (Criteria) this;
          }
  
          public Criteria andModelNameLessThanOrEqualTo(String value) {
              addCriterion("modelName <=", value, "modelName");
              return (Criteria) this;
          }
  
          public Criteria andModelNameLike(String value) {
              addCriterion("modelName like", value, "modelName");
              return (Criteria) this;
          }
  
          public Criteria andModelNameNotLike(String value) {
              addCriterion("modelName not like", value, "modelName");
              return (Criteria) this;
          }
  
          public Criteria andModelNameIn(List<String> values) {
              addCriterion("modelName in", values, "modelName");
              return (Criteria) this;
          }
  
          public Criteria andModelNameNotIn(List<String> values) {
              addCriterion("modelName not in", values, "modelName");
              return (Criteria) this;
          }
  
          public Criteria andModelNameBetween(String value1, String value2) {
              addCriterion("modelName between", value1, value2, "modelName");
              return (Criteria) this;
          }
  
          public Criteria andModelNameNotBetween(String value1, String value2) {
              addCriterion("modelName not between", value1, value2, "modelName");
              return (Criteria) this;
          }
  
          public Criteria andTypeIsNull() {
              addCriterion("type is null");
              return (Criteria) this;
          }
  
          public Criteria andTypeIsNotNull() {
              addCriterion("type is not null");
              return (Criteria) this;
          }
  
          public Criteria andTypeEqualTo(String value) {
              addCriterion("type =", value, "type");
              return (Criteria) this;
          }
  
          public Criteria andTypeNotEqualTo(String value) {
              addCriterion("type <>", value, "type");
              return (Criteria) this;
          }
  
          public Criteria andTypeGreaterThan(String value) {
              addCriterion("type >", value, "type");
              return (Criteria) this;
          }
  
          public Criteria andTypeGreaterThanOrEqualTo(String value) {
              addCriterion("type >=", value, "type");
              return (Criteria) this;
          }
  
          public Criteria andTypeLessThan(String value) {
              addCriterion("type <", value, "type");
              return (Criteria) this;
          }
  
          public Criteria andTypeLessThanOrEqualTo(String value) {
              addCriterion("type <=", value, "type");
              return (Criteria) this;
          }
  
          public Criteria andTypeLike(String value) {
              addCriterion("type like", value, "type");
              return (Criteria) this;
          }
  
          public Criteria andTypeNotLike(String value) {
              addCriterion("type not like", value, "type");
              return (Criteria) this;
          }
  
          public Criteria andTypeIn(List<String> values) {
              addCriterion("type in", values, "type");
              return (Criteria) this;
          }
  
          public Criteria andTypeNotIn(List<String> values) {
              addCriterion("type not in", values, "type");
              return (Criteria) this;
          }
  
          public Criteria andTypeBetween(String value1, String value2) {
              addCriterion("type between", value1, value2, "type");
              return (Criteria) this;
          }
  
          public Criteria andTypeNotBetween(String value1, String value2) {
              addCriterion("type not between", value1, value2, "type");
              return (Criteria) this;
          }
  
          public Criteria andUpdateByIsNull() {
              addCriterion("updateBy is null");
              return (Criteria) this;
          }
  
          public Criteria andUpdateByIsNotNull() {
              addCriterion("updateBy is not null");
              return (Criteria) this;
          }
  
          public Criteria andUpdateByEqualTo(String value) {
              addCriterion("updateBy =", value, "updateBy");
              return (Criteria) this;
          }
  
          public Criteria andUpdateByNotEqualTo(String value) {
              addCriterion("updateBy <>", value, "updateBy");
              return (Criteria) this;
          }
  
          public Criteria andUpdateByGreaterThan(String value) {
              addCriterion("updateBy >", value, "updateBy");
              return (Criteria) this;
          }
  
          public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
              addCriterion("updateBy >=", value, "updateBy");
              return (Criteria) this;
          }
  
          public Criteria andUpdateByLessThan(String value) {
              addCriterion("updateBy <", value, "updateBy");
              return (Criteria) this;
          }
  
          public Criteria andUpdateByLessThanOrEqualTo(String value) {
              addCriterion("updateBy <=", value, "updateBy");
              return (Criteria) this;
          }
  
          public Criteria andUpdateByLike(String value) {
              addCriterion("updateBy like", value, "updateBy");
              return (Criteria) this;
          }
  
          public Criteria andUpdateByNotLike(String value) {
              addCriterion("updateBy not like", value, "updateBy");
              return (Criteria) this;
          }
  
          public Criteria andUpdateByIn(List<String> values) {
              addCriterion("updateBy in", values, "updateBy");
              return (Criteria) this;
          }
  
          public Criteria andUpdateByNotIn(List<String> values) {
              addCriterion("updateBy not in", values, "updateBy");
              return (Criteria) this;
          }
  
          public Criteria andUpdateByBetween(String value1, String value2) {
              addCriterion("updateBy between", value1, value2, "updateBy");
  