首页>代码>基于SSM的办公管理系统代码分享>/my-project/src/com/app/bean/KcxxExample.java
package com.app.bean;

import java.util.ArrayList;
import java.util.List;

public class KcxxExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public KcxxExample() {
        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 andWpmcIsNull() {
            addCriterion("wpmc is null");
            return (Criteria) this;
        }

        public Criteria andWpmcIsNotNull() {
            addCriterion("wpmc is not null");
            return (Criteria) this;
        }

        public Criteria andWpmcEqualTo(String value) {
            addCriterion("wpmc =", value, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcNotEqualTo(String value) {
            addCriterion("wpmc <>", value, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcGreaterThan(String value) {
            addCriterion("wpmc >", value, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcGreaterThanOrEqualTo(String value) {
            addCriterion("wpmc >=", value, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcLessThan(String value) {
            addCriterion("wpmc <", value, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcLessThanOrEqualTo(String value) {
            addCriterion("wpmc <=", value, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcLike(String value) {
            addCriterion("wpmc like", value, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcNotLike(String value) {
            addCriterion("wpmc not like", value, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcIn(List<String> values) {
            addCriterion("wpmc in", values, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcNotIn(List<String> values) {
            addCriterion("wpmc not in", values, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcBetween(String value1, String value2) {
            addCriterion("wpmc between", value1, value2, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpmcNotBetween(String value1, String value2) {
            addCriterion("wpmc not between", value1, value2, "wpmc");
            return (Criteria) this;
        }

        public Criteria andWpxhIsNull() {
            addCriterion("wpxh is null");
            return (Criteria) this;
        }

        public Criteria andWpxhIsNotNull() {
            addCriterion("wpxh is not null");
            return (Criteria) this;
        }

        public Criteria andWpxhEqualTo(String value) {
            addCriterion("wpxh =", value, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhNotEqualTo(String value) {
            addCriterion("wpxh <>", value, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhGreaterThan(String value) {
            addCriterion("wpxh >", value, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhGreaterThanOrEqualTo(String value) {
            addCriterion("wpxh >=", value, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhLessThan(String value) {
            addCriterion("wpxh <", value, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhLessThanOrEqualTo(String value) {
            addCriterion("wpxh <=", value, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhLike(String value) {
            addCriterion("wpxh like", value, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhNotLike(String value) {
            addCriterion("wpxh not like", value, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhIn(List<String> values) {
            addCriterion("wpxh in", values, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhNotIn(List<String> values) {
            addCriterion("wpxh not in", values, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhBetween(String value1, String value2) {
            addCriterion("wpxh between", value1, value2, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpxhNotBetween(String value1, String value2) {
            addCriterion("wpxh not between", value1, value2, "wpxh");
            return (Criteria) this;
        }

        public Criteria andWpCountIsNull() {
            addCriterion("wp_count is null");
            return (Criteria) this;
        }

        public Criteria andWpCountIsNotNull() {
            addCriterion("wp_count is not null");
            return (Criteria) this;
        }

        public Criteria andWpCountEqualTo(Integer value) {
            addCriterion("wp_count =", value, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountNotEqualTo(Integer value) {
            addCriterion("wp_count <>", value, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountGreaterThan(Integer value) {
            addCriterion("wp_count >", value, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("wp_count >=", value, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountLessThan(Integer value) {
            addCriterion("wp_count <", value, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountLessThanOrEqualTo(Integer value) {
            addCriterion("wp_count <=", value, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountIn(List<Integer> values) {
            addCriterion("wp_count in", values, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountNotIn(List<Integer> values) {
            addCriterion("wp_count not in", values, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountBetween(Integer value1, Integer value2) {
            addCriterion("wp_count between", value1, value2, "wpCount");
            return (Criteria) this;
        }

        public Criteria andWpCountNotBetween(Integer value1, Integer value2) {
            addCriterion("wp_count not between", value1, value2, "wpCount");
            return (Criteria) this;
        }

        public Criteria andUserField1IsNull() {
            addCriterion("user_field1 is null");
            return (Criteria) this;
        }

        public Criteria andUserField1IsNotNull() {
            addCriterion("user_field1 is not null");
            return (Criteria) this;
        }

        public Criteria andUserField1EqualTo(String value) {
            addCriterion("user_field1 =", value, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1NotEqualTo(String value) {
            addCriterion("user_field1 <>", value, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1GreaterThan(String value) {
            addCriterion("user_field1 >", value, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1GreaterThanOrEqualTo(String value) {
            addCriterion("user_field1 >=", value, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1LessThan(String value) {
            addCriterion("user_field1 <", value, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1LessThanOrEqualTo(String value) {
            addCriterion("user_field1 <=", value, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1Like(String value) {
            addCriterion("user_field1 like", value, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1NotLike(String value) {
            addCriterion("user_field1 not like", value, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1In(List<String> values) {
            addCriterion("user_field1 in", values, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1NotIn(List<String> values) {
            addCriterion("user_field1 not in", values, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1Between(String value1, String value2) {
            addCriterion("user_field1 between", value1, value2, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField1NotBetween(String value1, String value2) {
            addCriterion("user_field1 not between", value1, value2, "userField1");
            return (Criteria) this;
        }

        public Criteria andUserField2IsNull() {
            addCriterion("user_field2 is null");
            return (Criteria) this;
        }

        public Criteria andUserField2IsNotNull() {
            addCriterion("user_field2 is not null");
            return (Criteria) this;
        }

        public Criteria andUserField2EqualTo(String value) {
            addCriterion("user_field2 =", value, "userField2");
            return (Criteria) this;
        }

        public Criteria andUserField2NotEqualTo(String value) {
            addCriterion("user_field2 <>", value, "userField2");
            return (Criteria) this;
        }

        public Criteria andUserField2GreaterThan(String value) {
            addCriterion("user_field2 >", value, "userField2");
            return (Criteria) this;
        }

        public Criteria andUserField2GreaterThanOrEqualTo(String value) {
            addCriterion("user_field2 >=", value, "userField2");
            return (Criteria) this;
        }

        public Criteria andUserField2LessThan(String value) {
            addCriterion("user_field2 <", value, "userField2");
            return (Criteria) this;
        }

        public Criteria andUserField2LessThanOrEqualTo(String value) {
            addCriterion("user_field2 <=", value, "userField2");
            return (Criteria) this;
        }

        public Criteria andUserField2Like(String value) {
            addCriterion("user_field2 like", value, "userField2");
            return (Criteria) this;
        }

        public Criteria andUserField2NotLike(String value) {
            addCriterion("user_field2 not like", value, "userField2");
            return (Criteria) this;
        }

        public Criteria andUserField2In(List<String> values) {
            addCriterion("user_field2 in", values, "userField2");
            return (Criteria) this;
        }

        public Criteria andUserField2NotIn(List<String> values) {
            addCriterion("user_field2 not in", values, "userField2");
            return (Criteria) this;
        }

        public Criteria andUserField2Between(String value1, String value2) {
            addCriterion("user_field2 between", value1, value2, "userField2");
            return (Criteria) this;
        }

        public Criteria andUserField2NotBetween(String value1, String value2) {
            addCriterion("user_field2 not between", value1, value2, "userField2");
            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);
        }
    }
}
最近下载更多
thsgli  LV8 8月21日
lilitu  LV6 5月30日
wanglinddad  LV55 3月19日
全栈小陈  LV4 1月21日
noronoa  LV9 2023年9月22日
czsczd  LV3 2023年9月10日
xuweiwowzy  LV5 2023年8月10日
fuyouou  LV5 2023年7月6日
宇川晓寒  LV1 2023年6月14日
limuzi  LV7 2023年6月13日
最近浏览更多
杨秀益  LV1 11月7日
angaochong  LV5 10月14日
yimaoermao  LV1 9月14日
唐唐丶  LV34 9月12日
thsgli  LV8 8月21日
暂无贡献等级
chn-lei  LV2 7月31日
255921158  LV5 7月17日
asyssy 6月29日
暂无贡献等级
yunsgui  LV1 6月25日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友