xufenglei
2017-12-01 b41f303340d8c21dad9e1b2fd798a0957e7fd7d1
src/main/java/com/moral/entity/DeviceExample.java
@@ -5,46 +5,92 @@
import java.util.List;
public class DeviceExample {
    /**
    * This field was generated by MyBatis Generator. This field corresponds to the database table device
    * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
    */
    protected String orderByClause;
   /**
    * This field was generated by MyBatis Generator. This field corresponds to the database table device
    * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
    */
    protected boolean distinct;
   /**
    * This field was generated by MyBatis Generator. This field corresponds to the database table device
    * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
    */
    protected List<Criteria> oredCriteria;
   /**
    * This method was generated by MyBatis Generator. This method corresponds to the database table device
    * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
    */
    public DeviceExample() {
        oredCriteria = new ArrayList<Criteria>();
    }
   /**
    * This method was generated by MyBatis Generator. This method corresponds to the database table device
    * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
    */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }
   /**
    * This method was generated by MyBatis Generator. This method corresponds to the database table device
    * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
    */
    public String getOrderByClause() {
        return orderByClause;
    }
   /**
    * This method was generated by MyBatis Generator. This method corresponds to the database table device
    * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
    */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }
   /**
    * This method was generated by MyBatis Generator. This method corresponds to the database table device
    * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
    */
    public boolean isDistinct() {
        return distinct;
    }
   /**
    * This method was generated by MyBatis Generator. This method corresponds to the database table device
    * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
    */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }
   /**
    * This method was generated by MyBatis Generator. This method corresponds to the database table device
    * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
    */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }
   /**
    * This method was generated by MyBatis Generator. This method corresponds to the database table device
    * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
    */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }
   /**
    * This method was generated by MyBatis Generator. This method corresponds to the database table device
    * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
    */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
@@ -53,17 +99,29 @@
        return criteria;
    }
   /**
    * This method was generated by MyBatis Generator. This method corresponds to the database table device
    * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
    */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }
   /**
    * This method was generated by MyBatis Generator. This method corresponds to the database table device
    * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
    */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }
   /**
    * This class was generated by MyBatis Generator. This class corresponds to the database table device
    * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
    */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;
@@ -495,6 +553,66 @@
            return (Criteria) this;
        }
      public Criteria andOperateUserIdIsNull() {
         addCriterion("operate_user_id is null");
         return (Criteria) this;
      }
      public Criteria andOperateUserIdIsNotNull() {
         addCriterion("operate_user_id is not null");
         return (Criteria) this;
      }
      public Criteria andOperateUserIdEqualTo(Integer value) {
         addCriterion("operate_user_id =", value, "operateUserId");
         return (Criteria) this;
      }
      public Criteria andOperateUserIdNotEqualTo(Integer value) {
         addCriterion("operate_user_id <>", value, "operateUserId");
         return (Criteria) this;
      }
      public Criteria andOperateUserIdGreaterThan(Integer value) {
         addCriterion("operate_user_id >", value, "operateUserId");
         return (Criteria) this;
      }
      public Criteria andOperateUserIdGreaterThanOrEqualTo(Integer value) {
         addCriterion("operate_user_id >=", value, "operateUserId");
         return (Criteria) this;
      }
      public Criteria andOperateUserIdLessThan(Integer value) {
         addCriterion("operate_user_id <", value, "operateUserId");
         return (Criteria) this;
      }
      public Criteria andOperateUserIdLessThanOrEqualTo(Integer value) {
         addCriterion("operate_user_id <=", value, "operateUserId");
         return (Criteria) this;
      }
      public Criteria andOperateUserIdIn(List<Integer> values) {
         addCriterion("operate_user_id in", values, "operateUserId");
         return (Criteria) this;
      }
      public Criteria andOperateUserIdNotIn(List<Integer> values) {
         addCriterion("operate_user_id not in", values, "operateUserId");
         return (Criteria) this;
      }
      public Criteria andOperateUserIdBetween(Integer value1, Integer value2) {
         addCriterion("operate_user_id between", value1, value2, "operateUserId");
         return (Criteria) this;
      }
      public Criteria andOperateUserIdNotBetween(Integer value1, Integer value2) {
         addCriterion("operate_user_id not between", value1, value2, "operateUserId");
         return (Criteria) this;
      }
        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
@@ -562,66 +680,6 @@
        public Criteria andStateNotBetween(String value1, String value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }
        public Criteria andOperateUserIdIsNull() {
            addCriterion("operate_user_id is null");
            return (Criteria) this;
        }
        public Criteria andOperateUserIdIsNotNull() {
            addCriterion("operate_user_id is not null");
            return (Criteria) this;
        }
        public Criteria andOperateUserIdEqualTo(Integer value) {
            addCriterion("operate_user_id =", value, "operateUserId");
            return (Criteria) this;
        }
        public Criteria andOperateUserIdNotEqualTo(Integer value) {
            addCriterion("operate_user_id <>", value, "operateUserId");
            return (Criteria) this;
        }
        public Criteria andOperateUserIdGreaterThan(Integer value) {
            addCriterion("operate_user_id >", value, "operateUserId");
            return (Criteria) this;
        }
        public Criteria andOperateUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("operate_user_id >=", value, "operateUserId");
            return (Criteria) this;
        }
        public Criteria andOperateUserIdLessThan(Integer value) {
            addCriterion("operate_user_id <", value, "operateUserId");
            return (Criteria) this;
        }
        public Criteria andOperateUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("operate_user_id <=", value, "operateUserId");
            return (Criteria) this;
        }
        public Criteria andOperateUserIdIn(List<Integer> values) {
            addCriterion("operate_user_id in", values, "operateUserId");
            return (Criteria) this;
        }
        public Criteria andOperateUserIdNotIn(List<Integer> values) {
            addCriterion("operate_user_id not in", values, "operateUserId");
            return (Criteria) this;
        }
        public Criteria andOperateUserIdBetween(Integer value1, Integer value2) {
            addCriterion("operate_user_id between", value1, value2, "operateUserId");
            return (Criteria) this;
        }
        public Criteria andOperateUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("operate_user_id not between", value1, value2, "operateUserId");
            return (Criteria) this;
        }
@@ -866,28 +924,18 @@
        }
    }
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }
   /**
    * This class was generated by MyBatis Generator. This class corresponds to the database table device
    * @mbggenerated  Wed Nov 29 16:17:59 CST 2017
    */
    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() {
@@ -958,4 +1006,15 @@
            this(condition, value, secondValue, null);
        }
    }
   /**
    * This class was generated by MyBatis Generator. This class corresponds to the database table device
    * @mbggenerated  do_not_delete_during_merge
    */
   public static class Criteria extends GeneratedCriteria {
      protected Criteria() {
         super();
      }
   }
}