|  | @@ -0,0 +1,580 @@
 | 
	
		
			
				|  |  | +package com.miniframe.model.system;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +import java.util.ArrayList;
 | 
	
		
			
				|  |  | +import java.util.List;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +public class DWaynodeSQLBuilder {
 | 
	
		
			
				|  |  | +    protected String orderByClause;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    protected boolean distinct;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    protected List<Criteria> oredCriteria;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +    public DWaynodeSQLBuilder() {
 | 
	
		
			
				|  |  | +        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 andWidIsNull() {
 | 
	
		
			
				|  |  | +            addCriterion("wid is null");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andWidIsNotNull() {
 | 
	
		
			
				|  |  | +            addCriterion("wid is not null");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andWidEqualTo(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("wid =", value, "wid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andWidNotEqualTo(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("wid <>", value, "wid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andWidGreaterThan(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("wid >", value, "wid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andWidGreaterThanOrEqualTo(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("wid >=", value, "wid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andWidLessThan(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("wid <", value, "wid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andWidLessThanOrEqualTo(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("wid <=", value, "wid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andWidIn(List<Integer> values) {
 | 
	
		
			
				|  |  | +            addCriterion("wid in", values, "wid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andWidNotIn(List<Integer> values) {
 | 
	
		
			
				|  |  | +            addCriterion("wid not in", values, "wid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andWidBetween(Integer value1, Integer value2) {
 | 
	
		
			
				|  |  | +            addCriterion("wid between", value1, value2, "wid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andWidNotBetween(Integer value1, Integer value2) {
 | 
	
		
			
				|  |  | +            addCriterion("wid not between", value1, value2, "wid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNidIsNull() {
 | 
	
		
			
				|  |  | +            addCriterion("nid is null");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNidIsNotNull() {
 | 
	
		
			
				|  |  | +            addCriterion("nid is not null");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNidEqualTo(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("nid =", value, "nid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNidNotEqualTo(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("nid <>", value, "nid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNidGreaterThan(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("nid >", value, "nid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNidGreaterThanOrEqualTo(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("nid >=", value, "nid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNidLessThan(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("nid <", value, "nid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNidLessThanOrEqualTo(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("nid <=", value, "nid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNidIn(List<Integer> values) {
 | 
	
		
			
				|  |  | +            addCriterion("nid in", values, "nid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNidNotIn(List<Integer> values) {
 | 
	
		
			
				|  |  | +            addCriterion("nid not in", values, "nid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNidBetween(Integer value1, Integer value2) {
 | 
	
		
			
				|  |  | +            addCriterion("nid between", value1, value2, "nid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNidNotBetween(Integer value1, Integer value2) {
 | 
	
		
			
				|  |  | +            addCriterion("nid not between", value1, value2, "nid");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNnameIsNull() {
 | 
	
		
			
				|  |  | +            addCriterion("nname is null");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNnameIsNotNull() {
 | 
	
		
			
				|  |  | +            addCriterion("nname is not null");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNnameEqualTo(String value) {
 | 
	
		
			
				|  |  | +            addCriterion("nname =", value, "nname");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNnameNotEqualTo(String value) {
 | 
	
		
			
				|  |  | +            addCriterion("nname <>", value, "nname");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNnameGreaterThan(String value) {
 | 
	
		
			
				|  |  | +            addCriterion("nname >", value, "nname");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNnameGreaterThanOrEqualTo(String value) {
 | 
	
		
			
				|  |  | +            addCriterion("nname >=", value, "nname");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNnameLessThan(String value) {
 | 
	
		
			
				|  |  | +            addCriterion("nname <", value, "nname");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNnameLessThanOrEqualTo(String value) {
 | 
	
		
			
				|  |  | +            addCriterion("nname <=", value, "nname");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNnameLike(String value) {
 | 
	
		
			
				|  |  | +            addCriterion("nname like", value, "nname");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNnameNotLike(String value) {
 | 
	
		
			
				|  |  | +            addCriterion("nname not like", value, "nname");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNnameIn(List<String> values) {
 | 
	
		
			
				|  |  | +            addCriterion("nname in", values, "nname");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNnameNotIn(List<String> values) {
 | 
	
		
			
				|  |  | +            addCriterion("nname not in", values, "nname");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNnameBetween(String value1, String value2) {
 | 
	
		
			
				|  |  | +            addCriterion("nname between", value1, value2, "nname");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNnameNotBetween(String value1, String value2) {
 | 
	
		
			
				|  |  | +            addCriterion("nname not between", value1, value2, "nname");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNcodeIsNull() {
 | 
	
		
			
				|  |  | +            addCriterion("ncode is null");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNcodeIsNotNull() {
 | 
	
		
			
				|  |  | +            addCriterion("ncode is not null");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNcodeEqualTo(String value) {
 | 
	
		
			
				|  |  | +            addCriterion("ncode =", value, "ncode");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNcodeNotEqualTo(String value) {
 | 
	
		
			
				|  |  | +            addCriterion("ncode <>", value, "ncode");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNcodeGreaterThan(String value) {
 | 
	
		
			
				|  |  | +            addCriterion("ncode >", value, "ncode");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNcodeGreaterThanOrEqualTo(String value) {
 | 
	
		
			
				|  |  | +            addCriterion("ncode >=", value, "ncode");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNcodeLessThan(String value) {
 | 
	
		
			
				|  |  | +            addCriterion("ncode <", value, "ncode");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNcodeLessThanOrEqualTo(String value) {
 | 
	
		
			
				|  |  | +            addCriterion("ncode <=", value, "ncode");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNcodeLike(String value) {
 | 
	
		
			
				|  |  | +            addCriterion("ncode like", value, "ncode");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNcodeNotLike(String value) {
 | 
	
		
			
				|  |  | +            addCriterion("ncode not like", value, "ncode");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNcodeIn(List<String> values) {
 | 
	
		
			
				|  |  | +            addCriterion("ncode in", values, "ncode");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNcodeNotIn(List<String> values) {
 | 
	
		
			
				|  |  | +            addCriterion("ncode not in", values, "ncode");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNcodeBetween(String value1, String value2) {
 | 
	
		
			
				|  |  | +            addCriterion("ncode between", value1, value2, "ncode");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andNcodeNotBetween(String value1, String value2) {
 | 
	
		
			
				|  |  | +            addCriterion("ncode not between", value1, value2, "ncode");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andSeqIsNull() {
 | 
	
		
			
				|  |  | +            addCriterion("seq is null");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andSeqIsNotNull() {
 | 
	
		
			
				|  |  | +            addCriterion("seq is not null");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andSeqEqualTo(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("seq =", value, "seq");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andSeqNotEqualTo(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("seq <>", value, "seq");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andSeqGreaterThan(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("seq >", value, "seq");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andSeqGreaterThanOrEqualTo(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("seq >=", value, "seq");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andSeqLessThan(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("seq <", value, "seq");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andSeqLessThanOrEqualTo(Integer value) {
 | 
	
		
			
				|  |  | +            addCriterion("seq <=", value, "seq");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andSeqIn(List<Integer> values) {
 | 
	
		
			
				|  |  | +            addCriterion("seq in", values, "seq");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andSeqNotIn(List<Integer> values) {
 | 
	
		
			
				|  |  | +            addCriterion("seq not in", values, "seq");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andSeqBetween(Integer value1, Integer value2) {
 | 
	
		
			
				|  |  | +            addCriterion("seq between", value1, value2, "seq");
 | 
	
		
			
				|  |  | +            return (Criteria) this;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        public Criteria andSeqNotBetween(Integer value1, Integer value2) {
 | 
	
		
			
				|  |  | +            addCriterion("seq not between", value1, value2, "seq");
 | 
	
		
			
				|  |  | +            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);
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +}
 |