package com.mvc.entity;

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

public class BatteryAccExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

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

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

    public String getOrderByClause() {
        return orderByClause;
    }

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

    public boolean isDistinct() {
        return distinct;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andBatCodeIsNull() {
            addCriterion("BAT_CODE is null");
            return (Criteria) this;
        }

        public Criteria andBatCodeIsNotNull() {
            addCriterion("BAT_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andBatCodeEqualTo(String value) {
            addCriterion("BAT_CODE =", value, "batCode");
            return (Criteria) this;
        }

        public Criteria andBatCodeNotEqualTo(String value) {
            addCriterion("BAT_CODE <>", value, "batCode");
            return (Criteria) this;
        }

        public Criteria andBatCodeGreaterThan(String value) {
            addCriterion("BAT_CODE >", value, "batCode");
            return (Criteria) this;
        }

        public Criteria andBatCodeGreaterThanOrEqualTo(String value) {
            addCriterion("BAT_CODE >=", value, "batCode");
            return (Criteria) this;
        }

        public Criteria andBatCodeLessThan(String value) {
            addCriterion("BAT_CODE <", value, "batCode");
            return (Criteria) this;
        }

        public Criteria andBatCodeLessThanOrEqualTo(String value) {
            addCriterion("BAT_CODE <=", value, "batCode");
            return (Criteria) this;
        }

        public Criteria andBatCodeLike(String value) {
            addCriterion("BAT_CODE like", value, "batCode");
            return (Criteria) this;
        }

        public Criteria andBatCodeNotLike(String value) {
            addCriterion("BAT_CODE not like", value, "batCode");
            return (Criteria) this;
        }

        public Criteria andBatCodeIn(List<String> values) {
            addCriterion("BAT_CODE in", values, "batCode");
            return (Criteria) this;
        }

        public Criteria andBatCodeNotIn(List<String> values) {
            addCriterion("BAT_CODE not in", values, "batCode");
            return (Criteria) this;
        }

        public Criteria andBatCodeBetween(String value1, String value2) {
            addCriterion("BAT_CODE between", value1, value2, "batCode");
            return (Criteria) this;
        }

        public Criteria andBatCodeNotBetween(String value1, String value2) {
            addCriterion("BAT_CODE not between", value1, value2, "batCode");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIsNull() {
            addCriterion("DELIVERY_TIME is null");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIsNotNull() {
            addCriterion("DELIVERY_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeEqualTo(Date value) {
            addCriterion("DELIVERY_TIME =", value, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeNotEqualTo(Date value) {
            addCriterion("DELIVERY_TIME <>", value, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeGreaterThan(Date value) {
            addCriterion("DELIVERY_TIME >", value, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("DELIVERY_TIME >=", value, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeLessThan(Date value) {
            addCriterion("DELIVERY_TIME <", value, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeLessThanOrEqualTo(Date value) {
            addCriterion("DELIVERY_TIME <=", value, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeIn(List<Date> values) {
            addCriterion("DELIVERY_TIME in", values, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeNotIn(List<Date> values) {
            addCriterion("DELIVERY_TIME not in", values, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeBetween(Date value1, Date value2) {
            addCriterion("DELIVERY_TIME between", value1, value2, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andDeliveryTimeNotBetween(Date value1, Date value2) {
            addCriterion("DELIVERY_TIME not between", value1, value2, "deliveryTime");
            return (Criteria) this;
        }

        public Criteria andFirstUseTimeIsNull() {
            addCriterion("FIRST_USE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andFirstUseTimeIsNotNull() {
            addCriterion("FIRST_USE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andFirstUseTimeEqualTo(Date value) {
            addCriterion("FIRST_USE_TIME =", value, "firstUseTime");
            return (Criteria) this;
        }

        public Criteria andFirstUseTimeNotEqualTo(Date value) {
            addCriterion("FIRST_USE_TIME <>", value, "firstUseTime");
            return (Criteria) this;
        }

        public Criteria andFirstUseTimeGreaterThan(Date value) {
            addCriterion("FIRST_USE_TIME >", value, "firstUseTime");
            return (Criteria) this;
        }

        public Criteria andFirstUseTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("FIRST_USE_TIME >=", value, "firstUseTime");
            return (Criteria) this;
        }

        public Criteria andFirstUseTimeLessThan(Date value) {
            addCriterion("FIRST_USE_TIME <", value, "firstUseTime");
            return (Criteria) this;
        }

        public Criteria andFirstUseTimeLessThanOrEqualTo(Date value) {
            addCriterion("FIRST_USE_TIME <=", value, "firstUseTime");
            return (Criteria) this;
        }

        public Criteria andFirstUseTimeIn(List<Date> values) {
            addCriterion("FIRST_USE_TIME in", values, "firstUseTime");
            return (Criteria) this;
        }

        public Criteria andFirstUseTimeNotIn(List<Date> values) {
            addCriterion("FIRST_USE_TIME not in", values, "firstUseTime");
            return (Criteria) this;
        }

        public Criteria andFirstUseTimeBetween(Date value1, Date value2) {
            addCriterion("FIRST_USE_TIME between", value1, value2, "firstUseTime");
            return (Criteria) this;
        }

        public Criteria andFirstUseTimeNotBetween(Date value1, Date value2) {
            addCriterion("FIRST_USE_TIME not between", value1, value2, "firstUseTime");
            return (Criteria) this;
        }

        public Criteria andBatModelIsNull() {
            addCriterion("BAT_MODEL is null");
            return (Criteria) this;
        }

        public Criteria andBatModelIsNotNull() {
            addCriterion("BAT_MODEL is not null");
            return (Criteria) this;
        }

        public Criteria andBatModelEqualTo(String value) {
            addCriterion("BAT_MODEL =", value, "batModel");
            return (Criteria) this;
        }

        public Criteria andBatModelNotEqualTo(String value) {
            addCriterion("BAT_MODEL <>", value, "batModel");
            return (Criteria) this;
        }

        public Criteria andBatModelGreaterThan(String value) {
            addCriterion("BAT_MODEL >", value, "batModel");
            return (Criteria) this;
        }

        public Criteria andBatModelGreaterThanOrEqualTo(String value) {
            addCriterion("BAT_MODEL >=", value, "batModel");
            return (Criteria) this;
        }

        public Criteria andBatModelLessThan(String value) {
            addCriterion("BAT_MODEL <", value, "batModel");
            return (Criteria) this;
        }

        public Criteria andBatModelLessThanOrEqualTo(String value) {
            addCriterion("BAT_MODEL <=", value, "batModel");
            return (Criteria) this;
        }

        public Criteria andBatModelLike(String value) {
            addCriterion("BAT_MODEL like", value, "batModel");
            return (Criteria) this;
        }

        public Criteria andBatModelNotLike(String value) {
            addCriterion("BAT_MODEL not like", value, "batModel");
            return (Criteria) this;
        }

        public Criteria andBatModelIn(List<String> values) {
            addCriterion("BAT_MODEL in", values, "batModel");
            return (Criteria) this;
        }

        public Criteria andBatModelNotIn(List<String> values) {
            addCriterion("BAT_MODEL not in", values, "batModel");
            return (Criteria) this;
        }

        public Criteria andBatModelBetween(String value1, String value2) {
            addCriterion("BAT_MODEL between", value1, value2, "batModel");
            return (Criteria) this;
        }

        public Criteria andBatModelNotBetween(String value1, String value2) {
            addCriterion("BAT_MODEL not between", value1, value2, "batModel");
            return (Criteria) this;
        }

        public Criteria andManufacturerIsNull() {
            addCriterion("MANUFACTURER is null");
            return (Criteria) this;
        }

        public Criteria andManufacturerIsNotNull() {
            addCriterion("MANUFACTURER is not null");
            return (Criteria) this;
        }

        public Criteria andManufacturerEqualTo(String value) {
            addCriterion("MANUFACTURER =", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotEqualTo(String value) {
            addCriterion("MANUFACTURER <>", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerGreaterThan(String value) {
            addCriterion("MANUFACTURER >", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerGreaterThanOrEqualTo(String value) {
            addCriterion("MANUFACTURER >=", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerLessThan(String value) {
            addCriterion("MANUFACTURER <", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerLessThanOrEqualTo(String value) {
            addCriterion("MANUFACTURER <=", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerLike(String value) {
            addCriterion("MANUFACTURER like", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotLike(String value) {
            addCriterion("MANUFACTURER not like", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerIn(List<String> values) {
            addCriterion("MANUFACTURER in", values, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotIn(List<String> values) {
            addCriterion("MANUFACTURER not in", values, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerBetween(String value1, String value2) {
            addCriterion("MANUFACTURER between", value1, value2, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotBetween(String value1, String value2) {
            addCriterion("MANUFACTURER not between", value1, value2, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andBatCapacityIsNull() {
            addCriterion("BAT_CAPACITY is null");
            return (Criteria) this;
        }

        public Criteria andBatCapacityIsNotNull() {
            addCriterion("BAT_CAPACITY is not null");
            return (Criteria) this;
        }

        public Criteria andBatCapacityEqualTo(Integer value) {
            addCriterion("BAT_CAPACITY =", value, "batCapacity");
            return (Criteria) this;
        }

        public Criteria andBatCapacityNotEqualTo(Integer value) {
            addCriterion("BAT_CAPACITY <>", value, "batCapacity");
            return (Criteria) this;
        }

        public Criteria andBatCapacityGreaterThan(Integer value) {
            addCriterion("BAT_CAPACITY >", value, "batCapacity");
            return (Criteria) this;
        }

        public Criteria andBatCapacityGreaterThanOrEqualTo(Integer value) {
            addCriterion("BAT_CAPACITY >=", value, "batCapacity");
            return (Criteria) this;
        }

        public Criteria andBatCapacityLessThan(Integer value) {
            addCriterion("BAT_CAPACITY <", value, "batCapacity");
            return (Criteria) this;
        }

        public Criteria andBatCapacityLessThanOrEqualTo(Integer value) {
            addCriterion("BAT_CAPACITY <=", value, "batCapacity");
            return (Criteria) this;
        }

        public Criteria andBatCapacityIn(List<Integer> values) {
            addCriterion("BAT_CAPACITY in", values, "batCapacity");
            return (Criteria) this;
        }

        public Criteria andBatCapacityNotIn(List<Integer> values) {
            addCriterion("BAT_CAPACITY not in", values, "batCapacity");
            return (Criteria) this;
        }

        public Criteria andBatCapacityBetween(Integer value1, Integer value2) {
            addCriterion("BAT_CAPACITY between", value1, value2, "batCapacity");
            return (Criteria) this;
        }

        public Criteria andBatCapacityNotBetween(Integer value1, Integer value2) {
            addCriterion("BAT_CAPACITY not between", value1, value2, "batCapacity");
            return (Criteria) this;
        }

        public Criteria andLastWorkingVoltageIsNull() {
            addCriterion("LAST_WORKING_VOLTAGE is null");
            return (Criteria) this;
        }

        public Criteria andLastWorkingVoltageIsNotNull() {
            addCriterion("LAST_WORKING_VOLTAGE is not null");
            return (Criteria) this;
        }

        public Criteria andLastWorkingVoltageEqualTo(BigDecimal value) {
            addCriterion("LAST_WORKING_VOLTAGE =", value, "lastWorkingVoltage");
            return (Criteria) this;
        }

        public Criteria andLastWorkingVoltageNotEqualTo(BigDecimal value) {
            addCriterion("LAST_WORKING_VOLTAGE <>", value, "lastWorkingVoltage");
            return (Criteria) this;
        }

        public Criteria andLastWorkingVoltageGreaterThan(BigDecimal value) {
            addCriterion("LAST_WORKING_VOLTAGE >", value, "lastWorkingVoltage");
            return (Criteria) this;
        }

        public Criteria andLastWorkingVoltageGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("LAST_WORKING_VOLTAGE >=", value, "lastWorkingVoltage");
            return (Criteria) this;
        }

        public Criteria andLastWorkingVoltageLessThan(BigDecimal value) {
            addCriterion("LAST_WORKING_VOLTAGE <", value, "lastWorkingVoltage");
            return (Criteria) this;
        }

        public Criteria andLastWorkingVoltageLessThanOrEqualTo(BigDecimal value) {
            addCriterion("LAST_WORKING_VOLTAGE <=", value, "lastWorkingVoltage");
            return (Criteria) this;
        }

        public Criteria andLastWorkingVoltageIn(List<BigDecimal> values) {
            addCriterion("LAST_WORKING_VOLTAGE in", values, "lastWorkingVoltage");
            return (Criteria) this;
        }

        public Criteria andLastWorkingVoltageNotIn(List<BigDecimal> values) {
            addCriterion("LAST_WORKING_VOLTAGE not in", values, "lastWorkingVoltage");
            return (Criteria) this;
        }

        public Criteria andLastWorkingVoltageBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LAST_WORKING_VOLTAGE between", value1, value2, "lastWorkingVoltage");
            return (Criteria) this;
        }

        public Criteria andLastWorkingVoltageNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("LAST_WORKING_VOLTAGE not between", value1, value2, "lastWorkingVoltage");
            return (Criteria) this;
        }

        public Criteria andBatRumTimeIsNull() {
            addCriterion("BAT_RUM_TIME is null");
            return (Criteria) this;
        }

        public Criteria andBatRumTimeIsNotNull() {
            addCriterion("BAT_RUM_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andBatRumTimeEqualTo(Integer value) {
            addCriterion("BAT_RUM_TIME =", value, "batRumTime");
            return (Criteria) this;
        }

        public Criteria andBatRumTimeNotEqualTo(Integer value) {
            addCriterion("BAT_RUM_TIME <>", value, "batRumTime");
            return (Criteria) this;
        }

        public Criteria andBatRumTimeGreaterThan(Integer value) {
            addCriterion("BAT_RUM_TIME >", value, "batRumTime");
            return (Criteria) this;
        }

        public Criteria andBatRumTimeGreaterThanOrEqualTo(Integer value) {
            addCriterion("BAT_RUM_TIME >=", value, "batRumTime");
            return (Criteria) this;
        }

        public Criteria andBatRumTimeLessThan(Integer value) {
            addCriterion("BAT_RUM_TIME <", value, "batRumTime");
            return (Criteria) this;
        }

        public Criteria andBatRumTimeLessThanOrEqualTo(Integer value) {
            addCriterion("BAT_RUM_TIME <=", value, "batRumTime");
            return (Criteria) this;
        }

        public Criteria andBatRumTimeIn(List<Integer> values) {
            addCriterion("BAT_RUM_TIME in", values, "batRumTime");
            return (Criteria) this;
        }

        public Criteria andBatRumTimeNotIn(List<Integer> values) {
            addCriterion("BAT_RUM_TIME not in", values, "batRumTime");
            return (Criteria) this;
        }

        public Criteria andBatRumTimeBetween(Integer value1, Integer value2) {
            addCriterion("BAT_RUM_TIME between", value1, value2, "batRumTime");
            return (Criteria) this;
        }

        public Criteria andBatRumTimeNotBetween(Integer value1, Integer value2) {
            addCriterion("BAT_RUM_TIME not between", value1, value2, "batRumTime");
            return (Criteria) this;
        }

        public Criteria andBatRunNumIsNull() {
            addCriterion("BAT_RUN_NUM is null");
            return (Criteria) this;
        }

        public Criteria andBatRunNumIsNotNull() {
            addCriterion("BAT_RUN_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andBatRunNumEqualTo(Integer value) {
            addCriterion("BAT_RUN_NUM =", value, "batRunNum");
            return (Criteria) this;
        }

        public Criteria andBatRunNumNotEqualTo(Integer value) {
            addCriterion("BAT_RUN_NUM <>", value, "batRunNum");
            return (Criteria) this;
        }

        public Criteria andBatRunNumGreaterThan(Integer value) {
            addCriterion("BAT_RUN_NUM >", value, "batRunNum");
            return (Criteria) this;
        }

        public Criteria andBatRunNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("BAT_RUN_NUM >=", value, "batRunNum");
            return (Criteria) this;
        }

        public Criteria andBatRunNumLessThan(Integer value) {
            addCriterion("BAT_RUN_NUM <", value, "batRunNum");
            return (Criteria) this;
        }

        public Criteria andBatRunNumLessThanOrEqualTo(Integer value) {
            addCriterion("BAT_RUN_NUM <=", value, "batRunNum");
            return (Criteria) this;
        }

        public Criteria andBatRunNumIn(List<Integer> values) {
            addCriterion("BAT_RUN_NUM in", values, "batRunNum");
            return (Criteria) this;
        }

        public Criteria andBatRunNumNotIn(List<Integer> values) {
            addCriterion("BAT_RUN_NUM not in", values, "batRunNum");
            return (Criteria) this;
        }

        public Criteria andBatRunNumBetween(Integer value1, Integer value2) {
            addCriterion("BAT_RUN_NUM between", value1, value2, "batRunNum");
            return (Criteria) this;
        }

        public Criteria andBatRunNumNotBetween(Integer value1, Integer value2) {
            addCriterion("BAT_RUN_NUM not between", value1, value2, "batRunNum");
            return (Criteria) this;
        }

        public Criteria andBatStatusIsNull() {
            addCriterion("BAT_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andBatStatusIsNotNull() {
            addCriterion("BAT_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andBatStatusEqualTo(String value) {
            addCriterion("BAT_STATUS =", value, "batStatus");
            return (Criteria) this;
        }

        public Criteria andBatStatusNotEqualTo(String value) {
            addCriterion("BAT_STATUS <>", value, "batStatus");
            return (Criteria) this;
        }

        public Criteria andBatStatusGreaterThan(String value) {
            addCriterion("BAT_STATUS >", value, "batStatus");
            return (Criteria) this;
        }

        public Criteria andBatStatusGreaterThanOrEqualTo(String value) {
            addCriterion("BAT_STATUS >=", value, "batStatus");
            return (Criteria) this;
        }

        public Criteria andBatStatusLessThan(String value) {
            addCriterion("BAT_STATUS <", value, "batStatus");
            return (Criteria) this;
        }

        public Criteria andBatStatusLessThanOrEqualTo(String value) {
            addCriterion("BAT_STATUS <=", value, "batStatus");
            return (Criteria) this;
        }

        public Criteria andBatStatusLike(String value) {
            addCriterion("BAT_STATUS like", value, "batStatus");
            return (Criteria) this;
        }

        public Criteria andBatStatusNotLike(String value) {
            addCriterion("BAT_STATUS not like", value, "batStatus");
            return (Criteria) this;
        }

        public Criteria andBatStatusIn(List<String> values) {
            addCriterion("BAT_STATUS in", values, "batStatus");
            return (Criteria) this;
        }

        public Criteria andBatStatusNotIn(List<String> values) {
            addCriterion("BAT_STATUS not in", values, "batStatus");
            return (Criteria) this;
        }

        public Criteria andBatStatusBetween(String value1, String value2) {
            addCriterion("BAT_STATUS between", value1, value2, "batStatus");
            return (Criteria) this;
        }

        public Criteria andBatStatusNotBetween(String value1, String value2) {
            addCriterion("BAT_STATUS not between", value1, value2, "batStatus");
            return (Criteria) this;
        }

        public Criteria andStatusUpdateTimeIsNull() {
            addCriterion("STATUS_UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andStatusUpdateTimeIsNotNull() {
            addCriterion("STATUS_UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andStatusUpdateTimeEqualTo(Date value) {
            addCriterion("STATUS_UPDATE_TIME =", value, "statusUpdateTime");
            return (Criteria) this;
        }

        public Criteria andStatusUpdateTimeNotEqualTo(Date value) {
            addCriterion("STATUS_UPDATE_TIME <>", value, "statusUpdateTime");
            return (Criteria) this;
        }

        public Criteria andStatusUpdateTimeGreaterThan(Date value) {
            addCriterion("STATUS_UPDATE_TIME >", value, "statusUpdateTime");
            return (Criteria) this;
        }

        public Criteria andStatusUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("STATUS_UPDATE_TIME >=", value, "statusUpdateTime");
            return (Criteria) this;
        }

        public Criteria andStatusUpdateTimeLessThan(Date value) {
            addCriterion("STATUS_UPDATE_TIME <", value, "statusUpdateTime");
            return (Criteria) this;
        }

        public Criteria andStatusUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("STATUS_UPDATE_TIME <=", value, "statusUpdateTime");
            return (Criteria) this;
        }

        public Criteria andStatusUpdateTimeIn(List<Date> values) {
            addCriterion("STATUS_UPDATE_TIME in", values, "statusUpdateTime");
            return (Criteria) this;
        }

        public Criteria andStatusUpdateTimeNotIn(List<Date> values) {
            addCriterion("STATUS_UPDATE_TIME not in", values, "statusUpdateTime");
            return (Criteria) this;
        }

        public Criteria andStatusUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("STATUS_UPDATE_TIME between", value1, value2, "statusUpdateTime");
            return (Criteria) this;
        }

        public Criteria andStatusUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("STATUS_UPDATE_TIME not between", value1, value2, "statusUpdateTime");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

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

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

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

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

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

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

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

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

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

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

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

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

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

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

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

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