package org.linlinjava.jz.db.domain;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

public class JzCampaignExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    public JzCampaignExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    public JzCampaignExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    public JzCampaignExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    public static Criteria newAndCreateCriteria() {
        JzCampaignExample example = new JzCampaignExample();
        return example.createCriteria();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    public JzCampaignExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    public JzCampaignExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    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 andIdEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("id <= ").append(column.getEscapedColumnName()).toString());
            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 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 andNameEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("`name` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("`name` <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("`name` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("`name` >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("`name` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("`name` >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("`name` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("`name` <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("`name` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("`name` <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("`name` <= ").append(column.getEscapedColumnName()).toString());
            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 andTypeIsNull() {
            addCriterion("`type` is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("`type` is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Short value) {
            addCriterion("`type` =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("`type` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Short value) {
            addCriterion("`type` <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("`type` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Short value) {
            addCriterion("`type` >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("`type` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Short value) {
            addCriterion("`type` >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("`type` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Short value) {
            addCriterion("`type` <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("`type` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Short value) {
            addCriterion("`type` <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("`type` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Short> values) {
            addCriterion("`type` in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Short> values) {
            addCriterion("`type` not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Short value1, Short value2) {
            addCriterion("`type` between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Short value1, Short value2) {
            addCriterion("`type` not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("remark = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andRemarkNotEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("remark <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("remark > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andRemarkGreaterThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("remark >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("remark < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andRemarkLessThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("remark <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andDeletedIsNull() {
            addCriterion("deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andAssignedStartIsNull() {
            addCriterion("assigned_start is null");
            return (Criteria) this;
        }

        public Criteria andAssignedStartIsNotNull() {
            addCriterion("assigned_start is not null");
            return (Criteria) this;
        }

        public Criteria andAssignedStartEqualTo(String value) {
            addCriterion("assigned_start =", value, "assignedStart");
            return (Criteria) this;
        }

        public Criteria andAssignedStartEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("assigned_start = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAssignedStartNotEqualTo(String value) {
            addCriterion("assigned_start <>", value, "assignedStart");
            return (Criteria) this;
        }

        public Criteria andAssignedStartNotEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("assigned_start <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAssignedStartGreaterThan(String value) {
            addCriterion("assigned_start >", value, "assignedStart");
            return (Criteria) this;
        }

        public Criteria andAssignedStartGreaterThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("assigned_start > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAssignedStartGreaterThanOrEqualTo(String value) {
            addCriterion("assigned_start >=", value, "assignedStart");
            return (Criteria) this;
        }

        public Criteria andAssignedStartGreaterThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("assigned_start >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAssignedStartLessThan(String value) {
            addCriterion("assigned_start <", value, "assignedStart");
            return (Criteria) this;
        }

        public Criteria andAssignedStartLessThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("assigned_start < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAssignedStartLessThanOrEqualTo(String value) {
            addCriterion("assigned_start <=", value, "assignedStart");
            return (Criteria) this;
        }

        public Criteria andAssignedStartLessThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("assigned_start <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAssignedStartLike(String value) {
            addCriterion("assigned_start like", value, "assignedStart");
            return (Criteria) this;
        }

        public Criteria andAssignedStartNotLike(String value) {
            addCriterion("assigned_start not like", value, "assignedStart");
            return (Criteria) this;
        }

        public Criteria andAssignedStartIn(List<String> values) {
            addCriterion("assigned_start in", values, "assignedStart");
            return (Criteria) this;
        }

        public Criteria andAssignedStartNotIn(List<String> values) {
            addCriterion("assigned_start not in", values, "assignedStart");
            return (Criteria) this;
        }

        public Criteria andAssignedStartBetween(String value1, String value2) {
            addCriterion("assigned_start between", value1, value2, "assignedStart");
            return (Criteria) this;
        }

        public Criteria andAssignedStartNotBetween(String value1, String value2) {
            addCriterion("assigned_start not between", value1, value2, "assignedStart");
            return (Criteria) this;
        }

        public Criteria andAssignedEndIsNull() {
            addCriterion("assigned_end is null");
            return (Criteria) this;
        }

        public Criteria andAssignedEndIsNotNull() {
            addCriterion("assigned_end is not null");
            return (Criteria) this;
        }

        public Criteria andAssignedEndEqualTo(String value) {
            addCriterion("assigned_end =", value, "assignedEnd");
            return (Criteria) this;
        }

        public Criteria andAssignedEndEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("assigned_end = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAssignedEndNotEqualTo(String value) {
            addCriterion("assigned_end <>", value, "assignedEnd");
            return (Criteria) this;
        }

        public Criteria andAssignedEndNotEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("assigned_end <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAssignedEndGreaterThan(String value) {
            addCriterion("assigned_end >", value, "assignedEnd");
            return (Criteria) this;
        }

        public Criteria andAssignedEndGreaterThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("assigned_end > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAssignedEndGreaterThanOrEqualTo(String value) {
            addCriterion("assigned_end >=", value, "assignedEnd");
            return (Criteria) this;
        }

        public Criteria andAssignedEndGreaterThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("assigned_end >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAssignedEndLessThan(String value) {
            addCriterion("assigned_end <", value, "assignedEnd");
            return (Criteria) this;
        }

        public Criteria andAssignedEndLessThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("assigned_end < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAssignedEndLessThanOrEqualTo(String value) {
            addCriterion("assigned_end <=", value, "assignedEnd");
            return (Criteria) this;
        }

        public Criteria andAssignedEndLessThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("assigned_end <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andAssignedEndLike(String value) {
            addCriterion("assigned_end like", value, "assignedEnd");
            return (Criteria) this;
        }

        public Criteria andAssignedEndNotLike(String value) {
            addCriterion("assigned_end not like", value, "assignedEnd");
            return (Criteria) this;
        }

        public Criteria andAssignedEndIn(List<String> values) {
            addCriterion("assigned_end in", values, "assignedEnd");
            return (Criteria) this;
        }

        public Criteria andAssignedEndNotIn(List<String> values) {
            addCriterion("assigned_end not in", values, "assignedEnd");
            return (Criteria) this;
        }

        public Criteria andAssignedEndBetween(String value1, String value2) {
            addCriterion("assigned_end between", value1, value2, "assignedEnd");
            return (Criteria) this;
        }

        public Criteria andAssignedEndNotBetween(String value1, String value2) {
            addCriterion("assigned_end not between", value1, value2, "assignedEnd");
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineIsNull() {
            addCriterion("is_csr_online is null");
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineIsNotNull() {
            addCriterion("is_csr_online is not null");
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineEqualTo(Boolean value) {
            addCriterion("is_csr_online =", value, "isCsrOnline");
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_csr_online = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineNotEqualTo(Boolean value) {
            addCriterion("is_csr_online <>", value, "isCsrOnline");
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineNotEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_csr_online <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineGreaterThan(Boolean value) {
            addCriterion("is_csr_online >", value, "isCsrOnline");
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineGreaterThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_csr_online > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_csr_online >=", value, "isCsrOnline");
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineGreaterThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_csr_online >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineLessThan(Boolean value) {
            addCriterion("is_csr_online <", value, "isCsrOnline");
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineLessThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_csr_online < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineLessThanOrEqualTo(Boolean value) {
            addCriterion("is_csr_online <=", value, "isCsrOnline");
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineLessThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_csr_online <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineIn(List<Boolean> values) {
            addCriterion("is_csr_online in", values, "isCsrOnline");
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineNotIn(List<Boolean> values) {
            addCriterion("is_csr_online not in", values, "isCsrOnline");
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineBetween(Boolean value1, Boolean value2) {
            addCriterion("is_csr_online between", value1, value2, "isCsrOnline");
            return (Criteria) this;
        }

        public Criteria andIsCsrOnlineNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_csr_online not between", value1, value2, "isCsrOnline");
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedIsNull() {
            addCriterion("is_auto_assigned is null");
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedIsNotNull() {
            addCriterion("is_auto_assigned is not null");
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedEqualTo(Boolean value) {
            addCriterion("is_auto_assigned =", value, "isAutoAssigned");
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_auto_assigned = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedNotEqualTo(Boolean value) {
            addCriterion("is_auto_assigned <>", value, "isAutoAssigned");
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedNotEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_auto_assigned <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedGreaterThan(Boolean value) {
            addCriterion("is_auto_assigned >", value, "isAutoAssigned");
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedGreaterThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_auto_assigned > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_auto_assigned >=", value, "isAutoAssigned");
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedGreaterThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_auto_assigned >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedLessThan(Boolean value) {
            addCriterion("is_auto_assigned <", value, "isAutoAssigned");
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedLessThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_auto_assigned < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedLessThanOrEqualTo(Boolean value) {
            addCriterion("is_auto_assigned <=", value, "isAutoAssigned");
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedLessThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_auto_assigned <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedIn(List<Boolean> values) {
            addCriterion("is_auto_assigned in", values, "isAutoAssigned");
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedNotIn(List<Boolean> values) {
            addCriterion("is_auto_assigned not in", values, "isAutoAssigned");
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedBetween(Boolean value1, Boolean value2) {
            addCriterion("is_auto_assigned between", value1, value2, "isAutoAssigned");
            return (Criteria) this;
        }

        public Criteria andIsAutoAssignedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_auto_assigned not between", value1, value2, "isAutoAssigned");
            return (Criteria) this;
        }

        public Criteria andIsNightRunIsNull() {
            addCriterion("is_night_run is null");
            return (Criteria) this;
        }

        public Criteria andIsNightRunIsNotNull() {
            addCriterion("is_night_run is not null");
            return (Criteria) this;
        }

        public Criteria andIsNightRunEqualTo(Boolean value) {
            addCriterion("is_night_run =", value, "isNightRun");
            return (Criteria) this;
        }

        public Criteria andIsNightRunEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_night_run = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsNightRunNotEqualTo(Boolean value) {
            addCriterion("is_night_run <>", value, "isNightRun");
            return (Criteria) this;
        }

        public Criteria andIsNightRunNotEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_night_run <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsNightRunGreaterThan(Boolean value) {
            addCriterion("is_night_run >", value, "isNightRun");
            return (Criteria) this;
        }

        public Criteria andIsNightRunGreaterThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_night_run > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsNightRunGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_night_run >=", value, "isNightRun");
            return (Criteria) this;
        }

        public Criteria andIsNightRunGreaterThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_night_run >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsNightRunLessThan(Boolean value) {
            addCriterion("is_night_run <", value, "isNightRun");
            return (Criteria) this;
        }

        public Criteria andIsNightRunLessThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_night_run < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsNightRunLessThanOrEqualTo(Boolean value) {
            addCriterion("is_night_run <=", value, "isNightRun");
            return (Criteria) this;
        }

        public Criteria andIsNightRunLessThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("is_night_run <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIsNightRunIn(List<Boolean> values) {
            addCriterion("is_night_run in", values, "isNightRun");
            return (Criteria) this;
        }

        public Criteria andIsNightRunNotIn(List<Boolean> values) {
            addCriterion("is_night_run not in", values, "isNightRun");
            return (Criteria) this;
        }

        public Criteria andIsNightRunBetween(Boolean value1, Boolean value2) {
            addCriterion("is_night_run between", value1, value2, "isNightRun");
            return (Criteria) this;
        }

        public Criteria andIsNightRunNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_night_run not between", value1, value2, "isNightRun");
            return (Criteria) this;
        }

        public Criteria andCustomSqlIsNull() {
            addCriterion("custom_sql is null");
            return (Criteria) this;
        }

        public Criteria andCustomSqlIsNotNull() {
            addCriterion("custom_sql is not null");
            return (Criteria) this;
        }

        public Criteria andCustomSqlEqualTo(String value) {
            addCriterion("custom_sql =", value, "customSql");
            return (Criteria) this;
        }

        public Criteria andCustomSqlEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("custom_sql = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomSqlNotEqualTo(String value) {
            addCriterion("custom_sql <>", value, "customSql");
            return (Criteria) this;
        }

        public Criteria andCustomSqlNotEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("custom_sql <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomSqlGreaterThan(String value) {
            addCriterion("custom_sql >", value, "customSql");
            return (Criteria) this;
        }

        public Criteria andCustomSqlGreaterThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("custom_sql > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomSqlGreaterThanOrEqualTo(String value) {
            addCriterion("custom_sql >=", value, "customSql");
            return (Criteria) this;
        }

        public Criteria andCustomSqlGreaterThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("custom_sql >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomSqlLessThan(String value) {
            addCriterion("custom_sql <", value, "customSql");
            return (Criteria) this;
        }

        public Criteria andCustomSqlLessThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("custom_sql < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomSqlLessThanOrEqualTo(String value) {
            addCriterion("custom_sql <=", value, "customSql");
            return (Criteria) this;
        }

        public Criteria andCustomSqlLessThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("custom_sql <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomSqlLike(String value) {
            addCriterion("custom_sql like", value, "customSql");
            return (Criteria) this;
        }

        public Criteria andCustomSqlNotLike(String value) {
            addCriterion("custom_sql not like", value, "customSql");
            return (Criteria) this;
        }

        public Criteria andCustomSqlIn(List<String> values) {
            addCriterion("custom_sql in", values, "customSql");
            return (Criteria) this;
        }

        public Criteria andCustomSqlNotIn(List<String> values) {
            addCriterion("custom_sql not in", values, "customSql");
            return (Criteria) this;
        }

        public Criteria andCustomSqlBetween(String value1, String value2) {
            addCriterion("custom_sql between", value1, value2, "customSql");
            return (Criteria) this;
        }

        public Criteria andCustomSqlNotBetween(String value1, String value2) {
            addCriterion("custom_sql not between", value1, value2, "customSql");
            return (Criteria) this;
        }

        public Criteria andFaqIsNull() {
            addCriterion("faq is null");
            return (Criteria) this;
        }

        public Criteria andFaqIsNotNull() {
            addCriterion("faq is not null");
            return (Criteria) this;
        }

        public Criteria andFaqEqualTo(String value) {
            addCriterion("faq =", value, "faq");
            return (Criteria) this;
        }

        public Criteria andFaqEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("faq = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andFaqNotEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("faq <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFaqGreaterThan(String value) {
            addCriterion("faq >", value, "faq");
            return (Criteria) this;
        }

        public Criteria andFaqGreaterThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("faq > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andFaqGreaterThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("faq >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFaqLessThan(String value) {
            addCriterion("faq <", value, "faq");
            return (Criteria) this;
        }

        public Criteria andFaqLessThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("faq < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andFaqLessThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("faq <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andFaqLike(String value) {
            addCriterion("faq like", value, "faq");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(LocalDateTime value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("create_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(LocalDateTime value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("create_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(LocalDateTime value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("create_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("create_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(LocalDateTime value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("create_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("create_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<LocalDateTime> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<LocalDateTime> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("create_user is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("create_user is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(Integer value) {
            addCriterion("create_user =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("create_user = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(Integer value) {
            addCriterion("create_user <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("create_user <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(Integer value) {
            addCriterion("create_user >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("create_user > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(Integer value) {
            addCriterion("create_user >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("create_user >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(Integer value) {
            addCriterion("create_user <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("create_user < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(Integer value) {
            addCriterion("create_user <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("create_user <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<Integer> values) {
            addCriterion("create_user in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<Integer> values) {
            addCriterion("create_user not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(Integer value1, Integer value2) {
            addCriterion("create_user between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(Integer value1, Integer value2) {
            addCriterion("create_user not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(LocalDateTime value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("update_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(LocalDateTime value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("update_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(LocalDateTime value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("update_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("update_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(LocalDateTime value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("update_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("update_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<LocalDateTime> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<LocalDateTime> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("update_user is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("update_user is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(Integer value) {
            addCriterion("update_user =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("update_user = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(Integer value) {
            addCriterion("update_user <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("update_user <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(Integer value) {
            addCriterion("update_user >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("update_user > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(Integer value) {
            addCriterion("update_user >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("update_user >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(Integer value) {
            addCriterion("update_user <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("update_user < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(Integer value) {
            addCriterion("update_user <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(JzCampaign.Column column) {
            addCriterion(new StringBuilder("update_user <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<Integer> values) {
            addCriterion("update_user in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<Integer> values) {
            addCriterion("update_user not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(Integer value1, Integer value2) {
            addCriterion("update_user between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(Integer value1, Integer value2) {
            addCriterion("update_user not between", value1, value2, "updateUser");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table jz_campaign
     *
     * @mbg.generated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {
        /**
         * This field was generated by MyBatis Generator.
         * This field corresponds to the database table jz_campaign
         *
         * @mbg.generated
         */
        private JzCampaignExample example;

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table jz_campaign
         *
         * @mbg.generated
         */
        protected Criteria(JzCampaignExample example) {
            super();
            this.example = example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table jz_campaign
         *
         * @mbg.generated
         */
        public JzCampaignExample example() {
            return this.example;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table jz_campaign
         *
         * @mbg.generated
         */
        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table jz_campaign
         *
         * @mbg.generated
         */
        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table jz_campaign
         *
         * @mbg.generated
         */
        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table jz_campaign
         *
         * @mbg.generated
         */
        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(JzCampaign.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(JzCampaign.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            /**
             * This method was generated by MyBatis Generator.
             * This method corresponds to the database table jz_campaign
             *
             * @mbg.generated
             */
            Criteria add(Criteria add);
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table jz_campaign
     *
     * @mbg.generated
     */
    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);
        }
    }

    public interface ICriteriaWhen {
        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table jz_campaign
         *
         * @mbg.generated
         */
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table jz_campaign
         *
         * @mbg.generated
         */
        void example(org.linlinjava.jz.db.domain.JzCampaignExample example);
    }
}