package org.linlinjava.jz.db.domain;

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_ticket
     *
     * @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_ticket
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_ticket
     *
     * @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_ticket
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_ticket
     *
     * @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_ticket
     *
     * @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_ticket
     *
     * @mbg.generated
     */
    public JzTicketExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_ticket
     *
     * @mbg.generated
     */
    public JzTicketExample 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_ticket
     *
     * @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_ticket
     *
     * @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_ticket
     *
     * @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_ticket
     *
     * @mbg.generated
     */
    public static Criteria newAndCreateCriteria() {
        JzTicketExample example = new JzTicketExample();
        return example.createCriteria();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table jz_ticket
     *
     * @mbg.generated
     */
    public JzTicketExample 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_ticket
     *
     * @mbg.generated
     */
    public JzTicketExample 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_ticket
     *
     * @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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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 andTicketSnIsNull() {
            addCriterion("ticket_sn is null");
            return (Criteria) this;
        }

        public Criteria andTicketSnIsNotNull() {
            addCriterion("ticket_sn is not null");
            return (Criteria) this;
        }

        public Criteria andTicketSnEqualTo(String value) {
            addCriterion("ticket_sn =", value, "ticketSn");
            return (Criteria) this;
        }

        public Criteria andTicketSnEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_sn = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketSnNotEqualTo(String value) {
            addCriterion("ticket_sn <>", value, "ticketSn");
            return (Criteria) this;
        }

        public Criteria andTicketSnNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_sn <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketSnGreaterThan(String value) {
            addCriterion("ticket_sn >", value, "ticketSn");
            return (Criteria) this;
        }

        public Criteria andTicketSnGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_sn > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketSnGreaterThanOrEqualTo(String value) {
            addCriterion("ticket_sn >=", value, "ticketSn");
            return (Criteria) this;
        }

        public Criteria andTicketSnGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_sn >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketSnLessThan(String value) {
            addCriterion("ticket_sn <", value, "ticketSn");
            return (Criteria) this;
        }

        public Criteria andTicketSnLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_sn < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketSnLessThanOrEqualTo(String value) {
            addCriterion("ticket_sn <=", value, "ticketSn");
            return (Criteria) this;
        }

        public Criteria andTicketSnLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_sn <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketSnLike(String value) {
            addCriterion("ticket_sn like", value, "ticketSn");
            return (Criteria) this;
        }

        public Criteria andTicketSnNotLike(String value) {
            addCriterion("ticket_sn not like", value, "ticketSn");
            return (Criteria) this;
        }

        public Criteria andTicketSnIn(List<String> values) {
            addCriterion("ticket_sn in", values, "ticketSn");
            return (Criteria) this;
        }

        public Criteria andTicketSnNotIn(List<String> values) {
            addCriterion("ticket_sn not in", values, "ticketSn");
            return (Criteria) this;
        }

        public Criteria andTicketSnBetween(String value1, String value2) {
            addCriterion("ticket_sn between", value1, value2, "ticketSn");
            return (Criteria) this;
        }

        public Criteria andTicketSnNotBetween(String value1, String value2) {
            addCriterion("ticket_sn not between", value1, value2, "ticketSn");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNull() {
            addCriterion("customer_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNotNull() {
            addCriterion("customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdEqualTo(Integer value) {
            addCriterion("customer_id =", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("customer_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotEqualTo(Integer value) {
            addCriterion("customer_id <>", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("customer_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThan(Integer value) {
            addCriterion("customer_id >", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("customer_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("customer_id >=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("customer_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThan(Integer value) {
            addCriterion("customer_id <", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("customer_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThanOrEqualTo(Integer value) {
            addCriterion("customer_id <=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("customer_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCustomerIdIn(List<Integer> values) {
            addCriterion("customer_id in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotIn(List<Integer> values) {
            addCriterion("customer_id not in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdBetween(Integer value1, Integer value2) {
            addCriterion("customer_id between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotBetween(Integer value1, Integer value2) {
            addCriterion("customer_id not between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andTicketTitleIsNull() {
            addCriterion("ticket_title is null");
            return (Criteria) this;
        }

        public Criteria andTicketTitleIsNotNull() {
            addCriterion("ticket_title is not null");
            return (Criteria) this;
        }

        public Criteria andTicketTitleEqualTo(String value) {
            addCriterion("ticket_title =", value, "ticketTitle");
            return (Criteria) this;
        }

        public Criteria andTicketTitleEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_title = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketTitleNotEqualTo(String value) {
            addCriterion("ticket_title <>", value, "ticketTitle");
            return (Criteria) this;
        }

        public Criteria andTicketTitleNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_title <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketTitleGreaterThan(String value) {
            addCriterion("ticket_title >", value, "ticketTitle");
            return (Criteria) this;
        }

        public Criteria andTicketTitleGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_title > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketTitleGreaterThanOrEqualTo(String value) {
            addCriterion("ticket_title >=", value, "ticketTitle");
            return (Criteria) this;
        }

        public Criteria andTicketTitleGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_title >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketTitleLessThan(String value) {
            addCriterion("ticket_title <", value, "ticketTitle");
            return (Criteria) this;
        }

        public Criteria andTicketTitleLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_title < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketTitleLessThanOrEqualTo(String value) {
            addCriterion("ticket_title <=", value, "ticketTitle");
            return (Criteria) this;
        }

        public Criteria andTicketTitleLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_title <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketTitleLike(String value) {
            addCriterion("ticket_title like", value, "ticketTitle");
            return (Criteria) this;
        }

        public Criteria andTicketTitleNotLike(String value) {
            addCriterion("ticket_title not like", value, "ticketTitle");
            return (Criteria) this;
        }

        public Criteria andTicketTitleIn(List<String> values) {
            addCriterion("ticket_title in", values, "ticketTitle");
            return (Criteria) this;
        }

        public Criteria andTicketTitleNotIn(List<String> values) {
            addCriterion("ticket_title not in", values, "ticketTitle");
            return (Criteria) this;
        }

        public Criteria andTicketTitleBetween(String value1, String value2) {
            addCriterion("ticket_title between", value1, value2, "ticketTitle");
            return (Criteria) this;
        }

        public Criteria andTicketTitleNotBetween(String value1, String value2) {
            addCriterion("ticket_title not between", value1, value2, "ticketTitle");
            return (Criteria) this;
        }

        public Criteria andTicketDesIsNull() {
            addCriterion("ticket_des is null");
            return (Criteria) this;
        }

        public Criteria andTicketDesIsNotNull() {
            addCriterion("ticket_des is not null");
            return (Criteria) this;
        }

        public Criteria andTicketDesEqualTo(String value) {
            addCriterion("ticket_des =", value, "ticketDes");
            return (Criteria) this;
        }

        public Criteria andTicketDesEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_des = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketDesNotEqualTo(String value) {
            addCriterion("ticket_des <>", value, "ticketDes");
            return (Criteria) this;
        }

        public Criteria andTicketDesNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_des <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketDesGreaterThan(String value) {
            addCriterion("ticket_des >", value, "ticketDes");
            return (Criteria) this;
        }

        public Criteria andTicketDesGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_des > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketDesGreaterThanOrEqualTo(String value) {
            addCriterion("ticket_des >=", value, "ticketDes");
            return (Criteria) this;
        }

        public Criteria andTicketDesGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_des >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketDesLessThan(String value) {
            addCriterion("ticket_des <", value, "ticketDes");
            return (Criteria) this;
        }

        public Criteria andTicketDesLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_des < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketDesLessThanOrEqualTo(String value) {
            addCriterion("ticket_des <=", value, "ticketDes");
            return (Criteria) this;
        }

        public Criteria andTicketDesLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_des <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketDesLike(String value) {
            addCriterion("ticket_des like", value, "ticketDes");
            return (Criteria) this;
        }

        public Criteria andTicketDesNotLike(String value) {
            addCriterion("ticket_des not like", value, "ticketDes");
            return (Criteria) this;
        }

        public Criteria andTicketDesIn(List<String> values) {
            addCriterion("ticket_des in", values, "ticketDes");
            return (Criteria) this;
        }

        public Criteria andTicketDesNotIn(List<String> values) {
            addCriterion("ticket_des not in", values, "ticketDes");
            return (Criteria) this;
        }

        public Criteria andTicketDesBetween(String value1, String value2) {
            addCriterion("ticket_des between", value1, value2, "ticketDes");
            return (Criteria) this;
        }

        public Criteria andTicketDesNotBetween(String value1, String value2) {
            addCriterion("ticket_des not between", value1, value2, "ticketDes");
            return (Criteria) this;
        }

        public Criteria andTicketSpecialIsNull() {
            addCriterion("ticket_special is null");
            return (Criteria) this;
        }

        public Criteria andTicketSpecialIsNotNull() {
            addCriterion("ticket_special is not null");
            return (Criteria) this;
        }

        public Criteria andTicketSpecialEqualTo(String value) {
            addCriterion("ticket_special =", value, "ticketSpecial");
            return (Criteria) this;
        }

        public Criteria andTicketSpecialEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_special = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketSpecialNotEqualTo(String value) {
            addCriterion("ticket_special <>", value, "ticketSpecial");
            return (Criteria) this;
        }

        public Criteria andTicketSpecialNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_special <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketSpecialGreaterThan(String value) {
            addCriterion("ticket_special >", value, "ticketSpecial");
            return (Criteria) this;
        }

        public Criteria andTicketSpecialGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_special > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketSpecialGreaterThanOrEqualTo(String value) {
            addCriterion("ticket_special >=", value, "ticketSpecial");
            return (Criteria) this;
        }

        public Criteria andTicketSpecialGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_special >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketSpecialLessThan(String value) {
            addCriterion("ticket_special <", value, "ticketSpecial");
            return (Criteria) this;
        }

        public Criteria andTicketSpecialLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_special < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketSpecialLessThanOrEqualTo(String value) {
            addCriterion("ticket_special <=", value, "ticketSpecial");
            return (Criteria) this;
        }

        public Criteria andTicketSpecialLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_special <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketSpecialLike(String value) {
            addCriterion("ticket_special like", value, "ticketSpecial");
            return (Criteria) this;
        }

        public Criteria andTicketSpecialNotLike(String value) {
            addCriterion("ticket_special not like", value, "ticketSpecial");
            return (Criteria) this;
        }

        public Criteria andTicketSpecialIn(List<String> values) {
            addCriterion("ticket_special in", values, "ticketSpecial");
            return (Criteria) this;
        }

        public Criteria andTicketSpecialNotIn(List<String> values) {
            addCriterion("ticket_special not in", values, "ticketSpecial");
            return (Criteria) this;
        }

        public Criteria andTicketSpecialBetween(String value1, String value2) {
            addCriterion("ticket_special between", value1, value2, "ticketSpecial");
            return (Criteria) this;
        }

        public Criteria andTicketSpecialNotBetween(String value1, String value2) {
            addCriterion("ticket_special not between", value1, value2, "ticketSpecial");
            return (Criteria) this;
        }

        public Criteria andTicketLevelIsNull() {
            addCriterion("ticket_level is null");
            return (Criteria) this;
        }

        public Criteria andTicketLevelIsNotNull() {
            addCriterion("ticket_level is not null");
            return (Criteria) this;
        }

        public Criteria andTicketLevelEqualTo(Short value) {
            addCriterion("ticket_level =", value, "ticketLevel");
            return (Criteria) this;
        }

        public Criteria andTicketLevelEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_level = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketLevelNotEqualTo(Short value) {
            addCriterion("ticket_level <>", value, "ticketLevel");
            return (Criteria) this;
        }

        public Criteria andTicketLevelNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_level <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketLevelGreaterThan(Short value) {
            addCriterion("ticket_level >", value, "ticketLevel");
            return (Criteria) this;
        }

        public Criteria andTicketLevelGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_level > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketLevelGreaterThanOrEqualTo(Short value) {
            addCriterion("ticket_level >=", value, "ticketLevel");
            return (Criteria) this;
        }

        public Criteria andTicketLevelGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_level >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketLevelLessThan(Short value) {
            addCriterion("ticket_level <", value, "ticketLevel");
            return (Criteria) this;
        }

        public Criteria andTicketLevelLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_level < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketLevelLessThanOrEqualTo(Short value) {
            addCriterion("ticket_level <=", value, "ticketLevel");
            return (Criteria) this;
        }

        public Criteria andTicketLevelLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_level <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketLevelIn(List<Short> values) {
            addCriterion("ticket_level in", values, "ticketLevel");
            return (Criteria) this;
        }

        public Criteria andTicketLevelNotIn(List<Short> values) {
            addCriterion("ticket_level not in", values, "ticketLevel");
            return (Criteria) this;
        }

        public Criteria andTicketLevelBetween(Short value1, Short value2) {
            addCriterion("ticket_level between", value1, value2, "ticketLevel");
            return (Criteria) this;
        }

        public Criteria andTicketLevelNotBetween(Short value1, Short value2) {
            addCriterion("ticket_level not between", value1, value2, "ticketLevel");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIsNull() {
            addCriterion("ticket_type is null");
            return (Criteria) this;
        }

        public Criteria andTicketTypeIsNotNull() {
            addCriterion("ticket_type is not null");
            return (Criteria) this;
        }

        public Criteria andTicketTypeEqualTo(Integer value) {
            addCriterion("ticket_type =", value, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_type = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketTypeNotEqualTo(Integer value) {
            addCriterion("ticket_type <>", value, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_type <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketTypeGreaterThan(Integer value) {
            addCriterion("ticket_type >", value, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_type > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("ticket_type >=", value, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_type >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketTypeLessThan(Integer value) {
            addCriterion("ticket_type <", value, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_type < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketTypeLessThanOrEqualTo(Integer value) {
            addCriterion("ticket_type <=", value, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("ticket_type <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTicketTypeIn(List<Integer> values) {
            addCriterion("ticket_type in", values, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeNotIn(List<Integer> values) {
            addCriterion("ticket_type not in", values, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeBetween(Integer value1, Integer value2) {
            addCriterion("ticket_type between", value1, value2, "ticketType");
            return (Criteria) this;
        }

        public Criteria andTicketTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("ticket_type not between", value1, value2, "ticketType");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Integer value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("order_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Integer value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("order_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Integer value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("order_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("order_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Integer value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("order_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Integer value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("order_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Integer> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Integer> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Integer value1, Integer value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNull() {
            addCriterion("goods_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNotNull() {
            addCriterion("goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdEqualTo(Integer value) {
            addCriterion("goods_id =", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("goods_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotEqualTo(Integer value) {
            addCriterion("goods_id <>", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("goods_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThan(Integer value) {
            addCriterion("goods_id >", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("goods_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("goods_id >=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("goods_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThan(Integer value) {
            addCriterion("goods_id <", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("goods_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanOrEqualTo(Integer value) {
            addCriterion("goods_id <=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("goods_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andGoodsIdIn(List<Integer> values) {
            addCriterion("goods_id in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotIn(List<Integer> values) {
            addCriterion("goods_id not in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdBetween(Integer value1, Integer value2) {
            addCriterion("goods_id between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("goods_id not between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andTaskSourceIsNull() {
            addCriterion("task_source is null");
            return (Criteria) this;
        }

        public Criteria andTaskSourceIsNotNull() {
            addCriterion("task_source is not null");
            return (Criteria) this;
        }

        public Criteria andTaskSourceEqualTo(Integer value) {
            addCriterion("task_source =", value, "taskSource");
            return (Criteria) this;
        }

        public Criteria andTaskSourceEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("task_source = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTaskSourceNotEqualTo(Integer value) {
            addCriterion("task_source <>", value, "taskSource");
            return (Criteria) this;
        }

        public Criteria andTaskSourceNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("task_source <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTaskSourceGreaterThan(Integer value) {
            addCriterion("task_source >", value, "taskSource");
            return (Criteria) this;
        }

        public Criteria andTaskSourceGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("task_source > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTaskSourceGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_source >=", value, "taskSource");
            return (Criteria) this;
        }

        public Criteria andTaskSourceGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("task_source >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTaskSourceLessThan(Integer value) {
            addCriterion("task_source <", value, "taskSource");
            return (Criteria) this;
        }

        public Criteria andTaskSourceLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("task_source < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTaskSourceLessThanOrEqualTo(Integer value) {
            addCriterion("task_source <=", value, "taskSource");
            return (Criteria) this;
        }

        public Criteria andTaskSourceLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("task_source <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTaskSourceIn(List<Integer> values) {
            addCriterion("task_source in", values, "taskSource");
            return (Criteria) this;
        }

        public Criteria andTaskSourceNotIn(List<Integer> values) {
            addCriterion("task_source not in", values, "taskSource");
            return (Criteria) this;
        }

        public Criteria andTaskSourceBetween(Integer value1, Integer value2) {
            addCriterion("task_source between", value1, value2, "taskSource");
            return (Criteria) this;
        }

        public Criteria andTaskSourceNotBetween(Integer value1, Integer value2) {
            addCriterion("task_source not between", value1, value2, "taskSource");
            return (Criteria) this;
        }

        public Criteria andSourceIsNull() {
            addCriterion("`source` is null");
            return (Criteria) this;
        }

        public Criteria andSourceIsNotNull() {
            addCriterion("`source` is not null");
            return (Criteria) this;
        }

        public Criteria andSourceEqualTo(String value) {
            addCriterion("`source` =", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`source` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andSourceNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`source` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andSourceGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`source` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andSourceGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`source` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andSourceLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`source` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andSourceLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`source` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSourceLike(String value) {
            addCriterion("`source` like", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotLike(String value) {
            addCriterion("`source` not like", value, "source");
            return (Criteria) this;
        }

        public Criteria andSourceIn(List<String> values) {
            addCriterion("`source` in", values, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotIn(List<String> values) {
            addCriterion("`source` not in", values, "source");
            return (Criteria) this;
        }

        public Criteria andSourceBetween(String value1, String value2) {
            addCriterion("`source` between", value1, value2, "source");
            return (Criteria) this;
        }

        public Criteria andSourceNotBetween(String value1, String value2) {
            addCriterion("`source` not between", value1, value2, "source");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("`status` is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("`status` is not null");
            return (Criteria) this;
        }

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

        public Criteria andStatusEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`status` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andStatusNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`status` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andStatusGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`status` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andStatusGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`status` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andStatusLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`status` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andStatusLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`status` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

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

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

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

        public Criteria andSubstatusIsNull() {
            addCriterion("substatus is null");
            return (Criteria) this;
        }

        public Criteria andSubstatusIsNotNull() {
            addCriterion("substatus is not null");
            return (Criteria) this;
        }

        public Criteria andSubstatusEqualTo(Short value) {
            addCriterion("substatus =", value, "substatus");
            return (Criteria) this;
        }

        public Criteria andSubstatusEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("substatus = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubstatusNotEqualTo(Short value) {
            addCriterion("substatus <>", value, "substatus");
            return (Criteria) this;
        }

        public Criteria andSubstatusNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("substatus <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubstatusGreaterThan(Short value) {
            addCriterion("substatus >", value, "substatus");
            return (Criteria) this;
        }

        public Criteria andSubstatusGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("substatus > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubstatusGreaterThanOrEqualTo(Short value) {
            addCriterion("substatus >=", value, "substatus");
            return (Criteria) this;
        }

        public Criteria andSubstatusGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("substatus >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubstatusLessThan(Short value) {
            addCriterion("substatus <", value, "substatus");
            return (Criteria) this;
        }

        public Criteria andSubstatusLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("substatus < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubstatusLessThanOrEqualTo(Short value) {
            addCriterion("substatus <=", value, "substatus");
            return (Criteria) this;
        }

        public Criteria andSubstatusLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("substatus <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSubstatusIn(List<Short> values) {
            addCriterion("substatus in", values, "substatus");
            return (Criteria) this;
        }

        public Criteria andSubstatusNotIn(List<Short> values) {
            addCriterion("substatus not in", values, "substatus");
            return (Criteria) this;
        }

        public Criteria andSubstatusBetween(Short value1, Short value2) {
            addCriterion("substatus between", value1, value2, "substatus");
            return (Criteria) this;
        }

        public Criteria andSubstatusNotBetween(Short value1, Short value2) {
            addCriterion("substatus not between", value1, value2, "substatus");
            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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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 andServicerIsNull() {
            addCriterion("servicer is null");
            return (Criteria) this;
        }

        public Criteria andServicerIsNotNull() {
            addCriterion("servicer is not null");
            return (Criteria) this;
        }

        public Criteria andServicerEqualTo(String value) {
            addCriterion("servicer =", value, "servicer");
            return (Criteria) this;
        }

        public Criteria andServicerEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("servicer = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andServicerNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("servicer <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServicerGreaterThan(String value) {
            addCriterion("servicer >", value, "servicer");
            return (Criteria) this;
        }

        public Criteria andServicerGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("servicer > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andServicerGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("servicer >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServicerLessThan(String value) {
            addCriterion("servicer <", value, "servicer");
            return (Criteria) this;
        }

        public Criteria andServicerLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("servicer < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andServicerLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("servicer <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServicerLike(String value) {
            addCriterion("servicer like", value, "servicer");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andServiceTimeIsNull() {
            addCriterion("service_time is null");
            return (Criteria) this;
        }

        public Criteria andServiceTimeIsNotNull() {
            addCriterion("service_time is not null");
            return (Criteria) this;
        }

        public Criteria andServiceTimeEqualTo(String value) {
            addCriterion("service_time =", value, "serviceTime");
            return (Criteria) this;
        }

        public Criteria andServiceTimeEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("service_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTimeNotEqualTo(String value) {
            addCriterion("service_time <>", value, "serviceTime");
            return (Criteria) this;
        }

        public Criteria andServiceTimeNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("service_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTimeGreaterThan(String value) {
            addCriterion("service_time >", value, "serviceTime");
            return (Criteria) this;
        }

        public Criteria andServiceTimeGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("service_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTimeGreaterThanOrEqualTo(String value) {
            addCriterion("service_time >=", value, "serviceTime");
            return (Criteria) this;
        }

        public Criteria andServiceTimeGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("service_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTimeLessThan(String value) {
            addCriterion("service_time <", value, "serviceTime");
            return (Criteria) this;
        }

        public Criteria andServiceTimeLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("service_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTimeLessThanOrEqualTo(String value) {
            addCriterion("service_time <=", value, "serviceTime");
            return (Criteria) this;
        }

        public Criteria andServiceTimeLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("service_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andServiceTimeLike(String value) {
            addCriterion("service_time like", value, "serviceTime");
            return (Criteria) this;
        }

        public Criteria andServiceTimeNotLike(String value) {
            addCriterion("service_time not like", value, "serviceTime");
            return (Criteria) this;
        }

        public Criteria andServiceTimeIn(List<String> values) {
            addCriterion("service_time in", values, "serviceTime");
            return (Criteria) this;
        }

        public Criteria andServiceTimeNotIn(List<String> values) {
            addCriterion("service_time not in", values, "serviceTime");
            return (Criteria) this;
        }

        public Criteria andServiceTimeBetween(String value1, String value2) {
            addCriterion("service_time between", value1, value2, "serviceTime");
            return (Criteria) this;
        }

        public Criteria andServiceTimeNotBetween(String value1, String value2) {
            addCriterion("service_time not between", value1, value2, "serviceTime");
            return (Criteria) this;
        }

        public Criteria andResultIsNull() {
            addCriterion("`result` is null");
            return (Criteria) this;
        }

        public Criteria andResultIsNotNull() {
            addCriterion("`result` is not null");
            return (Criteria) this;
        }

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

        public Criteria andResultEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`result` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andResultNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`result` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andResultGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`result` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andResultGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`result` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andResultLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`result` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

        public Criteria andResultLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`result` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

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

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

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

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

        public Criteria andResultMemoIsNull() {
            addCriterion("result_memo is null");
            return (Criteria) this;
        }

        public Criteria andResultMemoIsNotNull() {
            addCriterion("result_memo is not null");
            return (Criteria) this;
        }

        public Criteria andResultMemoEqualTo(String value) {
            addCriterion("result_memo =", value, "resultMemo");
            return (Criteria) this;
        }

        public Criteria andResultMemoEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("result_memo = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResultMemoNotEqualTo(String value) {
            addCriterion("result_memo <>", value, "resultMemo");
            return (Criteria) this;
        }

        public Criteria andResultMemoNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("result_memo <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResultMemoGreaterThan(String value) {
            addCriterion("result_memo >", value, "resultMemo");
            return (Criteria) this;
        }

        public Criteria andResultMemoGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("result_memo > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResultMemoGreaterThanOrEqualTo(String value) {
            addCriterion("result_memo >=", value, "resultMemo");
            return (Criteria) this;
        }

        public Criteria andResultMemoGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("result_memo >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResultMemoLessThan(String value) {
            addCriterion("result_memo <", value, "resultMemo");
            return (Criteria) this;
        }

        public Criteria andResultMemoLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("result_memo < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResultMemoLessThanOrEqualTo(String value) {
            addCriterion("result_memo <=", value, "resultMemo");
            return (Criteria) this;
        }

        public Criteria andResultMemoLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("result_memo <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResultMemoLike(String value) {
            addCriterion("result_memo like", value, "resultMemo");
            return (Criteria) this;
        }

        public Criteria andResultMemoNotLike(String value) {
            addCriterion("result_memo not like", value, "resultMemo");
            return (Criteria) this;
        }

        public Criteria andResultMemoIn(List<String> values) {
            addCriterion("result_memo in", values, "resultMemo");
            return (Criteria) this;
        }

        public Criteria andResultMemoNotIn(List<String> values) {
            addCriterion("result_memo not in", values, "resultMemo");
            return (Criteria) this;
        }

        public Criteria andResultMemoBetween(String value1, String value2) {
            addCriterion("result_memo between", value1, value2, "resultMemo");
            return (Criteria) this;
        }

        public Criteria andResultMemoNotBetween(String value1, String value2) {
            addCriterion("result_memo not between", value1, value2, "resultMemo");
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdIsNull() {
            addCriterion("skill_group_id is null");
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdIsNotNull() {
            addCriterion("skill_group_id is not null");
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdEqualTo(Integer value) {
            addCriterion("skill_group_id =", value, "skillGroupId");
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("skill_group_id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdNotEqualTo(Integer value) {
            addCriterion("skill_group_id <>", value, "skillGroupId");
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("skill_group_id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdGreaterThan(Integer value) {
            addCriterion("skill_group_id >", value, "skillGroupId");
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("skill_group_id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("skill_group_id >=", value, "skillGroupId");
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("skill_group_id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdLessThan(Integer value) {
            addCriterion("skill_group_id <", value, "skillGroupId");
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("skill_group_id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdLessThanOrEqualTo(Integer value) {
            addCriterion("skill_group_id <=", value, "skillGroupId");
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("skill_group_id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdIn(List<Integer> values) {
            addCriterion("skill_group_id in", values, "skillGroupId");
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdNotIn(List<Integer> values) {
            addCriterion("skill_group_id not in", values, "skillGroupId");
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdBetween(Integer value1, Integer value2) {
            addCriterion("skill_group_id between", value1, value2, "skillGroupId");
            return (Criteria) this;
        }

        public Criteria andSkillGroupIdNotBetween(Integer value1, Integer value2) {
            addCriterion("skill_group_id not between", value1, value2, "skillGroupId");
            return (Criteria) this;
        }

        public Criteria andHandleTimeIsNull() {
            addCriterion("handle_time is null");
            return (Criteria) this;
        }

        public Criteria andHandleTimeIsNotNull() {
            addCriterion("handle_time is not null");
            return (Criteria) this;
        }

        public Criteria andHandleTimeEqualTo(Integer value) {
            addCriterion("handle_time =", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("handle_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHandleTimeNotEqualTo(Integer value) {
            addCriterion("handle_time <>", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("handle_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHandleTimeGreaterThan(Integer value) {
            addCriterion("handle_time >", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("handle_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHandleTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("handle_time >=", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("handle_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHandleTimeLessThan(Integer value) {
            addCriterion("handle_time <", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("handle_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHandleTimeLessThanOrEqualTo(Integer value) {
            addCriterion("handle_time <=", value, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("handle_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHandleTimeIn(List<Integer> values) {
            addCriterion("handle_time in", values, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeNotIn(List<Integer> values) {
            addCriterion("handle_time not in", values, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeBetween(Integer value1, Integer value2) {
            addCriterion("handle_time between", value1, value2, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandleTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("handle_time not between", value1, value2, "handleTime");
            return (Criteria) this;
        }

        public Criteria andHandlerIsNull() {
            addCriterion("`handler` is null");
            return (Criteria) this;
        }

        public Criteria andHandlerIsNotNull() {
            addCriterion("`handler` is not null");
            return (Criteria) this;
        }

        public Criteria andHandlerEqualTo(Integer value) {
            addCriterion("`handler` =", value, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`handler` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHandlerNotEqualTo(Integer value) {
            addCriterion("`handler` <>", value, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`handler` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHandlerGreaterThan(Integer value) {
            addCriterion("`handler` >", value, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`handler` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHandlerGreaterThanOrEqualTo(Integer value) {
            addCriterion("`handler` >=", value, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`handler` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHandlerLessThan(Integer value) {
            addCriterion("`handler` <", value, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`handler` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHandlerLessThanOrEqualTo(Integer value) {
            addCriterion("`handler` <=", value, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("`handler` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andHandlerIn(List<Integer> values) {
            addCriterion("`handler` in", values, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerNotIn(List<Integer> values) {
            addCriterion("`handler` not in", values, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerBetween(Integer value1, Integer value2) {
            addCriterion("`handler` between", value1, value2, "handler");
            return (Criteria) this;
        }

        public Criteria andHandlerNotBetween(Integer value1, Integer value2) {
            addCriterion("`handler` not between", value1, value2, "handler");
            return (Criteria) this;
        }

        public Criteria andExpirationTimeIsNull() {
            addCriterion("expiration_time is null");
            return (Criteria) this;
        }

        public Criteria andExpirationTimeIsNotNull() {
            addCriterion("expiration_time is not null");
            return (Criteria) this;
        }

        public Criteria andExpirationTimeEqualTo(LocalDateTime value) {
            addCriterion("expiration_time =", value, "expirationTime");
            return (Criteria) this;
        }

        public Criteria andExpirationTimeEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("expiration_time = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExpirationTimeNotEqualTo(LocalDateTime value) {
            addCriterion("expiration_time <>", value, "expirationTime");
            return (Criteria) this;
        }

        public Criteria andExpirationTimeNotEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("expiration_time <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExpirationTimeGreaterThan(LocalDateTime value) {
            addCriterion("expiration_time >", value, "expirationTime");
            return (Criteria) this;
        }

        public Criteria andExpirationTimeGreaterThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("expiration_time > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExpirationTimeGreaterThanOrEqualTo(LocalDateTime value) {
            addCriterion("expiration_time >=", value, "expirationTime");
            return (Criteria) this;
        }

        public Criteria andExpirationTimeGreaterThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("expiration_time >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExpirationTimeLessThan(LocalDateTime value) {
            addCriterion("expiration_time <", value, "expirationTime");
            return (Criteria) this;
        }

        public Criteria andExpirationTimeLessThanColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("expiration_time < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExpirationTimeLessThanOrEqualTo(LocalDateTime value) {
            addCriterion("expiration_time <=", value, "expirationTime");
            return (Criteria) this;
        }

        public Criteria andExpirationTimeLessThanOrEqualToColumn(JzTicket.Column column) {
            addCriterion(new StringBuilder("expiration_time <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andExpirationTimeIn(List<LocalDateTime> values) {
            addCriterion("expiration_time in", values, "expirationTime");
            return (Criteria) this;
        }

        public Criteria andExpirationTimeNotIn(List<LocalDateTime> values) {
            addCriterion("expiration_time not in", values, "expirationTime");
            return (Criteria) this;
        }

        public Criteria andExpirationTimeBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("expiration_time between", value1, value2, "expirationTime");
            return (Criteria) this;
        }

        public Criteria andExpirationTimeNotBetween(LocalDateTime value1, LocalDateTime value2) {
            addCriterion("expiration_time not between", value1, value2, "expirationTime");
            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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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(JzTicket.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_ticket
     *
     * @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_ticket
         *
         * @mbg.generated
         */
        private JzTicketExample example;

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

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

        /**
         * This method was generated by MyBatis Generator.
         * This method corresponds to the database table jz_ticket
         *
         * @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_ticket
         *
         * @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_ticket
         *
         * @mbg.generated
         */
        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

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

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

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