|
@@ -0,0 +1,1224 @@
|
|
|
+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 GateInfoImpl {
|
|
|
+ protected String orderByClause;
|
|
|
+
|
|
|
+ protected boolean distinct;
|
|
|
+
|
|
|
+ protected List<Criteria> oredCriteria;
|
|
|
+
|
|
|
+ public GateInfoImpl() {
|
|
|
+ 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 andNameIsNull() {
|
|
|
+ addCriterion("name is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameIsNotNull() {
|
|
|
+ addCriterion("name is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameEqualTo(String value) {
|
|
|
+ addCriterion("name =", value, "name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameNotEqualTo(String value) {
|
|
|
+ addCriterion("name <>", value, "name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameGreaterThan(String value) {
|
|
|
+ addCriterion("name >", value, "name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("name >=", value, "name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameLessThan(String value) {
|
|
|
+ addCriterion("name <", value, "name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("name <=", value, "name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameLike(String value) {
|
|
|
+ addCriterion("name like", value, "name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameNotLike(String value) {
|
|
|
+ addCriterion("name not like", value, "name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameIn(List<String> values) {
|
|
|
+ addCriterion("name in", values, "name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameNotIn(List<String> values) {
|
|
|
+ addCriterion("name not in", values, "name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameBetween(String value1, String value2) {
|
|
|
+ addCriterion("name between", value1, value2, "name");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNameNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("name not between", value1, value2, "name");
|
|
|
+ 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 andNotesIsNull() {
|
|
|
+ addCriterion("notes is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNotesIsNotNull() {
|
|
|
+ addCriterion("notes is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNotesEqualTo(String value) {
|
|
|
+ addCriterion("notes =", value, "notes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNotesNotEqualTo(String value) {
|
|
|
+ addCriterion("notes <>", value, "notes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNotesGreaterThan(String value) {
|
|
|
+ addCriterion("notes >", value, "notes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNotesGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("notes >=", value, "notes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNotesLessThan(String value) {
|
|
|
+ addCriterion("notes <", value, "notes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNotesLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("notes <=", value, "notes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNotesLike(String value) {
|
|
|
+ addCriterion("notes like", value, "notes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNotesNotLike(String value) {
|
|
|
+ addCriterion("notes not like", value, "notes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNotesIn(List<String> values) {
|
|
|
+ addCriterion("notes in", values, "notes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNotesNotIn(List<String> values) {
|
|
|
+ addCriterion("notes not in", values, "notes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNotesBetween(String value1, String value2) {
|
|
|
+ addCriterion("notes between", value1, value2, "notes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andNotesNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("notes not between", value1, value2, "notes");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andXIsNull() {
|
|
|
+ addCriterion("x is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andXIsNotNull() {
|
|
|
+ addCriterion("x is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andXEqualTo(Float value) {
|
|
|
+ addCriterion("x =", value, "x");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andXNotEqualTo(Float value) {
|
|
|
+ addCriterion("x <>", value, "x");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andXGreaterThan(Float value) {
|
|
|
+ addCriterion("x >", value, "x");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andXGreaterThanOrEqualTo(Float value) {
|
|
|
+ addCriterion("x >=", value, "x");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andXLessThan(Float value) {
|
|
|
+ addCriterion("x <", value, "x");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andXLessThanOrEqualTo(Float value) {
|
|
|
+ addCriterion("x <=", value, "x");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andXIn(List<Float> values) {
|
|
|
+ addCriterion("x in", values, "x");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andXNotIn(List<Float> values) {
|
|
|
+ addCriterion("x not in", values, "x");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andXBetween(Float value1, Float value2) {
|
|
|
+ addCriterion("x between", value1, value2, "x");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andXNotBetween(Float value1, Float value2) {
|
|
|
+ addCriterion("x not between", value1, value2, "x");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andYIsNull() {
|
|
|
+ addCriterion("y is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andYIsNotNull() {
|
|
|
+ addCriterion("y is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andYEqualTo(Float value) {
|
|
|
+ addCriterion("y =", value, "y");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andYNotEqualTo(Float value) {
|
|
|
+ addCriterion("y <>", value, "y");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andYGreaterThan(Float value) {
|
|
|
+ addCriterion("y >", value, "y");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andYGreaterThanOrEqualTo(Float value) {
|
|
|
+ addCriterion("y >=", value, "y");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andYLessThan(Float value) {
|
|
|
+ addCriterion("y <", value, "y");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andYLessThanOrEqualTo(Float value) {
|
|
|
+ addCriterion("y <=", value, "y");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andYIn(List<Float> values) {
|
|
|
+ addCriterion("y in", values, "y");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andYNotIn(List<Float> values) {
|
|
|
+ addCriterion("y not in", values, "y");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andYBetween(Float value1, Float value2) {
|
|
|
+ addCriterion("y between", value1, value2, "y");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andYNotBetween(Float value1, Float value2) {
|
|
|
+ addCriterion("y not between", value1, value2, "y");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andZIsNull() {
|
|
|
+ addCriterion("z is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andZIsNotNull() {
|
|
|
+ addCriterion("z is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andZEqualTo(Float value) {
|
|
|
+ addCriterion("z =", value, "z");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andZNotEqualTo(Float value) {
|
|
|
+ addCriterion("z <>", value, "z");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andZGreaterThan(Float value) {
|
|
|
+ addCriterion("z >", value, "z");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andZGreaterThanOrEqualTo(Float value) {
|
|
|
+ addCriterion("z >=", value, "z");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andZLessThan(Float value) {
|
|
|
+ addCriterion("z <", value, "z");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andZLessThanOrEqualTo(Float value) {
|
|
|
+ addCriterion("z <=", value, "z");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andZIn(List<Float> values) {
|
|
|
+ addCriterion("z in", values, "z");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andZNotIn(List<Float> values) {
|
|
|
+ addCriterion("z not in", values, "z");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andZBetween(Float value1, Float value2) {
|
|
|
+ addCriterion("z between", value1, value2, "z");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andZNotBetween(Float value1, Float value2) {
|
|
|
+ addCriterion("z not between", value1, value2, "z");
|
|
|
+ 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 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 andUpdatedTimeIsNull() {
|
|
|
+ addCriterion("updated_time is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedTimeIsNotNull() {
|
|
|
+ addCriterion("updated_time is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedTimeEqualTo(Date value) {
|
|
|
+ addCriterion("updated_time =", value, "updatedTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedTimeNotEqualTo(Date value) {
|
|
|
+ addCriterion("updated_time <>", value, "updatedTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedTimeGreaterThan(Date value) {
|
|
|
+ addCriterion("updated_time >", value, "updatedTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedTimeGreaterThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("updated_time >=", value, "updatedTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedTimeLessThan(Date value) {
|
|
|
+ addCriterion("updated_time <", value, "updatedTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedTimeLessThanOrEqualTo(Date value) {
|
|
|
+ addCriterion("updated_time <=", value, "updatedTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedTimeIn(List<Date> values) {
|
|
|
+ addCriterion("updated_time in", values, "updatedTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedTimeNotIn(List<Date> values) {
|
|
|
+ addCriterion("updated_time not in", values, "updatedTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedTimeBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("updated_time between", value1, value2, "updatedTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andUpdatedTimeNotBetween(Date value1, Date value2) {
|
|
|
+ addCriterion("updated_time not between", value1, value2, "updatedTime");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIpIsNull() {
|
|
|
+ addCriterion("ip is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIpIsNotNull() {
|
|
|
+ addCriterion("ip is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIpEqualTo(String value) {
|
|
|
+ addCriterion("ip =", value, "ip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIpNotEqualTo(String value) {
|
|
|
+ addCriterion("ip <>", value, "ip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIpGreaterThan(String value) {
|
|
|
+ addCriterion("ip >", value, "ip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIpGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("ip >=", value, "ip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIpLessThan(String value) {
|
|
|
+ addCriterion("ip <", value, "ip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIpLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("ip <=", value, "ip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIpLike(String value) {
|
|
|
+ addCriterion("ip like", value, "ip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIpNotLike(String value) {
|
|
|
+ addCriterion("ip not like", value, "ip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIpIn(List<String> values) {
|
|
|
+ addCriterion("ip in", values, "ip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIpNotIn(List<String> values) {
|
|
|
+ addCriterion("ip not in", values, "ip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIpBetween(String value1, String value2) {
|
|
|
+ addCriterion("ip between", value1, value2, "ip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andIpNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("ip not between", value1, value2, "ip");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPortIsNull() {
|
|
|
+ addCriterion("port is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPortIsNotNull() {
|
|
|
+ addCriterion("port is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPortEqualTo(Integer value) {
|
|
|
+ addCriterion("port =", value, "port");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPortNotEqualTo(Integer value) {
|
|
|
+ addCriterion("port <>", value, "port");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPortGreaterThan(Integer value) {
|
|
|
+ addCriterion("port >", value, "port");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPortGreaterThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("port >=", value, "port");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPortLessThan(Integer value) {
|
|
|
+ addCriterion("port <", value, "port");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPortLessThanOrEqualTo(Integer value) {
|
|
|
+ addCriterion("port <=", value, "port");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPortIn(List<Integer> values) {
|
|
|
+ addCriterion("port in", values, "port");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPortNotIn(List<Integer> values) {
|
|
|
+ addCriterion("port not in", values, "port");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPortBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("port between", value1, value2, "port");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPortNotBetween(Integer value1, Integer value2) {
|
|
|
+ addCriterion("port not between", value1, value2, "port");
|
|
|
+ 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 andPasswordIsNull() {
|
|
|
+ addCriterion("password is null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPasswordIsNotNull() {
|
|
|
+ addCriterion("password is not null");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPasswordEqualTo(String value) {
|
|
|
+ addCriterion("password =", value, "password");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPasswordNotEqualTo(String value) {
|
|
|
+ addCriterion("password <>", value, "password");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPasswordGreaterThan(String value) {
|
|
|
+ addCriterion("password >", value, "password");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPasswordGreaterThanOrEqualTo(String value) {
|
|
|
+ addCriterion("password >=", value, "password");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPasswordLessThan(String value) {
|
|
|
+ addCriterion("password <", value, "password");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPasswordLessThanOrEqualTo(String value) {
|
|
|
+ addCriterion("password <=", value, "password");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPasswordLike(String value) {
|
|
|
+ addCriterion("password like", value, "password");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPasswordNotLike(String value) {
|
|
|
+ addCriterion("password not like", value, "password");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPasswordIn(List<String> values) {
|
|
|
+ addCriterion("password in", values, "password");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPasswordNotIn(List<String> values) {
|
|
|
+ addCriterion("password not in", values, "password");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPasswordBetween(String value1, String value2) {
|
|
|
+ addCriterion("password between", value1, value2, "password");
|
|
|
+ return (Criteria) this;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Criteria andPasswordNotBetween(String value1, String value2) {
|
|
|
+ addCriterion("password not between", value1, value2, "password");
|
|
|
+ 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);
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|