package com.gyee.frame.model.auto;

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

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

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

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

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table shutdownevent2
     *
     * @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 shutdownevent2
     *
     * @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 shutdownevent2
     *
     * @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 shutdownevent2
     *
     * @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 shutdownevent2
     *
     * @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 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 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 andStarttimeIsNull() {
            addCriterion("startTime is null");
            return (Criteria) this;
        }

        public Criteria andStarttimeIsNotNull() {
            addCriterion("startTime is not null");
            return (Criteria) this;
        }

        public Criteria andStarttimeEqualTo(Date value) {
            addCriterion("startTime =", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotEqualTo(Date value) {
            addCriterion("startTime <>", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeGreaterThan(Date value) {
            addCriterion("startTime >", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("startTime >=", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeLessThan(Date value) {
            addCriterion("startTime <", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeLessThanOrEqualTo(Date value) {
            addCriterion("startTime <=", value, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeIn(List<Date> values) {
            addCriterion("startTime in", values, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotIn(List<Date> values) {
            addCriterion("startTime not in", values, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeBetween(Date value1, Date value2) {
            addCriterion("startTime between", value1, value2, "starttime");
            return (Criteria) this;
        }

        public Criteria andStarttimeNotBetween(Date value1, Date value2) {
            addCriterion("startTime not between", value1, value2, "starttime");
            return (Criteria) this;
        }

        public Criteria andStophoursIsNull() {
            addCriterion("stopHours is null");
            return (Criteria) this;
        }

        public Criteria andStophoursIsNotNull() {
            addCriterion("stopHours is not null");
            return (Criteria) this;
        }

        public Criteria andStophoursEqualTo(Double value) {
            addCriterion("stopHours =", value, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursNotEqualTo(Double value) {
            addCriterion("stopHours <>", value, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursGreaterThan(Double value) {
            addCriterion("stopHours >", value, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursGreaterThanOrEqualTo(Double value) {
            addCriterion("stopHours >=", value, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursLessThan(Double value) {
            addCriterion("stopHours <", value, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursLessThanOrEqualTo(Double value) {
            addCriterion("stopHours <=", value, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursIn(List<Double> values) {
            addCriterion("stopHours in", values, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursNotIn(List<Double> values) {
            addCriterion("stopHours not in", values, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursBetween(Double value1, Double value2) {
            addCriterion("stopHours between", value1, value2, "stophours");
            return (Criteria) this;
        }

        public Criteria andStophoursNotBetween(Double value1, Double value2) {
            addCriterion("stopHours not between", value1, value2, "stophours");
            return (Criteria) this;
        }

        public Criteria andLosspowerIsNull() {
            addCriterion("lossPower is null");
            return (Criteria) this;
        }

        public Criteria andLosspowerIsNotNull() {
            addCriterion("lossPower is not null");
            return (Criteria) this;
        }

        public Criteria andLosspowerEqualTo(Double value) {
            addCriterion("lossPower =", value, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerNotEqualTo(Double value) {
            addCriterion("lossPower <>", value, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerGreaterThan(Double value) {
            addCriterion("lossPower >", value, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerGreaterThanOrEqualTo(Double value) {
            addCriterion("lossPower >=", value, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerLessThan(Double value) {
            addCriterion("lossPower <", value, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerLessThanOrEqualTo(Double value) {
            addCriterion("lossPower <=", value, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerIn(List<Double> values) {
            addCriterion("lossPower in", values, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerNotIn(List<Double> values) {
            addCriterion("lossPower not in", values, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerBetween(Double value1, Double value2) {
            addCriterion("lossPower between", value1, value2, "losspower");
            return (Criteria) this;
        }

        public Criteria andLosspowerNotBetween(Double value1, Double value2) {
            addCriterion("lossPower not between", value1, value2, "losspower");
            return (Criteria) this;
        }

        public Criteria andStoptypeidIsNull() {
            addCriterion("stopTypeId is null");
            return (Criteria) this;
        }

        public Criteria andStoptypeidIsNotNull() {
            addCriterion("stopTypeId is not null");
            return (Criteria) this;
        }

        public Criteria andStoptypeidEqualTo(String value) {
            addCriterion("stopTypeId =", value, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidNotEqualTo(String value) {
            addCriterion("stopTypeId <>", value, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidGreaterThan(String value) {
            addCriterion("stopTypeId >", value, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidGreaterThanOrEqualTo(String value) {
            addCriterion("stopTypeId >=", value, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidLessThan(String value) {
            addCriterion("stopTypeId <", value, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidLessThanOrEqualTo(String value) {
            addCriterion("stopTypeId <=", value, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidLike(String value) {
            addCriterion("stopTypeId like", value, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidNotLike(String value) {
            addCriterion("stopTypeId not like", value, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidIn(List<String> values) {
            addCriterion("stopTypeId in", values, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidNotIn(List<String> values) {
            addCriterion("stopTypeId not in", values, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidBetween(String value1, String value2) {
            addCriterion("stopTypeId between", value1, value2, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andStoptypeidNotBetween(String value1, String value2) {
            addCriterion("stopTypeId not between", value1, value2, "stoptypeid");
            return (Criteria) this;
        }

        public Criteria andIshandleIsNull() {
            addCriterion("isHandle is null");
            return (Criteria) this;
        }

        public Criteria andIshandleIsNotNull() {
            addCriterion("isHandle is not null");
            return (Criteria) this;
        }

        public Criteria andIshandleEqualTo(Boolean value) {
            addCriterion("isHandle =", value, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleNotEqualTo(Boolean value) {
            addCriterion("isHandle <>", value, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleGreaterThan(Boolean value) {
            addCriterion("isHandle >", value, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleGreaterThanOrEqualTo(Boolean value) {
            addCriterion("isHandle >=", value, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleLessThan(Boolean value) {
            addCriterion("isHandle <", value, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleLessThanOrEqualTo(Boolean value) {
            addCriterion("isHandle <=", value, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleIn(List<Boolean> values) {
            addCriterion("isHandle in", values, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleNotIn(List<Boolean> values) {
            addCriterion("isHandle not in", values, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleBetween(Boolean value1, Boolean value2) {
            addCriterion("isHandle between", value1, value2, "ishandle");
            return (Criteria) this;
        }

        public Criteria andIshandleNotBetween(Boolean value1, Boolean value2) {
            addCriterion("isHandle not between", value1, value2, "ishandle");
            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 andProjectidIsNull() {
            addCriterion("projectId is null");
            return (Criteria) this;
        }

        public Criteria andProjectidIsNotNull() {
            addCriterion("projectId is not null");
            return (Criteria) this;
        }

        public Criteria andProjectidEqualTo(String value) {
            addCriterion("projectId =", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidNotEqualTo(String value) {
            addCriterion("projectId <>", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidGreaterThan(String value) {
            addCriterion("projectId >", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidGreaterThanOrEqualTo(String value) {
            addCriterion("projectId >=", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidLessThan(String value) {
            addCriterion("projectId <", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidLessThanOrEqualTo(String value) {
            addCriterion("projectId <=", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidLike(String value) {
            addCriterion("projectId like", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidNotLike(String value) {
            addCriterion("projectId not like", value, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidIn(List<String> values) {
            addCriterion("projectId in", values, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidNotIn(List<String> values) {
            addCriterion("projectId not in", values, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidBetween(String value1, String value2) {
            addCriterion("projectId between", value1, value2, "projectid");
            return (Criteria) this;
        }

        public Criteria andProjectidNotBetween(String value1, String value2) {
            addCriterion("projectId not between", value1, value2, "projectid");
            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 andFaultviewIsNull() {
            addCriterion("faultView is null");
            return (Criteria) this;
        }

        public Criteria andFaultviewIsNotNull() {
            addCriterion("faultView is not null");
            return (Criteria) this;
        }

        public Criteria andFaultviewEqualTo(String value) {
            addCriterion("faultView =", value, "faultview");
            return (Criteria) this;
        }

        public Criteria andFaultviewNotEqualTo(String value) {
            addCriterion("faultView <>", value, "faultview");
            return (Criteria) this;
        }

        public Criteria andFaultviewGreaterThan(String value) {
            addCriterion("faultView >", value, "faultview");
            return (Criteria) this;
        }

        public Criteria andFaultviewGreaterThanOrEqualTo(String value) {
            addCriterion("faultView >=", value, "faultview");
            return (Criteria) this;
        }

        public Criteria andFaultviewLessThan(String value) {
            addCriterion("faultView <", value, "faultview");
            return (Criteria) this;
        }

        public Criteria andFaultviewLessThanOrEqualTo(String value) {
            addCriterion("faultView <=", value, "faultview");
            return (Criteria) this;
        }

        public Criteria andFaultviewLike(String value) {
            addCriterion("faultView like", value, "faultview");
            return (Criteria) this;
        }

        public Criteria andFaultviewNotLike(String value) {
            addCriterion("faultView not like", value, "faultview");
            return (Criteria) this;
        }

        public Criteria andFaultviewIn(List<String> values) {
            addCriterion("faultView in", values, "faultview");
            return (Criteria) this;
        }

        public Criteria andFaultviewNotIn(List<String> values) {
            addCriterion("faultView not in", values, "faultview");
            return (Criteria) this;
        }

        public Criteria andFaultviewBetween(String value1, String value2) {
            addCriterion("faultView between", value1, value2, "faultview");
            return (Criteria) this;
        }

        public Criteria andFaultviewNotBetween(String value1, String value2) {
            addCriterion("faultView not between", value1, value2, "faultview");
            return (Criteria) this;
        }

        public Criteria andStatuscodeIsNull() {
            addCriterion("statusCode is null");
            return (Criteria) this;
        }

        public Criteria andStatuscodeIsNotNull() {
            addCriterion("statusCode is not null");
            return (Criteria) this;
        }

        public Criteria andStatuscodeEqualTo(Integer value) {
            addCriterion("statusCode =", value, "statuscode");
            return (Criteria) this;
        }

        public Criteria andStatuscodeNotEqualTo(Integer value) {
            addCriterion("statusCode <>", value, "statuscode");
            return (Criteria) this;
        }

        public Criteria andStatuscodeGreaterThan(Integer value) {
            addCriterion("statusCode >", value, "statuscode");
            return (Criteria) this;
        }

        public Criteria andStatuscodeGreaterThanOrEqualTo(Integer value) {
            addCriterion("statusCode >=", value, "statuscode");
            return (Criteria) this;
        }

        public Criteria andStatuscodeLessThan(Integer value) {
            addCriterion("statusCode <", value, "statuscode");
            return (Criteria) this;
        }

        public Criteria andStatuscodeLessThanOrEqualTo(Integer value) {
            addCriterion("statusCode <=", value, "statuscode");
            return (Criteria) this;
        }

        public Criteria andStatuscodeIn(List<Integer> values) {
            addCriterion("statusCode in", values, "statuscode");
            return (Criteria) this;
        }

        public Criteria andStatuscodeNotIn(List<Integer> values) {
            addCriterion("statusCode not in", values, "statuscode");
            return (Criteria) this;
        }

        public Criteria andStatuscodeBetween(Integer value1, Integer value2) {
            addCriterion("statusCode between", value1, value2, "statuscode");
            return (Criteria) this;
        }

        public Criteria andStatuscodeNotBetween(Integer value1, Integer value2) {
            addCriterion("statusCode not between", value1, value2, "statuscode");
            return (Criteria) this;
        }

        public Criteria andMainidIsNull() {
            addCriterion("mainId is null");
            return (Criteria) this;
        }

        public Criteria andMainidIsNotNull() {
            addCriterion("mainId is not null");
            return (Criteria) this;
        }

        public Criteria andMainidEqualTo(String value) {
            addCriterion("mainId =", value, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidNotEqualTo(String value) {
            addCriterion("mainId <>", value, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidGreaterThan(String value) {
            addCriterion("mainId >", value, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidGreaterThanOrEqualTo(String value) {
            addCriterion("mainId >=", value, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidLessThan(String value) {
            addCriterion("mainId <", value, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidLessThanOrEqualTo(String value) {
            addCriterion("mainId <=", value, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidLike(String value) {
            addCriterion("mainId like", value, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidNotLike(String value) {
            addCriterion("mainId not like", value, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidIn(List<String> values) {
            addCriterion("mainId in", values, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidNotIn(List<String> values) {
            addCriterion("mainId not in", values, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidBetween(String value1, String value2) {
            addCriterion("mainId between", value1, value2, "mainid");
            return (Criteria) this;
        }

        public Criteria andMainidNotBetween(String value1, String value2) {
            addCriterion("mainId not between", value1, value2, "mainid");
            return (Criteria) this;
        }

        public Criteria andResetrateIsNull() {
            addCriterion("resetRate is null");
            return (Criteria) this;
        }

        public Criteria andResetrateIsNotNull() {
            addCriterion("resetRate is not null");
            return (Criteria) this;
        }

        public Criteria andResetrateEqualTo(String value) {
            addCriterion("resetRate =", value, "resetrate");
            return (Criteria) this;
        }

        public Criteria andResetrateNotEqualTo(String value) {
            addCriterion("resetRate <>", value, "resetrate");
            return (Criteria) this;
        }

        public Criteria andResetrateGreaterThan(String value) {
            addCriterion("resetRate >", value, "resetrate");
            return (Criteria) this;
        }

        public Criteria andResetrateGreaterThanOrEqualTo(String value) {
            addCriterion("resetRate >=", value, "resetrate");
            return (Criteria) this;
        }

        public Criteria andResetrateLessThan(String value) {
            addCriterion("resetRate <", value, "resetrate");
            return (Criteria) this;
        }

        public Criteria andResetrateLessThanOrEqualTo(String value) {
            addCriterion("resetRate <=", value, "resetrate");
            return (Criteria) this;
        }

        public Criteria andResetrateLike(String value) {
            addCriterion("resetRate like", value, "resetrate");
            return (Criteria) this;
        }

        public Criteria andResetrateNotLike(String value) {
            addCriterion("resetRate not like", value, "resetrate");
            return (Criteria) this;
        }

        public Criteria andResetrateIn(List<String> values) {
            addCriterion("resetRate in", values, "resetrate");
            return (Criteria) this;
        }

        public Criteria andResetrateNotIn(List<String> values) {
            addCriterion("resetRate not in", values, "resetrate");
            return (Criteria) this;
        }

        public Criteria andResetrateBetween(String value1, String value2) {
            addCriterion("resetRate between", value1, value2, "resetrate");
            return (Criteria) this;
        }

        public Criteria andResetrateNotBetween(String value1, String value2) {
            addCriterion("resetRate not between", value1, value2, "resetrate");
            return (Criteria) this;
        }

        public Criteria andStaterateIsNull() {
            addCriterion("stateRate is null");
            return (Criteria) this;
        }

        public Criteria andStaterateIsNotNull() {
            addCriterion("stateRate is not null");
            return (Criteria) this;
        }

        public Criteria andStaterateEqualTo(String value) {
            addCriterion("stateRate =", value, "staterate");
            return (Criteria) this;
        }

        public Criteria andStaterateNotEqualTo(String value) {
            addCriterion("stateRate <>", value, "staterate");
            return (Criteria) this;
        }

        public Criteria andStaterateGreaterThan(String value) {
            addCriterion("stateRate >", value, "staterate");
            return (Criteria) this;
        }

        public Criteria andStaterateGreaterThanOrEqualTo(String value) {
            addCriterion("stateRate >=", value, "staterate");
            return (Criteria) this;
        }

        public Criteria andStaterateLessThan(String value) {
            addCriterion("stateRate <", value, "staterate");
            return (Criteria) this;
        }

        public Criteria andStaterateLessThanOrEqualTo(String value) {
            addCriterion("stateRate <=", value, "staterate");
            return (Criteria) this;
        }

        public Criteria andStaterateLike(String value) {
            addCriterion("stateRate like", value, "staterate");
            return (Criteria) this;
        }

        public Criteria andStaterateNotLike(String value) {
            addCriterion("stateRate not like", value, "staterate");
            return (Criteria) this;
        }

        public Criteria andStaterateIn(List<String> values) {
            addCriterion("stateRate in", values, "staterate");
            return (Criteria) this;
        }

        public Criteria andStaterateNotIn(List<String> values) {
            addCriterion("stateRate not in", values, "staterate");
            return (Criteria) this;
        }

        public Criteria andStaterateBetween(String value1, String value2) {
            addCriterion("stateRate between", value1, value2, "staterate");
            return (Criteria) this;
        }

        public Criteria andStaterateNotBetween(String value1, String value2) {
            addCriterion("stateRate not between", value1, value2, "staterate");
            return (Criteria) this;
        }

        public Criteria andFailrateIsNull() {
            addCriterion("failRate is null");
            return (Criteria) this;
        }

        public Criteria andFailrateIsNotNull() {
            addCriterion("failRate is not null");
            return (Criteria) this;
        }

        public Criteria andFailrateEqualTo(String value) {
            addCriterion("failRate =", value, "failrate");
            return (Criteria) this;
        }

        public Criteria andFailrateNotEqualTo(String value) {
            addCriterion("failRate <>", value, "failrate");
            return (Criteria) this;
        }

        public Criteria andFailrateGreaterThan(String value) {
            addCriterion("failRate >", value, "failrate");
            return (Criteria) this;
        }

        public Criteria andFailrateGreaterThanOrEqualTo(String value) {
            addCriterion("failRate >=", value, "failrate");
            return (Criteria) this;
        }

        public Criteria andFailrateLessThan(String value) {
            addCriterion("failRate <", value, "failrate");
            return (Criteria) this;
        }

        public Criteria andFailrateLessThanOrEqualTo(String value) {
            addCriterion("failRate <=", value, "failrate");
            return (Criteria) this;
        }

        public Criteria andFailrateLike(String value) {
            addCriterion("failRate like", value, "failrate");
            return (Criteria) this;
        }

        public Criteria andFailrateNotLike(String value) {
            addCriterion("failRate not like", value, "failrate");
            return (Criteria) this;
        }

        public Criteria andFailrateIn(List<String> values) {
            addCriterion("failRate in", values, "failrate");
            return (Criteria) this;
        }

        public Criteria andFailrateNotIn(List<String> values) {
            addCriterion("failRate not in", values, "failrate");
            return (Criteria) this;
        }

        public Criteria andFailrateBetween(String value1, String value2) {
            addCriterion("failRate between", value1, value2, "failrate");
            return (Criteria) this;
        }

        public Criteria andFailrateNotBetween(String value1, String value2) {
            addCriterion("failRate not between", value1, value2, "failrate");
            return (Criteria) this;
        }

        public Criteria andWarningrecordsidIsNull() {
            addCriterion("warningRecordsId is null");
            return (Criteria) this;
        }

        public Criteria andWarningrecordsidIsNotNull() {
            addCriterion("warningRecordsId is not null");
            return (Criteria) this;
        }

        public Criteria andWarningrecordsidEqualTo(Integer value) {
            addCriterion("warningRecordsId =", value, "warningrecordsid");
            return (Criteria) this;
        }

        public Criteria andWarningrecordsidNotEqualTo(Integer value) {
            addCriterion("warningRecordsId <>", value, "warningrecordsid");
            return (Criteria) this;
        }

        public Criteria andWarningrecordsidGreaterThan(Integer value) {
            addCriterion("warningRecordsId >", value, "warningrecordsid");
            return (Criteria) this;
        }

        public Criteria andWarningrecordsidGreaterThanOrEqualTo(Integer value) {
            addCriterion("warningRecordsId >=", value, "warningrecordsid");
            return (Criteria) this;
        }

        public Criteria andWarningrecordsidLessThan(Integer value) {
            addCriterion("warningRecordsId <", value, "warningrecordsid");
            return (Criteria) this;
        }

        public Criteria andWarningrecordsidLessThanOrEqualTo(Integer value) {
            addCriterion("warningRecordsId <=", value, "warningrecordsid");
            return (Criteria) this;
        }

        public Criteria andWarningrecordsidIn(List<Integer> values) {
            addCriterion("warningRecordsId in", values, "warningrecordsid");
            return (Criteria) this;
        }

        public Criteria andWarningrecordsidNotIn(List<Integer> values) {
            addCriterion("warningRecordsId not in", values, "warningrecordsid");
            return (Criteria) this;
        }

        public Criteria andWarningrecordsidBetween(Integer value1, Integer value2) {
            addCriterion("warningRecordsId between", value1, value2, "warningrecordsid");
            return (Criteria) this;
        }

        public Criteria andWarningrecordsidNotBetween(Integer value1, Integer value2) {
            addCriterion("warningRecordsId not between", value1, value2, "warningrecordsid");
            return (Criteria) this;
        }
    }

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