package com.gyee.frame.model.auto;

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

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

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

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

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table P3_TASK
     *
     * @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 P3_TASK
     *
     * @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 P3_TASK
     *
     * @mbg.generated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

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

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table P3_TASK
     *
     * @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(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

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

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

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

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

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

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

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

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

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

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

        public Criteria andTaskcodeIsNull() {
            addCriterion("TASKCODE is null");
            return (Criteria) this;
        }

        public Criteria andTaskcodeIsNotNull() {
            addCriterion("TASKCODE is not null");
            return (Criteria) this;
        }

        public Criteria andTaskcodeEqualTo(String value) {
            addCriterion("TASKCODE =", value, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeNotEqualTo(String value) {
            addCriterion("TASKCODE <>", value, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeGreaterThan(String value) {
            addCriterion("TASKCODE >", value, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeGreaterThanOrEqualTo(String value) {
            addCriterion("TASKCODE >=", value, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeLessThan(String value) {
            addCriterion("TASKCODE <", value, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeLessThanOrEqualTo(String value) {
            addCriterion("TASKCODE <=", value, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeLike(String value) {
            addCriterion("TASKCODE like", value, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeNotLike(String value) {
            addCriterion("TASKCODE not like", value, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeIn(List<String> values) {
            addCriterion("TASKCODE in", values, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeNotIn(List<String> values) {
            addCriterion("TASKCODE not in", values, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeBetween(String value1, String value2) {
            addCriterion("TASKCODE between", value1, value2, "taskcode");
            return (Criteria) this;
        }

        public Criteria andTaskcodeNotBetween(String value1, String value2) {
            addCriterion("TASKCODE not between", value1, value2, "taskcode");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidIsNull() {
            addCriterion("WINDPOWERSTATIONID is null");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidIsNotNull() {
            addCriterion("WINDPOWERSTATIONID is not null");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidEqualTo(String value) {
            addCriterion("WINDPOWERSTATIONID =", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidNotEqualTo(String value) {
            addCriterion("WINDPOWERSTATIONID <>", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidGreaterThan(String value) {
            addCriterion("WINDPOWERSTATIONID >", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidGreaterThanOrEqualTo(String value) {
            addCriterion("WINDPOWERSTATIONID >=", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidLessThan(String value) {
            addCriterion("WINDPOWERSTATIONID <", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidLessThanOrEqualTo(String value) {
            addCriterion("WINDPOWERSTATIONID <=", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidLike(String value) {
            addCriterion("WINDPOWERSTATIONID like", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidNotLike(String value) {
            addCriterion("WINDPOWERSTATIONID not like", value, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidIn(List<String> values) {
            addCriterion("WINDPOWERSTATIONID in", values, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidNotIn(List<String> values) {
            addCriterion("WINDPOWERSTATIONID not in", values, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidBetween(String value1, String value2) {
            addCriterion("WINDPOWERSTATIONID between", value1, value2, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindpowerstationidNotBetween(String value1, String value2) {
            addCriterion("WINDPOWERSTATIONID not between", value1, value2, "windpowerstationid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidIsNull() {
            addCriterion("WINDTURBINEID is null");
            return (Criteria) this;
        }

        public Criteria andWindturbineidIsNotNull() {
            addCriterion("WINDTURBINEID is not null");
            return (Criteria) this;
        }

        public Criteria andWindturbineidEqualTo(String value) {
            addCriterion("WINDTURBINEID =", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidNotEqualTo(String value) {
            addCriterion("WINDTURBINEID <>", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidGreaterThan(String value) {
            addCriterion("WINDTURBINEID >", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidGreaterThanOrEqualTo(String value) {
            addCriterion("WINDTURBINEID >=", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidLessThan(String value) {
            addCriterion("WINDTURBINEID <", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidLessThanOrEqualTo(String value) {
            addCriterion("WINDTURBINEID <=", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidLike(String value) {
            addCriterion("WINDTURBINEID like", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidNotLike(String value) {
            addCriterion("WINDTURBINEID not like", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidIn(List<String> values) {
            addCriterion("WINDTURBINEID in", values, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidNotIn(List<String> values) {
            addCriterion("WINDTURBINEID not in", values, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidBetween(String value1, String value2) {
            addCriterion("WINDTURBINEID between", value1, value2, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidNotBetween(String value1, String value2) {
            addCriterion("WINDTURBINEID not between", value1, value2, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWarningidIsNull() {
            addCriterion("WARNINGID is null");
            return (Criteria) this;
        }

        public Criteria andWarningidIsNotNull() {
            addCriterion("WARNINGID is not null");
            return (Criteria) this;
        }

        public Criteria andWarningidEqualTo(String value) {
            addCriterion("WARNINGID =", value, "warningid");
            return (Criteria) this;
        }

        public Criteria andWarningidNotEqualTo(String value) {
            addCriterion("WARNINGID <>", value, "warningid");
            return (Criteria) this;
        }

        public Criteria andWarningidGreaterThan(String value) {
            addCriterion("WARNINGID >", value, "warningid");
            return (Criteria) this;
        }

        public Criteria andWarningidGreaterThanOrEqualTo(String value) {
            addCriterion("WARNINGID >=", value, "warningid");
            return (Criteria) this;
        }

        public Criteria andWarningidLessThan(String value) {
            addCriterion("WARNINGID <", value, "warningid");
            return (Criteria) this;
        }

        public Criteria andWarningidLessThanOrEqualTo(String value) {
            addCriterion("WARNINGID <=", value, "warningid");
            return (Criteria) this;
        }

        public Criteria andWarningidLike(String value) {
            addCriterion("WARNINGID like", value, "warningid");
            return (Criteria) this;
        }

        public Criteria andWarningidNotLike(String value) {
            addCriterion("WARNINGID not like", value, "warningid");
            return (Criteria) this;
        }

        public Criteria andWarningidIn(List<String> values) {
            addCriterion("WARNINGID in", values, "warningid");
            return (Criteria) this;
        }

        public Criteria andWarningidNotIn(List<String> values) {
            addCriterion("WARNINGID not in", values, "warningid");
            return (Criteria) this;
        }

        public Criteria andWarningidBetween(String value1, String value2) {
            addCriterion("WARNINGID between", value1, value2, "warningid");
            return (Criteria) this;
        }

        public Criteria andWarningidNotBetween(String value1, String value2) {
            addCriterion("WARNINGID not between", value1, value2, "warningid");
            return (Criteria) this;
        }

        public Criteria andPartidIsNull() {
            addCriterion("PARTID is null");
            return (Criteria) this;
        }

        public Criteria andPartidIsNotNull() {
            addCriterion("PARTID is not null");
            return (Criteria) this;
        }

        public Criteria andPartidEqualTo(String value) {
            addCriterion("PARTID =", value, "partid");
            return (Criteria) this;
        }

        public Criteria andPartidNotEqualTo(String value) {
            addCriterion("PARTID <>", value, "partid");
            return (Criteria) this;
        }

        public Criteria andPartidGreaterThan(String value) {
            addCriterion("PARTID >", value, "partid");
            return (Criteria) this;
        }

        public Criteria andPartidGreaterThanOrEqualTo(String value) {
            addCriterion("PARTID >=", value, "partid");
            return (Criteria) this;
        }

        public Criteria andPartidLessThan(String value) {
            addCriterion("PARTID <", value, "partid");
            return (Criteria) this;
        }

        public Criteria andPartidLessThanOrEqualTo(String value) {
            addCriterion("PARTID <=", value, "partid");
            return (Criteria) this;
        }

        public Criteria andPartidLike(String value) {
            addCriterion("PARTID like", value, "partid");
            return (Criteria) this;
        }

        public Criteria andPartidNotLike(String value) {
            addCriterion("PARTID not like", value, "partid");
            return (Criteria) this;
        }

        public Criteria andPartidIn(List<String> values) {
            addCriterion("PARTID in", values, "partid");
            return (Criteria) this;
        }

        public Criteria andPartidNotIn(List<String> values) {
            addCriterion("PARTID not in", values, "partid");
            return (Criteria) this;
        }

        public Criteria andPartidBetween(String value1, String value2) {
            addCriterion("PARTID between", value1, value2, "partid");
            return (Criteria) this;
        }

        public Criteria andPartidNotBetween(String value1, String value2) {
            addCriterion("PARTID not between", value1, value2, "partid");
            return (Criteria) this;
        }

        public Criteria andFrequencycountIsNull() {
            addCriterion("FREQUENCYCOUNT is null");
            return (Criteria) this;
        }

        public Criteria andFrequencycountIsNotNull() {
            addCriterion("FREQUENCYCOUNT is not null");
            return (Criteria) this;
        }

        public Criteria andFrequencycountEqualTo(Integer value) {
            addCriterion("FREQUENCYCOUNT =", value, "frequencycount");
            return (Criteria) this;
        }

        public Criteria andFrequencycountNotEqualTo(Integer value) {
            addCriterion("FREQUENCYCOUNT <>", value, "frequencycount");
            return (Criteria) this;
        }

        public Criteria andFrequencycountGreaterThan(Integer value) {
            addCriterion("FREQUENCYCOUNT >", value, "frequencycount");
            return (Criteria) this;
        }

        public Criteria andFrequencycountGreaterThanOrEqualTo(Integer value) {
            addCriterion("FREQUENCYCOUNT >=", value, "frequencycount");
            return (Criteria) this;
        }

        public Criteria andFrequencycountLessThan(Integer value) {
            addCriterion("FREQUENCYCOUNT <", value, "frequencycount");
            return (Criteria) this;
        }

        public Criteria andFrequencycountLessThanOrEqualTo(Integer value) {
            addCriterion("FREQUENCYCOUNT <=", value, "frequencycount");
            return (Criteria) this;
        }

        public Criteria andFrequencycountIn(List<Integer> values) {
            addCriterion("FREQUENCYCOUNT in", values, "frequencycount");
            return (Criteria) this;
        }

        public Criteria andFrequencycountNotIn(List<Integer> values) {
            addCriterion("FREQUENCYCOUNT not in", values, "frequencycount");
            return (Criteria) this;
        }

        public Criteria andFrequencycountBetween(Integer value1, Integer value2) {
            addCriterion("FREQUENCYCOUNT between", value1, value2, "frequencycount");
            return (Criteria) this;
        }

        public Criteria andFrequencycountNotBetween(Integer value1, Integer value2) {
            addCriterion("FREQUENCYCOUNT not between", value1, value2, "frequencycount");
            return (Criteria) this;
        }

        public Criteria andFaultcycleIsNull() {
            addCriterion("FAULTCYCLE is null");
            return (Criteria) this;
        }

        public Criteria andFaultcycleIsNotNull() {
            addCriterion("FAULTCYCLE is not null");
            return (Criteria) this;
        }

        public Criteria andFaultcycleEqualTo(Integer value) {
            addCriterion("FAULTCYCLE =", value, "faultcycle");
            return (Criteria) this;
        }

        public Criteria andFaultcycleNotEqualTo(Integer value) {
            addCriterion("FAULTCYCLE <>", value, "faultcycle");
            return (Criteria) this;
        }

        public Criteria andFaultcycleGreaterThan(Integer value) {
            addCriterion("FAULTCYCLE >", value, "faultcycle");
            return (Criteria) this;
        }

        public Criteria andFaultcycleGreaterThanOrEqualTo(Integer value) {
            addCriterion("FAULTCYCLE >=", value, "faultcycle");
            return (Criteria) this;
        }

        public Criteria andFaultcycleLessThan(Integer value) {
            addCriterion("FAULTCYCLE <", value, "faultcycle");
            return (Criteria) this;
        }

        public Criteria andFaultcycleLessThanOrEqualTo(Integer value) {
            addCriterion("FAULTCYCLE <=", value, "faultcycle");
            return (Criteria) this;
        }

        public Criteria andFaultcycleIn(List<Integer> values) {
            addCriterion("FAULTCYCLE in", values, "faultcycle");
            return (Criteria) this;
        }

        public Criteria andFaultcycleNotIn(List<Integer> values) {
            addCriterion("FAULTCYCLE not in", values, "faultcycle");
            return (Criteria) this;
        }

        public Criteria andFaultcycleBetween(Integer value1, Integer value2) {
            addCriterion("FAULTCYCLE between", value1, value2, "faultcycle");
            return (Criteria) this;
        }

        public Criteria andFaultcycleNotBetween(Integer value1, Integer value2) {
            addCriterion("FAULTCYCLE not between", value1, value2, "faultcycle");
            return (Criteria) this;
        }

        public Criteria andShutdownavgtimeIsNull() {
            addCriterion("SHUTDOWNAVGTIME is null");
            return (Criteria) this;
        }

        public Criteria andShutdownavgtimeIsNotNull() {
            addCriterion("SHUTDOWNAVGTIME is not null");
            return (Criteria) this;
        }

        public Criteria andShutdownavgtimeEqualTo(Integer value) {
            addCriterion("SHUTDOWNAVGTIME =", value, "shutdownavgtime");
            return (Criteria) this;
        }

        public Criteria andShutdownavgtimeNotEqualTo(Integer value) {
            addCriterion("SHUTDOWNAVGTIME <>", value, "shutdownavgtime");
            return (Criteria) this;
        }

        public Criteria andShutdownavgtimeGreaterThan(Integer value) {
            addCriterion("SHUTDOWNAVGTIME >", value, "shutdownavgtime");
            return (Criteria) this;
        }

        public Criteria andShutdownavgtimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("SHUTDOWNAVGTIME >=", value, "shutdownavgtime");
            return (Criteria) this;
        }

        public Criteria andShutdownavgtimeLessThan(Integer value) {
            addCriterion("SHUTDOWNAVGTIME <", value, "shutdownavgtime");
            return (Criteria) this;
        }

        public Criteria andShutdownavgtimeLessThanOrEqualTo(Integer value) {
            addCriterion("SHUTDOWNAVGTIME <=", value, "shutdownavgtime");
            return (Criteria) this;
        }

        public Criteria andShutdownavgtimeIn(List<Integer> values) {
            addCriterion("SHUTDOWNAVGTIME in", values, "shutdownavgtime");
            return (Criteria) this;
        }

        public Criteria andShutdownavgtimeNotIn(List<Integer> values) {
            addCriterion("SHUTDOWNAVGTIME not in", values, "shutdownavgtime");
            return (Criteria) this;
        }

        public Criteria andShutdownavgtimeBetween(Integer value1, Integer value2) {
            addCriterion("SHUTDOWNAVGTIME between", value1, value2, "shutdownavgtime");
            return (Criteria) this;
        }

        public Criteria andShutdownavgtimeNotBetween(Integer value1, Integer value2) {
            addCriterion("SHUTDOWNAVGTIME not between", value1, value2, "shutdownavgtime");
            return (Criteria) this;
        }

        public Criteria andExpectlostpowerIsNull() {
            addCriterion("EXPECTLOSTPOWER is null");
            return (Criteria) this;
        }

        public Criteria andExpectlostpowerIsNotNull() {
            addCriterion("EXPECTLOSTPOWER is not null");
            return (Criteria) this;
        }

        public Criteria andExpectlostpowerEqualTo(Integer value) {
            addCriterion("EXPECTLOSTPOWER =", value, "expectlostpower");
            return (Criteria) this;
        }

        public Criteria andExpectlostpowerNotEqualTo(Integer value) {
            addCriterion("EXPECTLOSTPOWER <>", value, "expectlostpower");
            return (Criteria) this;
        }

        public Criteria andExpectlostpowerGreaterThan(Integer value) {
            addCriterion("EXPECTLOSTPOWER >", value, "expectlostpower");
            return (Criteria) this;
        }

        public Criteria andExpectlostpowerGreaterThanOrEqualTo(Integer value) {
            addCriterion("EXPECTLOSTPOWER >=", value, "expectlostpower");
            return (Criteria) this;
        }

        public Criteria andExpectlostpowerLessThan(Integer value) {
            addCriterion("EXPECTLOSTPOWER <", value, "expectlostpower");
            return (Criteria) this;
        }

        public Criteria andExpectlostpowerLessThanOrEqualTo(Integer value) {
            addCriterion("EXPECTLOSTPOWER <=", value, "expectlostpower");
            return (Criteria) this;
        }

        public Criteria andExpectlostpowerIn(List<Integer> values) {
            addCriterion("EXPECTLOSTPOWER in", values, "expectlostpower");
            return (Criteria) this;
        }

        public Criteria andExpectlostpowerNotIn(List<Integer> values) {
            addCriterion("EXPECTLOSTPOWER not in", values, "expectlostpower");
            return (Criteria) this;
        }

        public Criteria andExpectlostpowerBetween(Integer value1, Integer value2) {
            addCriterion("EXPECTLOSTPOWER between", value1, value2, "expectlostpower");
            return (Criteria) this;
        }

        public Criteria andExpectlostpowerNotBetween(Integer value1, Integer value2) {
            addCriterion("EXPECTLOSTPOWER not between", value1, value2, "expectlostpower");
            return (Criteria) this;
        }

        public Criteria andHandlewayIsNull() {
            addCriterion("HANDLEWAY is null");
            return (Criteria) this;
        }

        public Criteria andHandlewayIsNotNull() {
            addCriterion("HANDLEWAY is not null");
            return (Criteria) this;
        }

        public Criteria andHandlewayEqualTo(String value) {
            addCriterion("HANDLEWAY =", value, "handleway");
            return (Criteria) this;
        }

        public Criteria andHandlewayNotEqualTo(String value) {
            addCriterion("HANDLEWAY <>", value, "handleway");
            return (Criteria) this;
        }

        public Criteria andHandlewayGreaterThan(String value) {
            addCriterion("HANDLEWAY >", value, "handleway");
            return (Criteria) this;
        }

        public Criteria andHandlewayGreaterThanOrEqualTo(String value) {
            addCriterion("HANDLEWAY >=", value, "handleway");
            return (Criteria) this;
        }

        public Criteria andHandlewayLessThan(String value) {
            addCriterion("HANDLEWAY <", value, "handleway");
            return (Criteria) this;
        }

        public Criteria andHandlewayLessThanOrEqualTo(String value) {
            addCriterion("HANDLEWAY <=", value, "handleway");
            return (Criteria) this;
        }

        public Criteria andHandlewayLike(String value) {
            addCriterion("HANDLEWAY like", value, "handleway");
            return (Criteria) this;
        }

        public Criteria andHandlewayNotLike(String value) {
            addCriterion("HANDLEWAY not like", value, "handleway");
            return (Criteria) this;
        }

        public Criteria andHandlewayIn(List<String> values) {
            addCriterion("HANDLEWAY in", values, "handleway");
            return (Criteria) this;
        }

        public Criteria andHandlewayNotIn(List<String> values) {
            addCriterion("HANDLEWAY not in", values, "handleway");
            return (Criteria) this;
        }

        public Criteria andHandlewayBetween(String value1, String value2) {
            addCriterion("HANDLEWAY between", value1, value2, "handleway");
            return (Criteria) this;
        }

        public Criteria andHandlewayNotBetween(String value1, String value2) {
            addCriterion("HANDLEWAY not between", value1, value2, "handleway");
            return (Criteria) this;
        }

        public Criteria andTasktypeIsNull() {
            addCriterion("TASKTYPE is null");
            return (Criteria) this;
        }

        public Criteria andTasktypeIsNotNull() {
            addCriterion("TASKTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andTasktypeEqualTo(String value) {
            addCriterion("TASKTYPE =", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotEqualTo(String value) {
            addCriterion("TASKTYPE <>", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeGreaterThan(String value) {
            addCriterion("TASKTYPE >", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeGreaterThanOrEqualTo(String value) {
            addCriterion("TASKTYPE >=", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeLessThan(String value) {
            addCriterion("TASKTYPE <", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeLessThanOrEqualTo(String value) {
            addCriterion("TASKTYPE <=", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeLike(String value) {
            addCriterion("TASKTYPE like", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotLike(String value) {
            addCriterion("TASKTYPE not like", value, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeIn(List<String> values) {
            addCriterion("TASKTYPE in", values, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotIn(List<String> values) {
            addCriterion("TASKTYPE not in", values, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeBetween(String value1, String value2) {
            addCriterion("TASKTYPE between", value1, value2, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTasktypeNotBetween(String value1, String value2) {
            addCriterion("TASKTYPE not between", value1, value2, "tasktype");
            return (Criteria) this;
        }

        public Criteria andTaskclassIsNull() {
            addCriterion("TASKCLASS is null");
            return (Criteria) this;
        }

        public Criteria andTaskclassIsNotNull() {
            addCriterion("TASKCLASS is not null");
            return (Criteria) this;
        }

        public Criteria andTaskclassEqualTo(String value) {
            addCriterion("TASKCLASS =", value, "taskclass");
            return (Criteria) this;
        }

        public Criteria andTaskclassNotEqualTo(String value) {
            addCriterion("TASKCLASS <>", value, "taskclass");
            return (Criteria) this;
        }

        public Criteria andTaskclassGreaterThan(String value) {
            addCriterion("TASKCLASS >", value, "taskclass");
            return (Criteria) this;
        }

        public Criteria andTaskclassGreaterThanOrEqualTo(String value) {
            addCriterion("TASKCLASS >=", value, "taskclass");
            return (Criteria) this;
        }

        public Criteria andTaskclassLessThan(String value) {
            addCriterion("TASKCLASS <", value, "taskclass");
            return (Criteria) this;
        }

        public Criteria andTaskclassLessThanOrEqualTo(String value) {
            addCriterion("TASKCLASS <=", value, "taskclass");
            return (Criteria) this;
        }

        public Criteria andTaskclassLike(String value) {
            addCriterion("TASKCLASS like", value, "taskclass");
            return (Criteria) this;
        }

        public Criteria andTaskclassNotLike(String value) {
            addCriterion("TASKCLASS not like", value, "taskclass");
            return (Criteria) this;
        }

        public Criteria andTaskclassIn(List<String> values) {
            addCriterion("TASKCLASS in", values, "taskclass");
            return (Criteria) this;
        }

        public Criteria andTaskclassNotIn(List<String> values) {
            addCriterion("TASKCLASS not in", values, "taskclass");
            return (Criteria) this;
        }

        public Criteria andTaskclassBetween(String value1, String value2) {
            addCriterion("TASKCLASS between", value1, value2, "taskclass");
            return (Criteria) this;
        }

        public Criteria andTaskclassNotBetween(String value1, String value2) {
            addCriterion("TASKCLASS not between", value1, value2, "taskclass");
            return (Criteria) this;
        }

        public Criteria andTaskstatusIsNull() {
            addCriterion("TASKSTATUS is null");
            return (Criteria) this;
        }

        public Criteria andTaskstatusIsNotNull() {
            addCriterion("TASKSTATUS is not null");
            return (Criteria) this;
        }

        public Criteria andTaskstatusEqualTo(String value) {
            addCriterion("TASKSTATUS =", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusNotEqualTo(String value) {
            addCriterion("TASKSTATUS <>", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusGreaterThan(String value) {
            addCriterion("TASKSTATUS >", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusGreaterThanOrEqualTo(String value) {
            addCriterion("TASKSTATUS >=", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusLessThan(String value) {
            addCriterion("TASKSTATUS <", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusLessThanOrEqualTo(String value) {
            addCriterion("TASKSTATUS <=", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusLike(String value) {
            addCriterion("TASKSTATUS like", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusNotLike(String value) {
            addCriterion("TASKSTATUS not like", value, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusIn(List<String> values) {
            addCriterion("TASKSTATUS in", values, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusNotIn(List<String> values) {
            addCriterion("TASKSTATUS not in", values, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusBetween(String value1, String value2) {
            addCriterion("TASKSTATUS between", value1, value2, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskstatusNotBetween(String value1, String value2) {
            addCriterion("TASKSTATUS not between", value1, value2, "taskstatus");
            return (Criteria) this;
        }

        public Criteria andTaskmadetimeIsNull() {
            addCriterion("TASKMADETIME is null");
            return (Criteria) this;
        }

        public Criteria andTaskmadetimeIsNotNull() {
            addCriterion("TASKMADETIME is not null");
            return (Criteria) this;
        }

        public Criteria andTaskmadetimeEqualTo(Date value) {
            addCriterion("TASKMADETIME =", value, "taskmadetime");
            return (Criteria) this;
        }

        public Criteria andTaskmadetimeNotEqualTo(Date value) {
            addCriterion("TASKMADETIME <>", value, "taskmadetime");
            return (Criteria) this;
        }

        public Criteria andTaskmadetimeGreaterThan(Date value) {
            addCriterion("TASKMADETIME >", value, "taskmadetime");
            return (Criteria) this;
        }

        public Criteria andTaskmadetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("TASKMADETIME >=", value, "taskmadetime");
            return (Criteria) this;
        }

        public Criteria andTaskmadetimeLessThan(Date value) {
            addCriterion("TASKMADETIME <", value, "taskmadetime");
            return (Criteria) this;
        }

        public Criteria andTaskmadetimeLessThanOrEqualTo(Date value) {
            addCriterion("TASKMADETIME <=", value, "taskmadetime");
            return (Criteria) this;
        }

        public Criteria andTaskmadetimeIn(List<Date> values) {
            addCriterion("TASKMADETIME in", values, "taskmadetime");
            return (Criteria) this;
        }

        public Criteria andTaskmadetimeNotIn(List<Date> values) {
            addCriterion("TASKMADETIME not in", values, "taskmadetime");
            return (Criteria) this;
        }

        public Criteria andTaskmadetimeBetween(Date value1, Date value2) {
            addCriterion("TASKMADETIME between", value1, value2, "taskmadetime");
            return (Criteria) this;
        }

        public Criteria andTaskmadetimeNotBetween(Date value1, Date value2) {
            addCriterion("TASKMADETIME not between", value1, value2, "taskmadetime");
            return (Criteria) this;
        }

        public Criteria andLastfaulttimeIsNull() {
            addCriterion("LASTFAULTTIME is null");
            return (Criteria) this;
        }

        public Criteria andLastfaulttimeIsNotNull() {
            addCriterion("LASTFAULTTIME is not null");
            return (Criteria) this;
        }

        public Criteria andLastfaulttimeEqualTo(Date value) {
            addCriterion("LASTFAULTTIME =", value, "lastfaulttime");
            return (Criteria) this;
        }

        public Criteria andLastfaulttimeNotEqualTo(Date value) {
            addCriterion("LASTFAULTTIME <>", value, "lastfaulttime");
            return (Criteria) this;
        }

        public Criteria andLastfaulttimeGreaterThan(Date value) {
            addCriterion("LASTFAULTTIME >", value, "lastfaulttime");
            return (Criteria) this;
        }

        public Criteria andLastfaulttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("LASTFAULTTIME >=", value, "lastfaulttime");
            return (Criteria) this;
        }

        public Criteria andLastfaulttimeLessThan(Date value) {
            addCriterion("LASTFAULTTIME <", value, "lastfaulttime");
            return (Criteria) this;
        }

        public Criteria andLastfaulttimeLessThanOrEqualTo(Date value) {
            addCriterion("LASTFAULTTIME <=", value, "lastfaulttime");
            return (Criteria) this;
        }

        public Criteria andLastfaulttimeIn(List<Date> values) {
            addCriterion("LASTFAULTTIME in", values, "lastfaulttime");
            return (Criteria) this;
        }

        public Criteria andLastfaulttimeNotIn(List<Date> values) {
            addCriterion("LASTFAULTTIME not in", values, "lastfaulttime");
            return (Criteria) this;
        }

        public Criteria andLastfaulttimeBetween(Date value1, Date value2) {
            addCriterion("LASTFAULTTIME between", value1, value2, "lastfaulttime");
            return (Criteria) this;
        }

        public Criteria andLastfaulttimeNotBetween(Date value1, Date value2) {
            addCriterion("LASTFAULTTIME not between", value1, value2, "lastfaulttime");
            return (Criteria) this;
        }

        public Criteria andStoptimeIsNull() {
            addCriterion("STOPTIME is null");
            return (Criteria) this;
        }

        public Criteria andStoptimeIsNotNull() {
            addCriterion("STOPTIME is not null");
            return (Criteria) this;
        }

        public Criteria andStoptimeEqualTo(Date value) {
            addCriterion("STOPTIME =", value, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeNotEqualTo(Date value) {
            addCriterion("STOPTIME <>", value, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeGreaterThan(Date value) {
            addCriterion("STOPTIME >", value, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeGreaterThanOrEqualTo(Date value) {
            addCriterion("STOPTIME >=", value, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeLessThan(Date value) {
            addCriterion("STOPTIME <", value, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeLessThanOrEqualTo(Date value) {
            addCriterion("STOPTIME <=", value, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeIn(List<Date> values) {
            addCriterion("STOPTIME in", values, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeNotIn(List<Date> values) {
            addCriterion("STOPTIME not in", values, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeBetween(Date value1, Date value2) {
            addCriterion("STOPTIME between", value1, value2, "stoptime");
            return (Criteria) this;
        }

        public Criteria andStoptimeNotBetween(Date value1, Date value2) {
            addCriterion("STOPTIME not between", value1, value2, "stoptime");
            return (Criteria) this;
        }

        public Criteria andTaskstarttimeIsNull() {
            addCriterion("TASKSTARTTIME is null");
            return (Criteria) this;
        }

        public Criteria andTaskstarttimeIsNotNull() {
            addCriterion("TASKSTARTTIME is not null");
            return (Criteria) this;
        }

        public Criteria andTaskstarttimeEqualTo(Date value) {
            addCriterion("TASKSTARTTIME =", value, "taskstarttime");
            return (Criteria) this;
        }

        public Criteria andTaskstarttimeNotEqualTo(Date value) {
            addCriterion("TASKSTARTTIME <>", value, "taskstarttime");
            return (Criteria) this;
        }

        public Criteria andTaskstarttimeGreaterThan(Date value) {
            addCriterion("TASKSTARTTIME >", value, "taskstarttime");
            return (Criteria) this;
        }

        public Criteria andTaskstarttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("TASKSTARTTIME >=", value, "taskstarttime");
            return (Criteria) this;
        }

        public Criteria andTaskstarttimeLessThan(Date value) {
            addCriterion("TASKSTARTTIME <", value, "taskstarttime");
            return (Criteria) this;
        }

        public Criteria andTaskstarttimeLessThanOrEqualTo(Date value) {
            addCriterion("TASKSTARTTIME <=", value, "taskstarttime");
            return (Criteria) this;
        }

        public Criteria andTaskstarttimeIn(List<Date> values) {
            addCriterion("TASKSTARTTIME in", values, "taskstarttime");
            return (Criteria) this;
        }

        public Criteria andTaskstarttimeNotIn(List<Date> values) {
            addCriterion("TASKSTARTTIME not in", values, "taskstarttime");
            return (Criteria) this;
        }

        public Criteria andTaskstarttimeBetween(Date value1, Date value2) {
            addCriterion("TASKSTARTTIME between", value1, value2, "taskstarttime");
            return (Criteria) this;
        }

        public Criteria andTaskstarttimeNotBetween(Date value1, Date value2) {
            addCriterion("TASKSTARTTIME not between", value1, value2, "taskstarttime");
            return (Criteria) this;
        }

        public Criteria andTaskreceivetimeIsNull() {
            addCriterion("TASKRECEIVETIME is null");
            return (Criteria) this;
        }

        public Criteria andTaskreceivetimeIsNotNull() {
            addCriterion("TASKRECEIVETIME is not null");
            return (Criteria) this;
        }

        public Criteria andTaskreceivetimeEqualTo(Date value) {
            addCriterion("TASKRECEIVETIME =", value, "taskreceivetime");
            return (Criteria) this;
        }

        public Criteria andTaskreceivetimeNotEqualTo(Date value) {
            addCriterion("TASKRECEIVETIME <>", value, "taskreceivetime");
            return (Criteria) this;
        }

        public Criteria andTaskreceivetimeGreaterThan(Date value) {
            addCriterion("TASKRECEIVETIME >", value, "taskreceivetime");
            return (Criteria) this;
        }

        public Criteria andTaskreceivetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("TASKRECEIVETIME >=", value, "taskreceivetime");
            return (Criteria) this;
        }

        public Criteria andTaskreceivetimeLessThan(Date value) {
            addCriterion("TASKRECEIVETIME <", value, "taskreceivetime");
            return (Criteria) this;
        }

        public Criteria andTaskreceivetimeLessThanOrEqualTo(Date value) {
            addCriterion("TASKRECEIVETIME <=", value, "taskreceivetime");
            return (Criteria) this;
        }

        public Criteria andTaskreceivetimeIn(List<Date> values) {
            addCriterion("TASKRECEIVETIME in", values, "taskreceivetime");
            return (Criteria) this;
        }

        public Criteria andTaskreceivetimeNotIn(List<Date> values) {
            addCriterion("TASKRECEIVETIME not in", values, "taskreceivetime");
            return (Criteria) this;
        }

        public Criteria andTaskreceivetimeBetween(Date value1, Date value2) {
            addCriterion("TASKRECEIVETIME between", value1, value2, "taskreceivetime");
            return (Criteria) this;
        }

        public Criteria andTaskreceivetimeNotBetween(Date value1, Date value2) {
            addCriterion("TASKRECEIVETIME not between", value1, value2, "taskreceivetime");
            return (Criteria) this;
        }

        public Criteria andArrivespottimeIsNull() {
            addCriterion("ARRIVESPOTTIME is null");
            return (Criteria) this;
        }

        public Criteria andArrivespottimeIsNotNull() {
            addCriterion("ARRIVESPOTTIME is not null");
            return (Criteria) this;
        }

        public Criteria andArrivespottimeEqualTo(Date value) {
            addCriterion("ARRIVESPOTTIME =", value, "arrivespottime");
            return (Criteria) this;
        }

        public Criteria andArrivespottimeNotEqualTo(Date value) {
            addCriterion("ARRIVESPOTTIME <>", value, "arrivespottime");
            return (Criteria) this;
        }

        public Criteria andArrivespottimeGreaterThan(Date value) {
            addCriterion("ARRIVESPOTTIME >", value, "arrivespottime");
            return (Criteria) this;
        }

        public Criteria andArrivespottimeGreaterThanOrEqualTo(Date value) {
            addCriterion("ARRIVESPOTTIME >=", value, "arrivespottime");
            return (Criteria) this;
        }

        public Criteria andArrivespottimeLessThan(Date value) {
            addCriterion("ARRIVESPOTTIME <", value, "arrivespottime");
            return (Criteria) this;
        }

        public Criteria andArrivespottimeLessThanOrEqualTo(Date value) {
            addCriterion("ARRIVESPOTTIME <=", value, "arrivespottime");
            return (Criteria) this;
        }

        public Criteria andArrivespottimeIn(List<Date> values) {
            addCriterion("ARRIVESPOTTIME in", values, "arrivespottime");
            return (Criteria) this;
        }

        public Criteria andArrivespottimeNotIn(List<Date> values) {
            addCriterion("ARRIVESPOTTIME not in", values, "arrivespottime");
            return (Criteria) this;
        }

        public Criteria andArrivespottimeBetween(Date value1, Date value2) {
            addCriterion("ARRIVESPOTTIME between", value1, value2, "arrivespottime");
            return (Criteria) this;
        }

        public Criteria andArrivespottimeNotBetween(Date value1, Date value2) {
            addCriterion("ARRIVESPOTTIME not between", value1, value2, "arrivespottime");
            return (Criteria) this;
        }

        public Criteria andExpectfinishtimeIsNull() {
            addCriterion("EXPECTFINISHTIME is null");
            return (Criteria) this;
        }

        public Criteria andExpectfinishtimeIsNotNull() {
            addCriterion("EXPECTFINISHTIME is not null");
            return (Criteria) this;
        }

        public Criteria andExpectfinishtimeEqualTo(Date value) {
            addCriterion("EXPECTFINISHTIME =", value, "expectfinishtime");
            return (Criteria) this;
        }

        public Criteria andExpectfinishtimeNotEqualTo(Date value) {
            addCriterion("EXPECTFINISHTIME <>", value, "expectfinishtime");
            return (Criteria) this;
        }

        public Criteria andExpectfinishtimeGreaterThan(Date value) {
            addCriterion("EXPECTFINISHTIME >", value, "expectfinishtime");
            return (Criteria) this;
        }

        public Criteria andExpectfinishtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("EXPECTFINISHTIME >=", value, "expectfinishtime");
            return (Criteria) this;
        }

        public Criteria andExpectfinishtimeLessThan(Date value) {
            addCriterion("EXPECTFINISHTIME <", value, "expectfinishtime");
            return (Criteria) this;
        }

        public Criteria andExpectfinishtimeLessThanOrEqualTo(Date value) {
            addCriterion("EXPECTFINISHTIME <=", value, "expectfinishtime");
            return (Criteria) this;
        }

        public Criteria andExpectfinishtimeIn(List<Date> values) {
            addCriterion("EXPECTFINISHTIME in", values, "expectfinishtime");
            return (Criteria) this;
        }

        public Criteria andExpectfinishtimeNotIn(List<Date> values) {
            addCriterion("EXPECTFINISHTIME not in", values, "expectfinishtime");
            return (Criteria) this;
        }

        public Criteria andExpectfinishtimeBetween(Date value1, Date value2) {
            addCriterion("EXPECTFINISHTIME between", value1, value2, "expectfinishtime");
            return (Criteria) this;
        }

        public Criteria andExpectfinishtimeNotBetween(Date value1, Date value2) {
            addCriterion("EXPECTFINISHTIME not between", value1, value2, "expectfinishtime");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("USERID is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("USERID is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(String value) {
            addCriterion("USERID =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(String value) {
            addCriterion("USERID <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(String value) {
            addCriterion("USERID >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(String value) {
            addCriterion("USERID >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(String value) {
            addCriterion("USERID <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(String value) {
            addCriterion("USERID <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLike(String value) {
            addCriterion("USERID like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotLike(String value) {
            addCriterion("USERID not like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<String> values) {
            addCriterion("USERID in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<String> values) {
            addCriterion("USERID not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(String value1, String value2) {
            addCriterion("USERID between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(String value1, String value2) {
            addCriterion("USERID not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNull() {
            addCriterion("USERNAME is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("USERNAME is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("USERNAME =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("USERNAME <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("USERNAME >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("USERNAME >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("USERNAME <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("USERNAME <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("USERNAME like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("USERNAME not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("USERNAME in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("USERNAME not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("USERNAME between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("USERNAME not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andRecommendtimeIsNull() {
            addCriterion("RECOMMENDTIME is null");
            return (Criteria) this;
        }

        public Criteria andRecommendtimeIsNotNull() {
            addCriterion("RECOMMENDTIME is not null");
            return (Criteria) this;
        }

        public Criteria andRecommendtimeEqualTo(Date value) {
            addCriterion("RECOMMENDTIME =", value, "recommendtime");
            return (Criteria) this;
        }

        public Criteria andRecommendtimeNotEqualTo(Date value) {
            addCriterion("RECOMMENDTIME <>", value, "recommendtime");
            return (Criteria) this;
        }

        public Criteria andRecommendtimeGreaterThan(Date value) {
            addCriterion("RECOMMENDTIME >", value, "recommendtime");
            return (Criteria) this;
        }

        public Criteria andRecommendtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("RECOMMENDTIME >=", value, "recommendtime");
            return (Criteria) this;
        }

        public Criteria andRecommendtimeLessThan(Date value) {
            addCriterion("RECOMMENDTIME <", value, "recommendtime");
            return (Criteria) this;
        }

        public Criteria andRecommendtimeLessThanOrEqualTo(Date value) {
            addCriterion("RECOMMENDTIME <=", value, "recommendtime");
            return (Criteria) this;
        }

        public Criteria andRecommendtimeIn(List<Date> values) {
            addCriterion("RECOMMENDTIME in", values, "recommendtime");
            return (Criteria) this;
        }

        public Criteria andRecommendtimeNotIn(List<Date> values) {
            addCriterion("RECOMMENDTIME not in", values, "recommendtime");
            return (Criteria) this;
        }

        public Criteria andRecommendtimeBetween(Date value1, Date value2) {
            addCriterion("RECOMMENDTIME between", value1, value2, "recommendtime");
            return (Criteria) this;
        }

        public Criteria andRecommendtimeNotBetween(Date value1, Date value2) {
            addCriterion("RECOMMENDTIME not between", value1, value2, "recommendtime");
            return (Criteria) this;
        }

        public Criteria andTaskfinishtimeIsNull() {
            addCriterion("TASKFINISHTIME is null");
            return (Criteria) this;
        }

        public Criteria andTaskfinishtimeIsNotNull() {
            addCriterion("TASKFINISHTIME is not null");
            return (Criteria) this;
        }

        public Criteria andTaskfinishtimeEqualTo(Date value) {
            addCriterion("TASKFINISHTIME =", value, "taskfinishtime");
            return (Criteria) this;
        }

        public Criteria andTaskfinishtimeNotEqualTo(Date value) {
            addCriterion("TASKFINISHTIME <>", value, "taskfinishtime");
            return (Criteria) this;
        }

        public Criteria andTaskfinishtimeGreaterThan(Date value) {
            addCriterion("TASKFINISHTIME >", value, "taskfinishtime");
            return (Criteria) this;
        }

        public Criteria andTaskfinishtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("TASKFINISHTIME >=", value, "taskfinishtime");
            return (Criteria) this;
        }

        public Criteria andTaskfinishtimeLessThan(Date value) {
            addCriterion("TASKFINISHTIME <", value, "taskfinishtime");
            return (Criteria) this;
        }

        public Criteria andTaskfinishtimeLessThanOrEqualTo(Date value) {
            addCriterion("TASKFINISHTIME <=", value, "taskfinishtime");
            return (Criteria) this;
        }

        public Criteria andTaskfinishtimeIn(List<Date> values) {
            addCriterion("TASKFINISHTIME in", values, "taskfinishtime");
            return (Criteria) this;
        }

        public Criteria andTaskfinishtimeNotIn(List<Date> values) {
            addCriterion("TASKFINISHTIME not in", values, "taskfinishtime");
            return (Criteria) this;
        }

        public Criteria andTaskfinishtimeBetween(Date value1, Date value2) {
            addCriterion("TASKFINISHTIME between", value1, value2, "taskfinishtime");
            return (Criteria) this;
        }

        public Criteria andTaskfinishtimeNotBetween(Date value1, Date value2) {
            addCriterion("TASKFINISHTIME not between", value1, value2, "taskfinishtime");
            return (Criteria) this;
        }

        public Criteria andFinishgridconnecttimeIsNull() {
            addCriterion("FINISHGRIDCONNECTTIME is null");
            return (Criteria) this;
        }

        public Criteria andFinishgridconnecttimeIsNotNull() {
            addCriterion("FINISHGRIDCONNECTTIME is not null");
            return (Criteria) this;
        }

        public Criteria andFinishgridconnecttimeEqualTo(Date value) {
            addCriterion("FINISHGRIDCONNECTTIME =", value, "finishgridconnecttime");
            return (Criteria) this;
        }

        public Criteria andFinishgridconnecttimeNotEqualTo(Date value) {
            addCriterion("FINISHGRIDCONNECTTIME <>", value, "finishgridconnecttime");
            return (Criteria) this;
        }

        public Criteria andFinishgridconnecttimeGreaterThan(Date value) {
            addCriterion("FINISHGRIDCONNECTTIME >", value, "finishgridconnecttime");
            return (Criteria) this;
        }

        public Criteria andFinishgridconnecttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("FINISHGRIDCONNECTTIME >=", value, "finishgridconnecttime");
            return (Criteria) this;
        }

        public Criteria andFinishgridconnecttimeLessThan(Date value) {
            addCriterion("FINISHGRIDCONNECTTIME <", value, "finishgridconnecttime");
            return (Criteria) this;
        }

        public Criteria andFinishgridconnecttimeLessThanOrEqualTo(Date value) {
            addCriterion("FINISHGRIDCONNECTTIME <=", value, "finishgridconnecttime");
            return (Criteria) this;
        }

        public Criteria andFinishgridconnecttimeIn(List<Date> values) {
            addCriterion("FINISHGRIDCONNECTTIME in", values, "finishgridconnecttime");
            return (Criteria) this;
        }

        public Criteria andFinishgridconnecttimeNotIn(List<Date> values) {
            addCriterion("FINISHGRIDCONNECTTIME not in", values, "finishgridconnecttime");
            return (Criteria) this;
        }

        public Criteria andFinishgridconnecttimeBetween(Date value1, Date value2) {
            addCriterion("FINISHGRIDCONNECTTIME between", value1, value2, "finishgridconnecttime");
            return (Criteria) this;
        }

        public Criteria andFinishgridconnecttimeNotBetween(Date value1, Date value2) {
            addCriterion("FINISHGRIDCONNECTTIME not between", value1, value2, "finishgridconnecttime");
            return (Criteria) this;
        }

        public Criteria andFactlostpowerIsNull() {
            addCriterion("FACTLOSTPOWER is null");
            return (Criteria) this;
        }

        public Criteria andFactlostpowerIsNotNull() {
            addCriterion("FACTLOSTPOWER is not null");
            return (Criteria) this;
        }

        public Criteria andFactlostpowerEqualTo(Integer value) {
            addCriterion("FACTLOSTPOWER =", value, "factlostpower");
            return (Criteria) this;
        }

        public Criteria andFactlostpowerNotEqualTo(Integer value) {
            addCriterion("FACTLOSTPOWER <>", value, "factlostpower");
            return (Criteria) this;
        }

        public Criteria andFactlostpowerGreaterThan(Integer value) {
            addCriterion("FACTLOSTPOWER >", value, "factlostpower");
            return (Criteria) this;
        }

        public Criteria andFactlostpowerGreaterThanOrEqualTo(Integer value) {
            addCriterion("FACTLOSTPOWER >=", value, "factlostpower");
            return (Criteria) this;
        }

        public Criteria andFactlostpowerLessThan(Integer value) {
            addCriterion("FACTLOSTPOWER <", value, "factlostpower");
            return (Criteria) this;
        }

        public Criteria andFactlostpowerLessThanOrEqualTo(Integer value) {
            addCriterion("FACTLOSTPOWER <=", value, "factlostpower");
            return (Criteria) this;
        }

        public Criteria andFactlostpowerIn(List<Integer> values) {
            addCriterion("FACTLOSTPOWER in", values, "factlostpower");
            return (Criteria) this;
        }

        public Criteria andFactlostpowerNotIn(List<Integer> values) {
            addCriterion("FACTLOSTPOWER not in", values, "factlostpower");
            return (Criteria) this;
        }

        public Criteria andFactlostpowerBetween(Integer value1, Integer value2) {
            addCriterion("FACTLOSTPOWER between", value1, value2, "factlostpower");
            return (Criteria) this;
        }

        public Criteria andFactlostpowerNotBetween(Integer value1, Integer value2) {
            addCriterion("FACTLOSTPOWER not between", value1, value2, "factlostpower");
            return (Criteria) this;
        }

        public Criteria andTaskmadeuseridIsNull() {
            addCriterion("TASKMADEUSERID is null");
            return (Criteria) this;
        }

        public Criteria andTaskmadeuseridIsNotNull() {
            addCriterion("TASKMADEUSERID is not null");
            return (Criteria) this;
        }

        public Criteria andTaskmadeuseridEqualTo(String value) {
            addCriterion("TASKMADEUSERID =", value, "taskmadeuserid");
            return (Criteria) this;
        }

        public Criteria andTaskmadeuseridNotEqualTo(String value) {
            addCriterion("TASKMADEUSERID <>", value, "taskmadeuserid");
            return (Criteria) this;
        }

        public Criteria andTaskmadeuseridGreaterThan(String value) {
            addCriterion("TASKMADEUSERID >", value, "taskmadeuserid");
            return (Criteria) this;
        }

        public Criteria andTaskmadeuseridGreaterThanOrEqualTo(String value) {
            addCriterion("TASKMADEUSERID >=", value, "taskmadeuserid");
            return (Criteria) this;
        }

        public Criteria andTaskmadeuseridLessThan(String value) {
            addCriterion("TASKMADEUSERID <", value, "taskmadeuserid");
            return (Criteria) this;
        }

        public Criteria andTaskmadeuseridLessThanOrEqualTo(String value) {
            addCriterion("TASKMADEUSERID <=", value, "taskmadeuserid");
            return (Criteria) this;
        }

        public Criteria andTaskmadeuseridLike(String value) {
            addCriterion("TASKMADEUSERID like", value, "taskmadeuserid");
            return (Criteria) this;
        }

        public Criteria andTaskmadeuseridNotLike(String value) {
            addCriterion("TASKMADEUSERID not like", value, "taskmadeuserid");
            return (Criteria) this;
        }

        public Criteria andTaskmadeuseridIn(List<String> values) {
            addCriterion("TASKMADEUSERID in", values, "taskmadeuserid");
            return (Criteria) this;
        }

        public Criteria andTaskmadeuseridNotIn(List<String> values) {
            addCriterion("TASKMADEUSERID not in", values, "taskmadeuserid");
            return (Criteria) this;
        }

        public Criteria andTaskmadeuseridBetween(String value1, String value2) {
            addCriterion("TASKMADEUSERID between", value1, value2, "taskmadeuserid");
            return (Criteria) this;
        }

        public Criteria andTaskmadeuseridNotBetween(String value1, String value2) {
            addCriterion("TASKMADEUSERID not between", value1, value2, "taskmadeuserid");
            return (Criteria) this;
        }

        public Criteria andTaskmadeusernameIsNull() {
            addCriterion("TASKMADEUSERNAME is null");
            return (Criteria) this;
        }

        public Criteria andTaskmadeusernameIsNotNull() {
            addCriterion("TASKMADEUSERNAME is not null");
            return (Criteria) this;
        }

        public Criteria andTaskmadeusernameEqualTo(String value) {
            addCriterion("TASKMADEUSERNAME =", value, "taskmadeusername");
            return (Criteria) this;
        }

        public Criteria andTaskmadeusernameNotEqualTo(String value) {
            addCriterion("TASKMADEUSERNAME <>", value, "taskmadeusername");
            return (Criteria) this;
        }

        public Criteria andTaskmadeusernameGreaterThan(String value) {
            addCriterion("TASKMADEUSERNAME >", value, "taskmadeusername");
            return (Criteria) this;
        }

        public Criteria andTaskmadeusernameGreaterThanOrEqualTo(String value) {
            addCriterion("TASKMADEUSERNAME >=", value, "taskmadeusername");
            return (Criteria) this;
        }

        public Criteria andTaskmadeusernameLessThan(String value) {
            addCriterion("TASKMADEUSERNAME <", value, "taskmadeusername");
            return (Criteria) this;
        }

        public Criteria andTaskmadeusernameLessThanOrEqualTo(String value) {
            addCriterion("TASKMADEUSERNAME <=", value, "taskmadeusername");
            return (Criteria) this;
        }

        public Criteria andTaskmadeusernameLike(String value) {
            addCriterion("TASKMADEUSERNAME like", value, "taskmadeusername");
            return (Criteria) this;
        }

        public Criteria andTaskmadeusernameNotLike(String value) {
            addCriterion("TASKMADEUSERNAME not like", value, "taskmadeusername");
            return (Criteria) this;
        }

        public Criteria andTaskmadeusernameIn(List<String> values) {
            addCriterion("TASKMADEUSERNAME in", values, "taskmadeusername");
            return (Criteria) this;
        }

        public Criteria andTaskmadeusernameNotIn(List<String> values) {
            addCriterion("TASKMADEUSERNAME not in", values, "taskmadeusername");
            return (Criteria) this;
        }

        public Criteria andTaskmadeusernameBetween(String value1, String value2) {
            addCriterion("TASKMADEUSERNAME between", value1, value2, "taskmadeusername");
            return (Criteria) this;
        }

        public Criteria andTaskmadeusernameNotBetween(String value1, String value2) {
            addCriterion("TASKMADEUSERNAME not between", value1, value2, "taskmadeusername");
            return (Criteria) this;
        }

        public Criteria andFailurecauseidIsNull() {
            addCriterion("FAILURECAUSEID is null");
            return (Criteria) this;
        }

        public Criteria andFailurecauseidIsNotNull() {
            addCriterion("FAILURECAUSEID is not null");
            return (Criteria) this;
        }

        public Criteria andFailurecauseidEqualTo(String value) {
            addCriterion("FAILURECAUSEID =", value, "failurecauseid");
            return (Criteria) this;
        }

        public Criteria andFailurecauseidNotEqualTo(String value) {
            addCriterion("FAILURECAUSEID <>", value, "failurecauseid");
            return (Criteria) this;
        }

        public Criteria andFailurecauseidGreaterThan(String value) {
            addCriterion("FAILURECAUSEID >", value, "failurecauseid");
            return (Criteria) this;
        }

        public Criteria andFailurecauseidGreaterThanOrEqualTo(String value) {
            addCriterion("FAILURECAUSEID >=", value, "failurecauseid");
            return (Criteria) this;
        }

        public Criteria andFailurecauseidLessThan(String value) {
            addCriterion("FAILURECAUSEID <", value, "failurecauseid");
            return (Criteria) this;
        }

        public Criteria andFailurecauseidLessThanOrEqualTo(String value) {
            addCriterion("FAILURECAUSEID <=", value, "failurecauseid");
            return (Criteria) this;
        }

        public Criteria andFailurecauseidLike(String value) {
            addCriterion("FAILURECAUSEID like", value, "failurecauseid");
            return (Criteria) this;
        }

        public Criteria andFailurecauseidNotLike(String value) {
            addCriterion("FAILURECAUSEID not like", value, "failurecauseid");
            return (Criteria) this;
        }

        public Criteria andFailurecauseidIn(List<String> values) {
            addCriterion("FAILURECAUSEID in", values, "failurecauseid");
            return (Criteria) this;
        }

        public Criteria andFailurecauseidNotIn(List<String> values) {
            addCriterion("FAILURECAUSEID not in", values, "failurecauseid");
            return (Criteria) this;
        }

        public Criteria andFailurecauseidBetween(String value1, String value2) {
            addCriterion("FAILURECAUSEID between", value1, value2, "failurecauseid");
            return (Criteria) this;
        }

        public Criteria andFailurecauseidNotBetween(String value1, String value2) {
            addCriterion("FAILURECAUSEID not between", value1, value2, "failurecauseid");
            return (Criteria) this;
        }

        public Criteria andWarninglevelIsNull() {
            addCriterion("WARNINGLEVEL is null");
            return (Criteria) this;
        }

        public Criteria andWarninglevelIsNotNull() {
            addCriterion("WARNINGLEVEL is not null");
            return (Criteria) this;
        }

        public Criteria andWarninglevelEqualTo(String value) {
            addCriterion("WARNINGLEVEL =", value, "warninglevel");
            return (Criteria) this;
        }

        public Criteria andWarninglevelNotEqualTo(String value) {
            addCriterion("WARNINGLEVEL <>", value, "warninglevel");
            return (Criteria) this;
        }

        public Criteria andWarninglevelGreaterThan(String value) {
            addCriterion("WARNINGLEVEL >", value, "warninglevel");
            return (Criteria) this;
        }

        public Criteria andWarninglevelGreaterThanOrEqualTo(String value) {
            addCriterion("WARNINGLEVEL >=", value, "warninglevel");
            return (Criteria) this;
        }

        public Criteria andWarninglevelLessThan(String value) {
            addCriterion("WARNINGLEVEL <", value, "warninglevel");
            return (Criteria) this;
        }

        public Criteria andWarninglevelLessThanOrEqualTo(String value) {
            addCriterion("WARNINGLEVEL <=", value, "warninglevel");
            return (Criteria) this;
        }

        public Criteria andWarninglevelLike(String value) {
            addCriterion("WARNINGLEVEL like", value, "warninglevel");
            return (Criteria) this;
        }

        public Criteria andWarninglevelNotLike(String value) {
            addCriterion("WARNINGLEVEL not like", value, "warninglevel");
            return (Criteria) this;
        }

        public Criteria andWarninglevelIn(List<String> values) {
            addCriterion("WARNINGLEVEL in", values, "warninglevel");
            return (Criteria) this;
        }

        public Criteria andWarninglevelNotIn(List<String> values) {
            addCriterion("WARNINGLEVEL not in", values, "warninglevel");
            return (Criteria) this;
        }

        public Criteria andWarninglevelBetween(String value1, String value2) {
            addCriterion("WARNINGLEVEL between", value1, value2, "warninglevel");
            return (Criteria) this;
        }

        public Criteria andWarninglevelNotBetween(String value1, String value2) {
            addCriterion("WARNINGLEVEL not between", value1, value2, "warninglevel");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table P3_TASK
     *
     * @mbg.generated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

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