package com.mvc.entity;

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

public class TStkoutExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TStkoutExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

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

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

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

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

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

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

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andBillCodeIsNull() {
            addCriterion("BILL_CODE is null");
            return (Criteria) this;
        }

        public Criteria andBillCodeIsNotNull() {
            addCriterion("BILL_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andBillCodeEqualTo(String value) {
            addCriterion("BILL_CODE =", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeNotEqualTo(String value) {
            addCriterion("BILL_CODE <>", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeGreaterThan(String value) {
            addCriterion("BILL_CODE >", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeGreaterThanOrEqualTo(String value) {
            addCriterion("BILL_CODE >=", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeLessThan(String value) {
            addCriterion("BILL_CODE <", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeLessThanOrEqualTo(String value) {
            addCriterion("BILL_CODE <=", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeLike(String value) {
            addCriterion("BILL_CODE like", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeNotLike(String value) {
            addCriterion("BILL_CODE not like", value, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeIn(List<String> values) {
            addCriterion("BILL_CODE in", values, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeNotIn(List<String> values) {
            addCriterion("BILL_CODE not in", values, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeBetween(String value1, String value2) {
            addCriterion("BILL_CODE between", value1, value2, "billCode");
            return (Criteria) this;
        }

        public Criteria andBillCodeNotBetween(String value1, String value2) {
            addCriterion("BILL_CODE not between", value1, value2, "billCode");
            return (Criteria) this;
        }

        public Criteria andDayBillyIndexIsNull() {
            addCriterion("DAY_BILLY_INDEX is null");
            return (Criteria) this;
        }

        public Criteria andDayBillyIndexIsNotNull() {
            addCriterion("DAY_BILLY_INDEX is not null");
            return (Criteria) this;
        }

        public Criteria andDayBillyIndexEqualTo(Integer value) {
            addCriterion("DAY_BILLY_INDEX =", value, "dayBillyIndex");
            return (Criteria) this;
        }

        public Criteria andDayBillyIndexNotEqualTo(Integer value) {
            addCriterion("DAY_BILLY_INDEX <>", value, "dayBillyIndex");
            return (Criteria) this;
        }

        public Criteria andDayBillyIndexGreaterThan(Integer value) {
            addCriterion("DAY_BILLY_INDEX >", value, "dayBillyIndex");
            return (Criteria) this;
        }

        public Criteria andDayBillyIndexGreaterThanOrEqualTo(Integer value) {
            addCriterion("DAY_BILLY_INDEX >=", value, "dayBillyIndex");
            return (Criteria) this;
        }

        public Criteria andDayBillyIndexLessThan(Integer value) {
            addCriterion("DAY_BILLY_INDEX <", value, "dayBillyIndex");
            return (Criteria) this;
        }

        public Criteria andDayBillyIndexLessThanOrEqualTo(Integer value) {
            addCriterion("DAY_BILLY_INDEX <=", value, "dayBillyIndex");
            return (Criteria) this;
        }

        public Criteria andDayBillyIndexIn(List<Integer> values) {
            addCriterion("DAY_BILLY_INDEX in", values, "dayBillyIndex");
            return (Criteria) this;
        }

        public Criteria andDayBillyIndexNotIn(List<Integer> values) {
            addCriterion("DAY_BILLY_INDEX not in", values, "dayBillyIndex");
            return (Criteria) this;
        }

        public Criteria andDayBillyIndexBetween(Integer value1, Integer value2) {
            addCriterion("DAY_BILLY_INDEX between", value1, value2, "dayBillyIndex");
            return (Criteria) this;
        }

        public Criteria andDayBillyIndexNotBetween(Integer value1, Integer value2) {
            addCriterion("DAY_BILLY_INDEX not between", value1, value2, "dayBillyIndex");
            return (Criteria) this;
        }

        public Criteria andStkoutNumIsNull() {
            addCriterion("STKOUT_NUM is null");
            return (Criteria) this;
        }

        public Criteria andStkoutNumIsNotNull() {
            addCriterion("STKOUT_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andStkoutNumEqualTo(Integer value) {
            addCriterion("STKOUT_NUM =", value, "stkoutNum");
            return (Criteria) this;
        }

        public Criteria andStkoutNumNotEqualTo(Integer value) {
            addCriterion("STKOUT_NUM <>", value, "stkoutNum");
            return (Criteria) this;
        }

        public Criteria andStkoutNumGreaterThan(Integer value) {
            addCriterion("STKOUT_NUM >", value, "stkoutNum");
            return (Criteria) this;
        }

        public Criteria andStkoutNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("STKOUT_NUM >=", value, "stkoutNum");
            return (Criteria) this;
        }

        public Criteria andStkoutNumLessThan(Integer value) {
            addCriterion("STKOUT_NUM <", value, "stkoutNum");
            return (Criteria) this;
        }

        public Criteria andStkoutNumLessThanOrEqualTo(Integer value) {
            addCriterion("STKOUT_NUM <=", value, "stkoutNum");
            return (Criteria) this;
        }

        public Criteria andStkoutNumIn(List<Integer> values) {
            addCriterion("STKOUT_NUM in", values, "stkoutNum");
            return (Criteria) this;
        }

        public Criteria andStkoutNumNotIn(List<Integer> values) {
            addCriterion("STKOUT_NUM not in", values, "stkoutNum");
            return (Criteria) this;
        }

        public Criteria andStkoutNumBetween(Integer value1, Integer value2) {
            addCriterion("STKOUT_NUM between", value1, value2, "stkoutNum");
            return (Criteria) this;
        }

        public Criteria andStkoutNumNotBetween(Integer value1, Integer value2) {
            addCriterion("STKOUT_NUM not between", value1, value2, "stkoutNum");
            return (Criteria) this;
        }

        public Criteria andStkoutTimeIsNull() {
            addCriterion("STKOUT_TIME is null");
            return (Criteria) this;
        }

        public Criteria andStkoutTimeIsNotNull() {
            addCriterion("STKOUT_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andStkoutTimeEqualTo(Date value) {
            addCriterion("STKOUT_TIME =", value, "stkoutTime");
            return (Criteria) this;
        }

        public Criteria andStkoutTimeNotEqualTo(Date value) {
            addCriterion("STKOUT_TIME <>", value, "stkoutTime");
            return (Criteria) this;
        }

        public Criteria andStkoutTimeGreaterThan(Date value) {
            addCriterion("STKOUT_TIME >", value, "stkoutTime");
            return (Criteria) this;
        }

        public Criteria andStkoutTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("STKOUT_TIME >=", value, "stkoutTime");
            return (Criteria) this;
        }

        public Criteria andStkoutTimeLessThan(Date value) {
            addCriterion("STKOUT_TIME <", value, "stkoutTime");
            return (Criteria) this;
        }

        public Criteria andStkoutTimeLessThanOrEqualTo(Date value) {
            addCriterion("STKOUT_TIME <=", value, "stkoutTime");
            return (Criteria) this;
        }

        public Criteria andStkoutTimeIn(List<Date> values) {
            addCriterion("STKOUT_TIME in", values, "stkoutTime");
            return (Criteria) this;
        }

        public Criteria andStkoutTimeNotIn(List<Date> values) {
            addCriterion("STKOUT_TIME not in", values, "stkoutTime");
            return (Criteria) this;
        }

        public Criteria andStkoutTimeBetween(Date value1, Date value2) {
            addCriterion("STKOUT_TIME between", value1, value2, "stkoutTime");
            return (Criteria) this;
        }

        public Criteria andStkoutTimeNotBetween(Date value1, Date value2) {
            addCriterion("STKOUT_TIME not between", value1, value2, "stkoutTime");
            return (Criteria) this;
        }

        public Criteria andStkoutManIsNull() {
            addCriterion("STKOUT_MAN is null");
            return (Criteria) this;
        }

        public Criteria andStkoutManIsNotNull() {
            addCriterion("STKOUT_MAN is not null");
            return (Criteria) this;
        }

        public Criteria andStkoutManEqualTo(String value) {
            addCriterion("STKOUT_MAN =", value, "stkoutMan");
            return (Criteria) this;
        }

        public Criteria andStkoutManNotEqualTo(String value) {
            addCriterion("STKOUT_MAN <>", value, "stkoutMan");
            return (Criteria) this;
        }

        public Criteria andStkoutManGreaterThan(String value) {
            addCriterion("STKOUT_MAN >", value, "stkoutMan");
            return (Criteria) this;
        }

        public Criteria andStkoutManGreaterThanOrEqualTo(String value) {
            addCriterion("STKOUT_MAN >=", value, "stkoutMan");
            return (Criteria) this;
        }

        public Criteria andStkoutManLessThan(String value) {
            addCriterion("STKOUT_MAN <", value, "stkoutMan");
            return (Criteria) this;
        }

        public Criteria andStkoutManLessThanOrEqualTo(String value) {
            addCriterion("STKOUT_MAN <=", value, "stkoutMan");
            return (Criteria) this;
        }

        public Criteria andStkoutManLike(String value) {
            addCriterion("STKOUT_MAN like", value, "stkoutMan");
            return (Criteria) this;
        }

        public Criteria andStkoutManNotLike(String value) {
            addCriterion("STKOUT_MAN not like", value, "stkoutMan");
            return (Criteria) this;
        }

        public Criteria andStkoutManIn(List<String> values) {
            addCriterion("STKOUT_MAN in", values, "stkoutMan");
            return (Criteria) this;
        }

        public Criteria andStkoutManNotIn(List<String> values) {
            addCriterion("STKOUT_MAN not in", values, "stkoutMan");
            return (Criteria) this;
        }

        public Criteria andStkoutManBetween(String value1, String value2) {
            addCriterion("STKOUT_MAN between", value1, value2, "stkoutMan");
            return (Criteria) this;
        }

        public Criteria andStkoutManNotBetween(String value1, String value2) {
            addCriterion("STKOUT_MAN not between", value1, value2, "stkoutMan");
            return (Criteria) this;
        }

        public Criteria andStkoutSignImgIsNull() {
            addCriterion("STKOUT_SIGN_IMG is null");
            return (Criteria) this;
        }

        public Criteria andStkoutSignImgIsNotNull() {
            addCriterion("STKOUT_SIGN_IMG is not null");
            return (Criteria) this;
        }

        public Criteria andStkoutSignImgEqualTo(String value) {
            addCriterion("STKOUT_SIGN_IMG =", value, "stkoutSignImg");
            return (Criteria) this;
        }

        public Criteria andStkoutSignImgNotEqualTo(String value) {
            addCriterion("STKOUT_SIGN_IMG <>", value, "stkoutSignImg");
            return (Criteria) this;
        }

        public Criteria andStkoutSignImgGreaterThan(String value) {
            addCriterion("STKOUT_SIGN_IMG >", value, "stkoutSignImg");
            return (Criteria) this;
        }

        public Criteria andStkoutSignImgGreaterThanOrEqualTo(String value) {
            addCriterion("STKOUT_SIGN_IMG >=", value, "stkoutSignImg");
            return (Criteria) this;
        }

        public Criteria andStkoutSignImgLessThan(String value) {
            addCriterion("STKOUT_SIGN_IMG <", value, "stkoutSignImg");
            return (Criteria) this;
        }

        public Criteria andStkoutSignImgLessThanOrEqualTo(String value) {
            addCriterion("STKOUT_SIGN_IMG <=", value, "stkoutSignImg");
            return (Criteria) this;
        }

        public Criteria andStkoutSignImgLike(String value) {
            addCriterion("STKOUT_SIGN_IMG like", value, "stkoutSignImg");
            return (Criteria) this;
        }

        public Criteria andStkoutSignImgNotLike(String value) {
            addCriterion("STKOUT_SIGN_IMG not like", value, "stkoutSignImg");
            return (Criteria) this;
        }

        public Criteria andStkoutSignImgIn(List<String> values) {
            addCriterion("STKOUT_SIGN_IMG in", values, "stkoutSignImg");
            return (Criteria) this;
        }

        public Criteria andStkoutSignImgNotIn(List<String> values) {
            addCriterion("STKOUT_SIGN_IMG not in", values, "stkoutSignImg");
            return (Criteria) this;
        }

        public Criteria andStkoutSignImgBetween(String value1, String value2) {
            addCriterion("STKOUT_SIGN_IMG between", value1, value2, "stkoutSignImg");
            return (Criteria) this;
        }

        public Criteria andStkoutSignImgNotBetween(String value1, String value2) {
            addCriterion("STKOUT_SIGN_IMG not between", value1, value2, "stkoutSignImg");
            return (Criteria) this;
        }

        public Criteria andAgentIdIsNull() {
            addCriterion("AGENT_ID is null");
            return (Criteria) this;
        }

        public Criteria andAgentIdIsNotNull() {
            addCriterion("AGENT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andAgentIdEqualTo(String value) {
            addCriterion("AGENT_ID =", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotEqualTo(String value) {
            addCriterion("AGENT_ID <>", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdGreaterThan(String value) {
            addCriterion("AGENT_ID >", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdGreaterThanOrEqualTo(String value) {
            addCriterion("AGENT_ID >=", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdLessThan(String value) {
            addCriterion("AGENT_ID <", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdLessThanOrEqualTo(String value) {
            addCriterion("AGENT_ID <=", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdLike(String value) {
            addCriterion("AGENT_ID like", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotLike(String value) {
            addCriterion("AGENT_ID not like", value, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdIn(List<String> values) {
            addCriterion("AGENT_ID in", values, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotIn(List<String> values) {
            addCriterion("AGENT_ID not in", values, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdBetween(String value1, String value2) {
            addCriterion("AGENT_ID between", value1, value2, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentIdNotBetween(String value1, String value2) {
            addCriterion("AGENT_ID not between", value1, value2, "agentId");
            return (Criteria) this;
        }

        public Criteria andAgentNameIsNull() {
            addCriterion("AGENT_NAME is null");
            return (Criteria) this;
        }

        public Criteria andAgentNameIsNotNull() {
            addCriterion("AGENT_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andAgentNameEqualTo(String value) {
            addCriterion("AGENT_NAME =", value, "agentName");
            return (Criteria) this;
        }

        public Criteria andAgentNameNotEqualTo(String value) {
            addCriterion("AGENT_NAME <>", value, "agentName");
            return (Criteria) this;
        }

        public Criteria andAgentNameGreaterThan(String value) {
            addCriterion("AGENT_NAME >", value, "agentName");
            return (Criteria) this;
        }

        public Criteria andAgentNameGreaterThanOrEqualTo(String value) {
            addCriterion("AGENT_NAME >=", value, "agentName");
            return (Criteria) this;
        }

        public Criteria andAgentNameLessThan(String value) {
            addCriterion("AGENT_NAME <", value, "agentName");
            return (Criteria) this;
        }

        public Criteria andAgentNameLessThanOrEqualTo(String value) {
            addCriterion("AGENT_NAME <=", value, "agentName");
            return (Criteria) this;
        }

        public Criteria andAgentNameLike(String value) {
            addCriterion("AGENT_NAME like", value, "agentName");
            return (Criteria) this;
        }

        public Criteria andAgentNameNotLike(String value) {
            addCriterion("AGENT_NAME not like", value, "agentName");
            return (Criteria) this;
        }

        public Criteria andAgentNameIn(List<String> values) {
            addCriterion("AGENT_NAME in", values, "agentName");
            return (Criteria) this;
        }

        public Criteria andAgentNameNotIn(List<String> values) {
            addCriterion("AGENT_NAME not in", values, "agentName");
            return (Criteria) this;
        }

        public Criteria andAgentNameBetween(String value1, String value2) {
            addCriterion("AGENT_NAME between", value1, value2, "agentName");
            return (Criteria) this;
        }

        public Criteria andAgentNameNotBetween(String value1, String value2) {
            addCriterion("AGENT_NAME not between", value1, value2, "agentName");
            return (Criteria) this;
        }

        public Criteria andConsigneeInfoIsNull() {
            addCriterion("CONSIGNEE_INFO is null");
            return (Criteria) this;
        }

        public Criteria andConsigneeInfoIsNotNull() {
            addCriterion("CONSIGNEE_INFO is not null");
            return (Criteria) this;
        }

        public Criteria andConsigneeInfoEqualTo(String value) {
            addCriterion("CONSIGNEE_INFO =", value, "consigneeInfo");
            return (Criteria) this;
        }

        public Criteria andConsigneeInfoNotEqualTo(String value) {
            addCriterion("CONSIGNEE_INFO <>", value, "consigneeInfo");
            return (Criteria) this;
        }

        public Criteria andConsigneeInfoGreaterThan(String value) {
            addCriterion("CONSIGNEE_INFO >", value, "consigneeInfo");
            return (Criteria) this;
        }

        public Criteria andConsigneeInfoGreaterThanOrEqualTo(String value) {
            addCriterion("CONSIGNEE_INFO >=", value, "consigneeInfo");
            return (Criteria) this;
        }

        public Criteria andConsigneeInfoLessThan(String value) {
            addCriterion("CONSIGNEE_INFO <", value, "consigneeInfo");
            return (Criteria) this;
        }

        public Criteria andConsigneeInfoLessThanOrEqualTo(String value) {
            addCriterion("CONSIGNEE_INFO <=", value, "consigneeInfo");
            return (Criteria) this;
        }

        public Criteria andConsigneeInfoLike(String value) {
            addCriterion("CONSIGNEE_INFO like", value, "consigneeInfo");
            return (Criteria) this;
        }

        public Criteria andConsigneeInfoNotLike(String value) {
            addCriterion("CONSIGNEE_INFO not like", value, "consigneeInfo");
            return (Criteria) this;
        }

        public Criteria andConsigneeInfoIn(List<String> values) {
            addCriterion("CONSIGNEE_INFO in", values, "consigneeInfo");
            return (Criteria) this;
        }

        public Criteria andConsigneeInfoNotIn(List<String> values) {
            addCriterion("CONSIGNEE_INFO not in", values, "consigneeInfo");
            return (Criteria) this;
        }

        public Criteria andConsigneeInfoBetween(String value1, String value2) {
            addCriterion("CONSIGNEE_INFO between", value1, value2, "consigneeInfo");
            return (Criteria) this;
        }

        public Criteria andConsigneeInfoNotBetween(String value1, String value2) {
            addCriterion("CONSIGNEE_INFO not between", value1, value2, "consigneeInfo");
            return (Criteria) this;
        }

        public Criteria andProofImgUrlIsNull() {
            addCriterion("PROOF_IMG_URL is null");
            return (Criteria) this;
        }

        public Criteria andProofImgUrlIsNotNull() {
            addCriterion("PROOF_IMG_URL is not null");
            return (Criteria) this;
        }

        public Criteria andProofImgUrlEqualTo(String value) {
            addCriterion("PROOF_IMG_URL =", value, "proofImgUrl");
            return (Criteria) this;
        }

        public Criteria andProofImgUrlNotEqualTo(String value) {
            addCriterion("PROOF_IMG_URL <>", value, "proofImgUrl");
            return (Criteria) this;
        }

        public Criteria andProofImgUrlGreaterThan(String value) {
            addCriterion("PROOF_IMG_URL >", value, "proofImgUrl");
            return (Criteria) this;
        }

        public Criteria andProofImgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("PROOF_IMG_URL >=", value, "proofImgUrl");
            return (Criteria) this;
        }

        public Criteria andProofImgUrlLessThan(String value) {
            addCriterion("PROOF_IMG_URL <", value, "proofImgUrl");
            return (Criteria) this;
        }

        public Criteria andProofImgUrlLessThanOrEqualTo(String value) {
            addCriterion("PROOF_IMG_URL <=", value, "proofImgUrl");
            return (Criteria) this;
        }

        public Criteria andProofImgUrlLike(String value) {
            addCriterion("PROOF_IMG_URL like", value, "proofImgUrl");
            return (Criteria) this;
        }

        public Criteria andProofImgUrlNotLike(String value) {
            addCriterion("PROOF_IMG_URL not like", value, "proofImgUrl");
            return (Criteria) this;
        }

        public Criteria andProofImgUrlIn(List<String> values) {
            addCriterion("PROOF_IMG_URL in", values, "proofImgUrl");
            return (Criteria) this;
        }

        public Criteria andProofImgUrlNotIn(List<String> values) {
            addCriterion("PROOF_IMG_URL not in", values, "proofImgUrl");
            return (Criteria) this;
        }

        public Criteria andProofImgUrlBetween(String value1, String value2) {
            addCriterion("PROOF_IMG_URL between", value1, value2, "proofImgUrl");
            return (Criteria) this;
        }

        public Criteria andProofImgUrlNotBetween(String value1, String value2) {
            addCriterion("PROOF_IMG_URL not between", value1, value2, "proofImgUrl");
            return (Criteria) this;
        }

        public Criteria andStkoutMemoIsNull() {
            addCriterion("STKOUT_MEMO is null");
            return (Criteria) this;
        }

        public Criteria andStkoutMemoIsNotNull() {
            addCriterion("STKOUT_MEMO is not null");
            return (Criteria) this;
        }

        public Criteria andStkoutMemoEqualTo(String value) {
            addCriterion("STKOUT_MEMO =", value, "stkoutMemo");
            return (Criteria) this;
        }

        public Criteria andStkoutMemoNotEqualTo(String value) {
            addCriterion("STKOUT_MEMO <>", value, "stkoutMemo");
            return (Criteria) this;
        }

        public Criteria andStkoutMemoGreaterThan(String value) {
            addCriterion("STKOUT_MEMO >", value, "stkoutMemo");
            return (Criteria) this;
        }

        public Criteria andStkoutMemoGreaterThanOrEqualTo(String value) {
            addCriterion("STKOUT_MEMO >=", value, "stkoutMemo");
            return (Criteria) this;
        }

        public Criteria andStkoutMemoLessThan(String value) {
            addCriterion("STKOUT_MEMO <", value, "stkoutMemo");
            return (Criteria) this;
        }

        public Criteria andStkoutMemoLessThanOrEqualTo(String value) {
            addCriterion("STKOUT_MEMO <=", value, "stkoutMemo");
            return (Criteria) this;
        }

        public Criteria andStkoutMemoLike(String value) {
            addCriterion("STKOUT_MEMO like", value, "stkoutMemo");
            return (Criteria) this;
        }

        public Criteria andStkoutMemoNotLike(String value) {
            addCriterion("STKOUT_MEMO not like", value, "stkoutMemo");
            return (Criteria) this;
        }

        public Criteria andStkoutMemoIn(List<String> values) {
            addCriterion("STKOUT_MEMO in", values, "stkoutMemo");
            return (Criteria) this;
        }

        public Criteria andStkoutMemoNotIn(List<String> values) {
            addCriterion("STKOUT_MEMO not in", values, "stkoutMemo");
            return (Criteria) this;
        }

        public Criteria andStkoutMemoBetween(String value1, String value2) {
            addCriterion("STKOUT_MEMO between", value1, value2, "stkoutMemo");
            return (Criteria) this;
        }

        public Criteria andStkoutMemoNotBetween(String value1, String value2) {
            addCriterion("STKOUT_MEMO not between", value1, value2, "stkoutMemo");
            return (Criteria) this;
        }

        public Criteria andInvaildFlagIsNull() {
            addCriterion("INVAILD_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andInvaildFlagIsNotNull() {
            addCriterion("INVAILD_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andInvaildFlagEqualTo(String value) {
            addCriterion("INVAILD_FLAG =", value, "invaildFlag");
            return (Criteria) this;
        }

        public Criteria andInvaildFlagNotEqualTo(String value) {
            addCriterion("INVAILD_FLAG <>", value, "invaildFlag");
            return (Criteria) this;
        }

        public Criteria andInvaildFlagGreaterThan(String value) {
            addCriterion("INVAILD_FLAG >", value, "invaildFlag");
            return (Criteria) this;
        }

        public Criteria andInvaildFlagGreaterThanOrEqualTo(String value) {
            addCriterion("INVAILD_FLAG >=", value, "invaildFlag");
            return (Criteria) this;
        }

        public Criteria andInvaildFlagLessThan(String value) {
            addCriterion("INVAILD_FLAG <", value, "invaildFlag");
            return (Criteria) this;
        }

        public Criteria andInvaildFlagLessThanOrEqualTo(String value) {
            addCriterion("INVAILD_FLAG <=", value, "invaildFlag");
            return (Criteria) this;
        }

        public Criteria andInvaildFlagLike(String value) {
            addCriterion("INVAILD_FLAG like", value, "invaildFlag");
            return (Criteria) this;
        }

        public Criteria andInvaildFlagNotLike(String value) {
            addCriterion("INVAILD_FLAG not like", value, "invaildFlag");
            return (Criteria) this;
        }

        public Criteria andInvaildFlagIn(List<String> values) {
            addCriterion("INVAILD_FLAG in", values, "invaildFlag");
            return (Criteria) this;
        }

        public Criteria andInvaildFlagNotIn(List<String> values) {
            addCriterion("INVAILD_FLAG not in", values, "invaildFlag");
            return (Criteria) this;
        }

        public Criteria andInvaildFlagBetween(String value1, String value2) {
            addCriterion("INVAILD_FLAG between", value1, value2, "invaildFlag");
            return (Criteria) this;
        }

        public Criteria andInvaildFlagNotBetween(String value1, String value2) {
            addCriterion("INVAILD_FLAG not between", value1, value2, "invaildFlag");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeIsNull() {
            addCriterion("INVALID_TIME is null");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeIsNotNull() {
            addCriterion("INVALID_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeEqualTo(Date value) {
            addCriterion("INVALID_TIME =", value, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeNotEqualTo(Date value) {
            addCriterion("INVALID_TIME <>", value, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeGreaterThan(Date value) {
            addCriterion("INVALID_TIME >", value, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("INVALID_TIME >=", value, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeLessThan(Date value) {
            addCriterion("INVALID_TIME <", value, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeLessThanOrEqualTo(Date value) {
            addCriterion("INVALID_TIME <=", value, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeIn(List<Date> values) {
            addCriterion("INVALID_TIME in", values, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeNotIn(List<Date> values) {
            addCriterion("INVALID_TIME not in", values, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeBetween(Date value1, Date value2) {
            addCriterion("INVALID_TIME between", value1, value2, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidTimeNotBetween(Date value1, Date value2) {
            addCriterion("INVALID_TIME not between", value1, value2, "invalidTime");
            return (Criteria) this;
        }

        public Criteria andInvalidManIsNull() {
            addCriterion("INVALID_MAN is null");
            return (Criteria) this;
        }

        public Criteria andInvalidManIsNotNull() {
            addCriterion("INVALID_MAN is not null");
            return (Criteria) this;
        }

        public Criteria andInvalidManEqualTo(String value) {
            addCriterion("INVALID_MAN =", value, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManNotEqualTo(String value) {
            addCriterion("INVALID_MAN <>", value, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManGreaterThan(String value) {
            addCriterion("INVALID_MAN >", value, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManGreaterThanOrEqualTo(String value) {
            addCriterion("INVALID_MAN >=", value, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManLessThan(String value) {
            addCriterion("INVALID_MAN <", value, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManLessThanOrEqualTo(String value) {
            addCriterion("INVALID_MAN <=", value, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManLike(String value) {
            addCriterion("INVALID_MAN like", value, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManNotLike(String value) {
            addCriterion("INVALID_MAN not like", value, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManIn(List<String> values) {
            addCriterion("INVALID_MAN in", values, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManNotIn(List<String> values) {
            addCriterion("INVALID_MAN not in", values, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManBetween(String value1, String value2) {
            addCriterion("INVALID_MAN between", value1, value2, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidManNotBetween(String value1, String value2) {
            addCriterion("INVALID_MAN not between", value1, value2, "invalidMan");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseIsNull() {
            addCriterion("INVALID_BECAUSE is null");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseIsNotNull() {
            addCriterion("INVALID_BECAUSE is not null");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseEqualTo(String value) {
            addCriterion("INVALID_BECAUSE =", value, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseNotEqualTo(String value) {
            addCriterion("INVALID_BECAUSE <>", value, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseGreaterThan(String value) {
            addCriterion("INVALID_BECAUSE >", value, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseGreaterThanOrEqualTo(String value) {
            addCriterion("INVALID_BECAUSE >=", value, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseLessThan(String value) {
            addCriterion("INVALID_BECAUSE <", value, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseLessThanOrEqualTo(String value) {
            addCriterion("INVALID_BECAUSE <=", value, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseLike(String value) {
            addCriterion("INVALID_BECAUSE like", value, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseNotLike(String value) {
            addCriterion("INVALID_BECAUSE not like", value, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseIn(List<String> values) {
            addCriterion("INVALID_BECAUSE in", values, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseNotIn(List<String> values) {
            addCriterion("INVALID_BECAUSE not in", values, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseBetween(String value1, String value2) {
            addCriterion("INVALID_BECAUSE between", value1, value2, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andInvalidBecauseNotBetween(String value1, String value2) {
            addCriterion("INVALID_BECAUSE not between", value1, value2, "invalidBecause");
            return (Criteria) this;
        }

        public Criteria andTaskBatchIdIsNull() {
            addCriterion("TASK_BATCH_ID is null");
            return (Criteria) this;
        }

        public Criteria andTaskBatchIdIsNotNull() {
            addCriterion("TASK_BATCH_ID is not null");
            return (Criteria) this;
        }

        public Criteria andTaskBatchIdEqualTo(String value) {
            addCriterion("TASK_BATCH_ID =", value, "taskBatchId");
            return (Criteria) this;
        }

        public Criteria andTaskBatchIdNotEqualTo(String value) {
            addCriterion("TASK_BATCH_ID <>", value, "taskBatchId");
            return (Criteria) this;
        }

        public Criteria andTaskBatchIdGreaterThan(String value) {
            addCriterion("TASK_BATCH_ID >", value, "taskBatchId");
            return (Criteria) this;
        }

        public Criteria andTaskBatchIdGreaterThanOrEqualTo(String value) {
            addCriterion("TASK_BATCH_ID >=", value, "taskBatchId");
            return (Criteria) this;
        }

        public Criteria andTaskBatchIdLessThan(String value) {
            addCriterion("TASK_BATCH_ID <", value, "taskBatchId");
            return (Criteria) this;
        }

        public Criteria andTaskBatchIdLessThanOrEqualTo(String value) {
            addCriterion("TASK_BATCH_ID <=", value, "taskBatchId");
            return (Criteria) this;
        }

        public Criteria andTaskBatchIdLike(String value) {
            addCriterion("TASK_BATCH_ID like", value, "taskBatchId");
            return (Criteria) this;
        }

        public Criteria andTaskBatchIdNotLike(String value) {
            addCriterion("TASK_BATCH_ID not like", value, "taskBatchId");
            return (Criteria) this;
        }

        public Criteria andTaskBatchIdIn(List<String> values) {
            addCriterion("TASK_BATCH_ID in", values, "taskBatchId");
            return (Criteria) this;
        }

        public Criteria andTaskBatchIdNotIn(List<String> values) {
            addCriterion("TASK_BATCH_ID not in", values, "taskBatchId");
            return (Criteria) this;
        }

        public Criteria andTaskBatchIdBetween(String value1, String value2) {
            addCriterion("TASK_BATCH_ID between", value1, value2, "taskBatchId");
            return (Criteria) this;
        }

        public Criteria andTaskBatchIdNotBetween(String value1, String value2) {
            addCriterion("TASK_BATCH_ID not between", value1, value2, "taskBatchId");
            return (Criteria) this;
        }

        public Criteria andMcuVersionIsNull() {
            addCriterion("MCU_VERSION is null");
            return (Criteria) this;
        }

        public Criteria andMcuVersionIsNotNull() {
            addCriterion("MCU_VERSION is not null");
            return (Criteria) this;
        }

        public Criteria andMcuVersionEqualTo(String value) {
            addCriterion("MCU_VERSION =", value, "mcuVersion");
            return (Criteria) this;
        }

        public Criteria andMcuVersionNotEqualTo(String value) {
            addCriterion("MCU_VERSION <>", value, "mcuVersion");
            return (Criteria) this;
        }

        public Criteria andMcuVersionGreaterThan(String value) {
            addCriterion("MCU_VERSION >", value, "mcuVersion");
            return (Criteria) this;
        }

        public Criteria andMcuVersionGreaterThanOrEqualTo(String value) {
            addCriterion("MCU_VERSION >=", value, "mcuVersion");
            return (Criteria) this;
        }

        public Criteria andMcuVersionLessThan(String value) {
            addCriterion("MCU_VERSION <", value, "mcuVersion");
            return (Criteria) this;
        }

        public Criteria andMcuVersionLessThanOrEqualTo(String value) {
            addCriterion("MCU_VERSION <=", value, "mcuVersion");
            return (Criteria) this;
        }

        public Criteria andMcuVersionLike(String value) {
            addCriterion("MCU_VERSION like", value, "mcuVersion");
            return (Criteria) this;
        }

        public Criteria andMcuVersionNotLike(String value) {
            addCriterion("MCU_VERSION not like", value, "mcuVersion");
            return (Criteria) this;
        }

        public Criteria andMcuVersionIn(List<String> values) {
            addCriterion("MCU_VERSION in", values, "mcuVersion");
            return (Criteria) this;
        }

        public Criteria andMcuVersionNotIn(List<String> values) {
            addCriterion("MCU_VERSION not in", values, "mcuVersion");
            return (Criteria) this;
        }

        public Criteria andMcuVersionBetween(String value1, String value2) {
            addCriterion("MCU_VERSION between", value1, value2, "mcuVersion");
            return (Criteria) this;
        }

        public Criteria andMcuVersionNotBetween(String value1, String value2) {
            addCriterion("MCU_VERSION not between", value1, value2, "mcuVersion");
            return (Criteria) this;
        }

        public Criteria andFinishedFlagIsNull() {
            addCriterion("FINISHED_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andFinishedFlagIsNotNull() {
            addCriterion("FINISHED_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andFinishedFlagEqualTo(String value) {
            addCriterion("FINISHED_FLAG =", value, "finishedFlag");
            return (Criteria) this;
        }

        public Criteria andFinishedFlagNotEqualTo(String value) {
            addCriterion("FINISHED_FLAG <>", value, "finishedFlag");
            return (Criteria) this;
        }

        public Criteria andFinishedFlagGreaterThan(String value) {
            addCriterion("FINISHED_FLAG >", value, "finishedFlag");
            return (Criteria) this;
        }

        public Criteria andFinishedFlagGreaterThanOrEqualTo(String value) {
            addCriterion("FINISHED_FLAG >=", value, "finishedFlag");
            return (Criteria) this;
        }

        public Criteria andFinishedFlagLessThan(String value) {
            addCriterion("FINISHED_FLAG <", value, "finishedFlag");
            return (Criteria) this;
        }

        public Criteria andFinishedFlagLessThanOrEqualTo(String value) {
            addCriterion("FINISHED_FLAG <=", value, "finishedFlag");
            return (Criteria) this;
        }

        public Criteria andFinishedFlagLike(String value) {
            addCriterion("FINISHED_FLAG like", value, "finishedFlag");
            return (Criteria) this;
        }

        public Criteria andFinishedFlagNotLike(String value) {
            addCriterion("FINISHED_FLAG not like", value, "finishedFlag");
            return (Criteria) this;
        }

        public Criteria andFinishedFlagIn(List<String> values) {
            addCriterion("FINISHED_FLAG in", values, "finishedFlag");
            return (Criteria) this;
        }

        public Criteria andFinishedFlagNotIn(List<String> values) {
            addCriterion("FINISHED_FLAG not in", values, "finishedFlag");
            return (Criteria) this;
        }

        public Criteria andFinishedFlagBetween(String value1, String value2) {
            addCriterion("FINISHED_FLAG between", value1, value2, "finishedFlag");
            return (Criteria) this;
        }

        public Criteria andFinishedFlagNotBetween(String value1, String value2) {
            addCriterion("FINISHED_FLAG not between", value1, value2, "finishedFlag");
            return (Criteria) this;
        }

        public Criteria andFinishedTimeIsNull() {
            addCriterion("FINISHED_TIME is null");
            return (Criteria) this;
        }

        public Criteria andFinishedTimeIsNotNull() {
            addCriterion("FINISHED_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andFinishedTimeEqualTo(Date value) {
            addCriterion("FINISHED_TIME =", value, "finishedTime");
            return (Criteria) this;
        }

        public Criteria andFinishedTimeNotEqualTo(Date value) {
            addCriterion("FINISHED_TIME <>", value, "finishedTime");
            return (Criteria) this;
        }

        public Criteria andFinishedTimeGreaterThan(Date value) {
            addCriterion("FINISHED_TIME >", value, "finishedTime");
            return (Criteria) this;
        }

        public Criteria andFinishedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("FINISHED_TIME >=", value, "finishedTime");
            return (Criteria) this;
        }

        public Criteria andFinishedTimeLessThan(Date value) {
            addCriterion("FINISHED_TIME <", value, "finishedTime");
            return (Criteria) this;
        }

        public Criteria andFinishedTimeLessThanOrEqualTo(Date value) {
            addCriterion("FINISHED_TIME <=", value, "finishedTime");
            return (Criteria) this;
        }

        public Criteria andFinishedTimeIn(List<Date> values) {
            addCriterion("FINISHED_TIME in", values, "finishedTime");
            return (Criteria) this;
        }

        public Criteria andFinishedTimeNotIn(List<Date> values) {
            addCriterion("FINISHED_TIME not in", values, "finishedTime");
            return (Criteria) this;
        }

        public Criteria andFinishedTimeBetween(Date value1, Date value2) {
            addCriterion("FINISHED_TIME between", value1, value2, "finishedTime");
            return (Criteria) this;
        }

        public Criteria andFinishedTimeNotBetween(Date value1, Date value2) {
            addCriterion("FINISHED_TIME not between", value1, value2, "finishedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}