|
@@ -0,0 +1,864 @@
|
|
|
+package com.greentech.gateservice.entity;
|
|
|
+
|
|
|
+import org.springframework.stereotype.Service;
|
|
|
+
|
|
|
+import java.util.ArrayList;
|
|
|
+import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+@Service
|
|
|
+public class GateOplogImpl {
|
|
|
+ protected String orderByClause;
|
|
|
+
|
|
|
+ protected boolean distinct;
|
|
|
+
|
|
|
+ protected List<Criteria> oredCriteria;
|
|
|
+
|
|
|
+ public GateOplogImpl() {
|
|
|
+ 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;
|
|
|
+ }
|
|
|
+
|
|
|
+ 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(Integer value) {
|
|
|
+ addCriterion("id =", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdNotEqualTo(Integer value) {
|
|
|
+ addCriterion("id <>", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdGreaterThan(Integer value) {
|
|
|
+ addCriterion("id >", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdGreaterThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("id >=", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdLessThan(Integer value) {
|
|
|
+ addCriterion("id <", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdLessThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("id <=", value, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdIn(List<Integer> values) {
|
|
|
+ addCriterion("id in", values, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdNotIn(List<Integer> values) {
|
|
|
+ addCriterion("id not in", values, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("id between", value1, value2, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIdNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("id not between", value1, value2, "id");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProjectIdIsNull() {
|
|
|
+ addCriterion("project_id is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProjectIdIsNotNull() {
|
|
|
+ addCriterion("project_id is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProjectIdEqualTo(Integer value) {
|
|
|
+ addCriterion("project_id =", value, "projectId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProjectIdNotEqualTo(Integer value) {
|
|
|
+ addCriterion("project_id <>", value, "projectId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProjectIdGreaterThan(Integer value) {
|
|
|
+ addCriterion("project_id >", value, "projectId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProjectIdGreaterThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("project_id >=", value, "projectId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProjectIdLessThan(Integer value) {
|
|
|
+ addCriterion("project_id <", value, "projectId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProjectIdLessThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("project_id <=", value, "projectId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProjectIdIn(List<Integer> values) {
|
|
|
+ addCriterion("project_id in", values, "projectId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProjectIdNotIn(List<Integer> values) {
|
|
|
+ addCriterion("project_id not in", values, "projectId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProjectIdBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("project_id between", value1, value2, "projectId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andProjectIdNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("project_id not between", value1, value2, "projectId");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGateNameIsNull() {
|
|
|
+ addCriterion("gate_name is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGateNameIsNotNull() {
|
|
|
+ addCriterion("gate_name is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGateNameEqualTo(String value) {
|
|
|
+ addCriterion("gate_name =", value, "gateName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGateNameNotEqualTo(String value) {
|
|
|
+ addCriterion("gate_name <>", value, "gateName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGateNameGreaterThan(String value) {
|
|
|
+ addCriterion("gate_name >", value, "gateName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGateNameGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("gate_name >=", value, "gateName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGateNameLessThan(String value) {
|
|
|
+ addCriterion("gate_name <", value, "gateName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGateNameLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("gate_name <=", value, "gateName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGateNameLike(String value) {
|
|
|
+ addCriterion("gate_name like", value, "gateName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGateNameNotLike(String value) {
|
|
|
+ addCriterion("gate_name not like", value, "gateName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGateNameIn(List<String> values) {
|
|
|
+ addCriterion("gate_name in", values, "gateName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGateNameNotIn(List<String> values) {
|
|
|
+ addCriterion("gate_name not in", values, "gateName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGateNameBetween(String value1, String value2) {
|
|
|
+ addCriterion("gate_name between", value1, value2, "gateName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andGateNameNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("gate_name not between", value1, value2, "gateName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedTimeIsNull() {
|
|
|
+ addCriterion("created_time is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedTimeIsNotNull() {
|
|
|
+ addCriterion("created_time is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedTimeEqualTo(Date value) {
|
|
|
+ addCriterion("created_time =", value, "createdTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedTimeNotEqualTo(Date value) {
|
|
|
+ addCriterion("created_time <>", value, "createdTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedTimeGreaterThan(Date value) {
|
|
|
+ addCriterion("created_time >", value, "createdTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("created_time >=", value, "createdTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedTimeLessThan(Date value) {
|
|
|
+ addCriterion("created_time <", value, "createdTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("created_time <=", value, "createdTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedTimeIn(List<Date> values) {
|
|
|
+ addCriterion("created_time in", values, "createdTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedTimeNotIn(List<Date> values) {
|
|
|
+ addCriterion("created_time not in", values, "createdTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedTimeBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("created_time between", value1, value2, "createdTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("created_time not between", value1, value2, "createdTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteIsNull() {
|
|
|
+ addCriterion("is_delete is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteIsNotNull() {
|
|
|
+ addCriterion("is_delete is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteEqualTo(Byte value) {
|
|
|
+ addCriterion("is_delete =", value, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteNotEqualTo(Byte value) {
|
|
|
+ addCriterion("is_delete <>", value, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteGreaterThan(Byte value) {
|
|
|
+ addCriterion("is_delete >", value, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteGreaterThanOrEqualTo(Byte value) {
|
|
|
+ addCriterion("is_delete >=", value, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteLessThan(Byte value) {
|
|
|
+ addCriterion("is_delete <", value, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteLessThanOrEqualTo(Byte value) {
|
|
|
+ addCriterion("is_delete <=", value, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteIn(List<Byte> values) {
|
|
|
+ addCriterion("is_delete in", values, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteNotIn(List<Byte> values) {
|
|
|
+ addCriterion("is_delete not in", values, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteBetween(Byte value1, Byte value2) {
|
|
|
+ addCriterion("is_delete between", value1, value2, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIsDeleteNotBetween(Byte value1, Byte value2) {
|
|
|
+ addCriterion("is_delete not between", value1, value2, "isDelete");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserNameIsNull() {
|
|
|
+ addCriterion("user_name is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserNameIsNotNull() {
|
|
|
+ addCriterion("user_name is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserNameEqualTo(String value) {
|
|
|
+ addCriterion("user_name =", value, "userName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserNameNotEqualTo(String value) {
|
|
|
+ addCriterion("user_name <>", value, "userName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserNameGreaterThan(String value) {
|
|
|
+ addCriterion("user_name >", value, "userName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserNameGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("user_name >=", value, "userName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserNameLessThan(String value) {
|
|
|
+ addCriterion("user_name <", value, "userName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserNameLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("user_name <=", value, "userName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserNameLike(String value) {
|
|
|
+ addCriterion("user_name like", value, "userName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserNameNotLike(String value) {
|
|
|
+ addCriterion("user_name not like", value, "userName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserNameIn(List<String> values) {
|
|
|
+ addCriterion("user_name in", values, "userName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserNameNotIn(List<String> values) {
|
|
|
+ addCriterion("user_name not in", values, "userName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserNameBetween(String value1, String value2) {
|
|
|
+ addCriterion("user_name between", value1, value2, "userName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUserNameNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("user_name not between", value1, value2, "userName");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEventTypeIsNull() {
|
|
|
+ addCriterion("event_type is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEventTypeIsNotNull() {
|
|
|
+ addCriterion("event_type is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEventTypeEqualTo(String value) {
|
|
|
+ addCriterion("event_type =", value, "eventType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEventTypeNotEqualTo(String value) {
|
|
|
+ addCriterion("event_type <>", value, "eventType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEventTypeGreaterThan(String value) {
|
|
|
+ addCriterion("event_type >", value, "eventType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEventTypeGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("event_type >=", value, "eventType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEventTypeLessThan(String value) {
|
|
|
+ addCriterion("event_type <", value, "eventType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEventTypeLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("event_type <=", value, "eventType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEventTypeLike(String value) {
|
|
|
+ addCriterion("event_type like", value, "eventType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEventTypeNotLike(String value) {
|
|
|
+ addCriterion("event_type not like", value, "eventType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEventTypeIn(List<String> values) {
|
|
|
+ addCriterion("event_type in", values, "eventType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEventTypeNotIn(List<String> values) {
|
|
|
+ addCriterion("event_type not in", values, "eventType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEventTypeBetween(String value1, String value2) {
|
|
|
+ addCriterion("event_type between", value1, value2, "eventType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andEventTypeNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("event_type not between", value1, value2, "eventType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCheckTypeIsNull() {
|
|
|
+ addCriterion("check_type is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCheckTypeIsNotNull() {
|
|
|
+ addCriterion("check_type is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCheckTypeEqualTo(String value) {
|
|
|
+ addCriterion("check_type =", value, "checkType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCheckTypeNotEqualTo(String value) {
|
|
|
+ addCriterion("check_type <>", value, "checkType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCheckTypeGreaterThan(String value) {
|
|
|
+ addCriterion("check_type >", value, "checkType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCheckTypeGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("check_type >=", value, "checkType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCheckTypeLessThan(String value) {
|
|
|
+ addCriterion("check_type <", value, "checkType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCheckTypeLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("check_type <=", value, "checkType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCheckTypeLike(String value) {
|
|
|
+ addCriterion("check_type like", value, "checkType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCheckTypeNotLike(String value) {
|
|
|
+ addCriterion("check_type not like", value, "checkType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCheckTypeIn(List<String> values) {
|
|
|
+ addCriterion("check_type in", values, "checkType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCheckTypeNotIn(List<String> values) {
|
|
|
+ addCriterion("check_type not in", values, "checkType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCheckTypeBetween(String value1, String value2) {
|
|
|
+ addCriterion("check_type between", value1, value2, "checkType");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andCheckTypeNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("check_type not between", value1, value2, "checkType");
|
|
|
+ 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 andSerialNumIsNull() {
|
|
|
+ addCriterion("serial_num is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSerialNumIsNotNull() {
|
|
|
+ addCriterion("serial_num is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSerialNumEqualTo(String value) {
|
|
|
+ addCriterion("serial_num =", value, "serialNum");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSerialNumNotEqualTo(String value) {
|
|
|
+ addCriterion("serial_num <>", value, "serialNum");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSerialNumGreaterThan(String value) {
|
|
|
+ addCriterion("serial_num >", value, "serialNum");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSerialNumGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("serial_num >=", value, "serialNum");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSerialNumLessThan(String value) {
|
|
|
+ addCriterion("serial_num <", value, "serialNum");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSerialNumLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("serial_num <=", value, "serialNum");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSerialNumLike(String value) {
|
|
|
+ addCriterion("serial_num like", value, "serialNum");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSerialNumNotLike(String value) {
|
|
|
+ addCriterion("serial_num not like", value, "serialNum");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSerialNumIn(List<String> values) {
|
|
|
+ addCriterion("serial_num in", values, "serialNum");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSerialNumNotIn(List<String> values) {
|
|
|
+ addCriterion("serial_num not in", values, "serialNum");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSerialNumBetween(String value1, String value2) {
|
|
|
+ addCriterion("serial_num between", value1, value2, "serialNum");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andSerialNumNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("serial_num not between", value1, value2, "serialNum");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ public static class Criteria extends GeneratedCriteria {
|
|
|
+
|
|
|
+ protected Criteria() {
|
|
|
+ super();
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ 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);
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|