package com.mvc.entity;

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

public class TaskBatchRemoteExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TaskBatchRemoteExample() {
        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 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 andTaskTypeIsNull() {
            addCriterion("TASK_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIsNotNull() {
            addCriterion("TASK_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andTaskTypeEqualTo(String value) {
            addCriterion("TASK_TYPE =", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotEqualTo(String value) {
            addCriterion("TASK_TYPE <>", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeGreaterThan(String value) {
            addCriterion("TASK_TYPE >", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeGreaterThanOrEqualTo(String value) {
            addCriterion("TASK_TYPE >=", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLessThan(String value) {
            addCriterion("TASK_TYPE <", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLessThanOrEqualTo(String value) {
            addCriterion("TASK_TYPE <=", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLike(String value) {
            addCriterion("TASK_TYPE like", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotLike(String value) {
            addCriterion("TASK_TYPE not like", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIn(List<String> values) {
            addCriterion("TASK_TYPE in", values, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotIn(List<String> values) {
            addCriterion("TASK_TYPE not in", values, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeBetween(String value1, String value2) {
            addCriterion("TASK_TYPE between", value1, value2, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotBetween(String value1, String value2) {
            addCriterion("TASK_TYPE not between", value1, value2, "taskType");
            return (Criteria) this;
        }

        public Criteria andExecutionTimeIsNull() {
            addCriterion("EXECUTION_TIME is null");
            return (Criteria) this;
        }

        public Criteria andExecutionTimeIsNotNull() {
            addCriterion("EXECUTION_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andExecutionTimeEqualTo(Date value) {
            addCriterion("EXECUTION_TIME =", value, "executionTime");
            return (Criteria) this;
        }

        public Criteria andExecutionTimeNotEqualTo(Date value) {
            addCriterion("EXECUTION_TIME <>", value, "executionTime");
            return (Criteria) this;
        }

        public Criteria andExecutionTimeGreaterThan(Date value) {
            addCriterion("EXECUTION_TIME >", value, "executionTime");
            return (Criteria) this;
        }

        public Criteria andExecutionTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("EXECUTION_TIME >=", value, "executionTime");
            return (Criteria) this;
        }

        public Criteria andExecutionTimeLessThan(Date value) {
            addCriterion("EXECUTION_TIME <", value, "executionTime");
            return (Criteria) this;
        }

        public Criteria andExecutionTimeLessThanOrEqualTo(Date value) {
            addCriterion("EXECUTION_TIME <=", value, "executionTime");
            return (Criteria) this;
        }

        public Criteria andExecutionTimeIn(List<Date> values) {
            addCriterion("EXECUTION_TIME in", values, "executionTime");
            return (Criteria) this;
        }

        public Criteria andExecutionTimeNotIn(List<Date> values) {
            addCriterion("EXECUTION_TIME not in", values, "executionTime");
            return (Criteria) this;
        }

        public Criteria andExecutionTimeBetween(Date value1, Date value2) {
            addCriterion("EXECUTION_TIME between", value1, value2, "executionTime");
            return (Criteria) this;
        }

        public Criteria andExecutionTimeNotBetween(Date value1, Date value2) {
            addCriterion("EXECUTION_TIME not between", value1, value2, "executionTime");
            return (Criteria) this;
        }

        public Criteria andMinutesAheadIsNull() {
            addCriterion("MINUTES_AHEAD is null");
            return (Criteria) this;
        }

        public Criteria andMinutesAheadIsNotNull() {
            addCriterion("MINUTES_AHEAD is not null");
            return (Criteria) this;
        }

        public Criteria andMinutesAheadEqualTo(Integer value) {
            addCriterion("MINUTES_AHEAD =", value, "minutesAhead");
            return (Criteria) this;
        }

        public Criteria andMinutesAheadNotEqualTo(Integer value) {
            addCriterion("MINUTES_AHEAD <>", value, "minutesAhead");
            return (Criteria) this;
        }

        public Criteria andMinutesAheadGreaterThan(Integer value) {
            addCriterion("MINUTES_AHEAD >", value, "minutesAhead");
            return (Criteria) this;
        }

        public Criteria andMinutesAheadGreaterThanOrEqualTo(Integer value) {
            addCriterion("MINUTES_AHEAD >=", value, "minutesAhead");
            return (Criteria) this;
        }

        public Criteria andMinutesAheadLessThan(Integer value) {
            addCriterion("MINUTES_AHEAD <", value, "minutesAhead");
            return (Criteria) this;
        }

        public Criteria andMinutesAheadLessThanOrEqualTo(Integer value) {
            addCriterion("MINUTES_AHEAD <=", value, "minutesAhead");
            return (Criteria) this;
        }

        public Criteria andMinutesAheadIn(List<Integer> values) {
            addCriterion("MINUTES_AHEAD in", values, "minutesAhead");
            return (Criteria) this;
        }

        public Criteria andMinutesAheadNotIn(List<Integer> values) {
            addCriterion("MINUTES_AHEAD not in", values, "minutesAhead");
            return (Criteria) this;
        }

        public Criteria andMinutesAheadBetween(Integer value1, Integer value2) {
            addCriterion("MINUTES_AHEAD between", value1, value2, "minutesAhead");
            return (Criteria) this;
        }

        public Criteria andMinutesAheadNotBetween(Integer value1, Integer value2) {
            addCriterion("MINUTES_AHEAD not between", value1, value2, "minutesAhead");
            return (Criteria) this;
        }

        public Criteria andMd5CheckCodeIsNull() {
            addCriterion("MD5_CHECK_CODE is null");
            return (Criteria) this;
        }

        public Criteria andMd5CheckCodeIsNotNull() {
            addCriterion("MD5_CHECK_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andMd5CheckCodeEqualTo(String value) {
            addCriterion("MD5_CHECK_CODE =", value, "md5CheckCode");
            return (Criteria) this;
        }

        public Criteria andMd5CheckCodeNotEqualTo(String value) {
            addCriterion("MD5_CHECK_CODE <>", value, "md5CheckCode");
            return (Criteria) this;
        }

        public Criteria andMd5CheckCodeGreaterThan(String value) {
            addCriterion("MD5_CHECK_CODE >", value, "md5CheckCode");
            return (Criteria) this;
        }

        public Criteria andMd5CheckCodeGreaterThanOrEqualTo(String value) {
            addCriterion("MD5_CHECK_CODE >=", value, "md5CheckCode");
            return (Criteria) this;
        }

        public Criteria andMd5CheckCodeLessThan(String value) {
            addCriterion("MD5_CHECK_CODE <", value, "md5CheckCode");
            return (Criteria) this;
        }

        public Criteria andMd5CheckCodeLessThanOrEqualTo(String value) {
            addCriterion("MD5_CHECK_CODE <=", value, "md5CheckCode");
            return (Criteria) this;
        }

        public Criteria andMd5CheckCodeLike(String value) {
            addCriterion("MD5_CHECK_CODE like", value, "md5CheckCode");
            return (Criteria) this;
        }

        public Criteria andMd5CheckCodeNotLike(String value) {
            addCriterion("MD5_CHECK_CODE not like", value, "md5CheckCode");
            return (Criteria) this;
        }

        public Criteria andMd5CheckCodeIn(List<String> values) {
            addCriterion("MD5_CHECK_CODE in", values, "md5CheckCode");
            return (Criteria) this;
        }

        public Criteria andMd5CheckCodeNotIn(List<String> values) {
            addCriterion("MD5_CHECK_CODE not in", values, "md5CheckCode");
            return (Criteria) this;
        }

        public Criteria andMd5CheckCodeBetween(String value1, String value2) {
            addCriterion("MD5_CHECK_CODE between", value1, value2, "md5CheckCode");
            return (Criteria) this;
        }

        public Criteria andMd5CheckCodeNotBetween(String value1, String value2) {
            addCriterion("MD5_CHECK_CODE not between", value1, value2, "md5CheckCode");
            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 Criteria andCreateManIsNull() {
            addCriterion("CREATE_MAN is null");
            return (Criteria) this;
        }

        public Criteria andCreateManIsNotNull() {
            addCriterion("CREATE_MAN is not null");
            return (Criteria) this;
        }

        public Criteria andCreateManEqualTo(String value) {
            addCriterion("CREATE_MAN =", value, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManNotEqualTo(String value) {
            addCriterion("CREATE_MAN <>", value, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManGreaterThan(String value) {
            addCriterion("CREATE_MAN >", value, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_MAN >=", value, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManLessThan(String value) {
            addCriterion("CREATE_MAN <", value, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManLessThanOrEqualTo(String value) {
            addCriterion("CREATE_MAN <=", value, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManLike(String value) {
            addCriterion("CREATE_MAN like", value, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManNotLike(String value) {
            addCriterion("CREATE_MAN not like", value, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManIn(List<String> values) {
            addCriterion("CREATE_MAN in", values, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManNotIn(List<String> values) {
            addCriterion("CREATE_MAN not in", values, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManBetween(String value1, String value2) {
            addCriterion("CREATE_MAN between", value1, value2, "createMan");
            return (Criteria) this;
        }

        public Criteria andCreateManNotBetween(String value1, String value2) {
            addCriterion("CREATE_MAN not between", value1, value2, "createMan");
            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(Date value) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

        public Criteria andTaskDescribeIsNull() {
            addCriterion("TASK_DESCRIBE is null");
            return (Criteria) this;
        }

        public Criteria andTaskDescribeIsNotNull() {
            addCriterion("TASK_DESCRIBE is not null");
            return (Criteria) this;
        }

        public Criteria andTaskDescribeEqualTo(String value) {
            addCriterion("TASK_DESCRIBE =", value, "taskDescribe");
            return (Criteria) this;
        }

        public Criteria andTaskDescribeNotEqualTo(String value) {
            addCriterion("TASK_DESCRIBE <>", value, "taskDescribe");
            return (Criteria) this;
        }

        public Criteria andTaskDescribeGreaterThan(String value) {
            addCriterion("TASK_DESCRIBE >", value, "taskDescribe");
            return (Criteria) this;
        }

        public Criteria andTaskDescribeGreaterThanOrEqualTo(String value) {
            addCriterion("TASK_DESCRIBE >=", value, "taskDescribe");
            return (Criteria) this;
        }

        public Criteria andTaskDescribeLessThan(String value) {
            addCriterion("TASK_DESCRIBE <", value, "taskDescribe");
            return (Criteria) this;
        }

        public Criteria andTaskDescribeLessThanOrEqualTo(String value) {
            addCriterion("TASK_DESCRIBE <=", value, "taskDescribe");
            return (Criteria) this;
        }

        public Criteria andTaskDescribeLike(String value) {
            addCriterion("TASK_DESCRIBE like", value, "taskDescribe");
            return (Criteria) this;
        }

        public Criteria andTaskDescribeNotLike(String value) {
            addCriterion("TASK_DESCRIBE not like", value, "taskDescribe");
            return (Criteria) this;
        }

        public Criteria andTaskDescribeIn(List<String> values) {
            addCriterion("TASK_DESCRIBE in", values, "taskDescribe");
            return (Criteria) this;
        }

        public Criteria andTaskDescribeNotIn(List<String> values) {
            addCriterion("TASK_DESCRIBE not in", values, "taskDescribe");
            return (Criteria) this;
        }

        public Criteria andTaskDescribeBetween(String value1, String value2) {
            addCriterion("TASK_DESCRIBE between", value1, value2, "taskDescribe");
            return (Criteria) this;
        }

        public Criteria andTaskDescribeNotBetween(String value1, String value2) {
            addCriterion("TASK_DESCRIBE not between", value1, value2, "taskDescribe");
            return (Criteria) this;
        }

        public Criteria andMemoIsNull() {
            addCriterion("MEMO is null");
            return (Criteria) this;
        }

        public Criteria andMemoIsNotNull() {
            addCriterion("MEMO is not null");
            return (Criteria) this;
        }

        public Criteria andMemoEqualTo(String value) {
            addCriterion("MEMO =", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotEqualTo(String value) {
            addCriterion("MEMO <>", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoGreaterThan(String value) {
            addCriterion("MEMO >", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoGreaterThanOrEqualTo(String value) {
            addCriterion("MEMO >=", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLessThan(String value) {
            addCriterion("MEMO <", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLessThanOrEqualTo(String value) {
            addCriterion("MEMO <=", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLike(String value) {
            addCriterion("MEMO like", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotLike(String value) {
            addCriterion("MEMO not like", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoIn(List<String> values) {
            addCriterion("MEMO in", values, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotIn(List<String> values) {
            addCriterion("MEMO not in", values, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoBetween(String value1, String value2) {
            addCriterion("MEMO between", value1, value2, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotBetween(String value1, String value2) {
            addCriterion("MEMO not between", value1, value2, "memo");
            return (Criteria) this;
        }

        public Criteria andSourceTaskIdIsNull() {
            addCriterion("SOURCE_TASK_ID is null");
            return (Criteria) this;
        }

        public Criteria andSourceTaskIdIsNotNull() {
            addCriterion("SOURCE_TASK_ID is not null");
            return (Criteria) this;
        }

        public Criteria andSourceTaskIdEqualTo(String value) {
            addCriterion("SOURCE_TASK_ID =", value, "sourceTaskId");
            return (Criteria) this;
        }

        public Criteria andSourceTaskIdNotEqualTo(String value) {
            addCriterion("SOURCE_TASK_ID <>", value, "sourceTaskId");
            return (Criteria) this;
        }

        public Criteria andSourceTaskIdGreaterThan(String value) {
            addCriterion("SOURCE_TASK_ID >", value, "sourceTaskId");
            return (Criteria) this;
        }

        public Criteria andSourceTaskIdGreaterThanOrEqualTo(String value) {
            addCriterion("SOURCE_TASK_ID >=", value, "sourceTaskId");
            return (Criteria) this;
        }

        public Criteria andSourceTaskIdLessThan(String value) {
            addCriterion("SOURCE_TASK_ID <", value, "sourceTaskId");
            return (Criteria) this;
        }

        public Criteria andSourceTaskIdLessThanOrEqualTo(String value) {
            addCriterion("SOURCE_TASK_ID <=", value, "sourceTaskId");
            return (Criteria) this;
        }

        public Criteria andSourceTaskIdLike(String value) {
            addCriterion("SOURCE_TASK_ID like", value, "sourceTaskId");
            return (Criteria) this;
        }

        public Criteria andSourceTaskIdNotLike(String value) {
            addCriterion("SOURCE_TASK_ID not like", value, "sourceTaskId");
            return (Criteria) this;
        }

        public Criteria andSourceTaskIdIn(List<String> values) {
            addCriterion("SOURCE_TASK_ID in", values, "sourceTaskId");
            return (Criteria) this;
        }

        public Criteria andSourceTaskIdNotIn(List<String> values) {
            addCriterion("SOURCE_TASK_ID not in", values, "sourceTaskId");
            return (Criteria) this;
        }

        public Criteria andSourceTaskIdBetween(String value1, String value2) {
            addCriterion("SOURCE_TASK_ID between", value1, value2, "sourceTaskId");
            return (Criteria) this;
        }

        public Criteria andSourceTaskIdNotBetween(String value1, String value2) {
            addCriterion("SOURCE_TASK_ID not between", value1, value2, "sourceTaskId");
            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);
        }
    }
}