Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / EventsManage / ComplaintQuery.java
package com.newfiber.api.pc.model.EventsManage;

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

public class ComplaintQuery {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer pageNo = 1;

    protected Integer startRow;

    protected Integer pageSize = 10;

    protected String fields;

    private String userNo;

    private List<String> userNos;

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

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

    public String getOrderByClause() {
        return orderByClause;
    }

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    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 List<String> getUserNos() {
        return userNos;
    }

    public void setUserNos(List<String> userNos) {
        this.userNos = userNos;
    }

    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;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo=pageNo;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setStartRow(Integer startRow) {
        this.startRow=startRow;
    }

    public Integer getStartRow() {
        return startRow;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize=pageSize;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setFields(String fields) {
        this.fields=fields;
    }

    public String getFields() {
        return fields;
    }

    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 andSerialIsNull() {
            addCriterion("Serial is null");
            return (Criteria) this;
        }

        public Criteria andSerialIsNotNull() {
            addCriterion("Serial is not null");
            return (Criteria) this;
        }

        public Criteria andSerialEqualTo(Long value) {
            addCriterion("Serial =", value, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialNotEqualTo(Long value) {
            addCriterion("Serial <>", value, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialGreaterThan(Long value) {
            addCriterion("Serial >", value, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialGreaterThanOrEqualTo(Long value) {
            addCriterion("Serial >=", value, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialLessThan(Long value) {
            addCriterion("Serial <", value, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialLessThanOrEqualTo(Long value) {
            addCriterion("Serial <=", value, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialIn(List<Long> values) {
            addCriterion("Serial in", values, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialNotIn(List<Long> values) {
            addCriterion("Serial not in", values, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialBetween(Long value1, Long value2) {
            addCriterion("Serial between", value1, value2, "serial");
            return (Criteria) this;
        }

        public Criteria andSerialNotBetween(Long value1, Long value2) {
            addCriterion("Serial not between", value1, value2, "serial");
            return (Criteria) this;
        }

        public Criteria andEventNoIsNull() {
            addCriterion("Event_No is null");
            return (Criteria) this;
        }

        public Criteria andEventNoIsNotNull() {
            addCriterion("Event_No is not null");
            return (Criteria) this;
        }

        public Criteria andEventNoEqualTo(String value) {
            addCriterion("Event_No =", value, "eventNo");
            return (Criteria) this;
        }

        public Criteria andEventNoNotEqualTo(String value) {
            addCriterion("Event_No <>", value, "eventNo");
            return (Criteria) this;
        }

        public Criteria andEventNoGreaterThan(String value) {
            addCriterion("Event_No >", value, "eventNo");
            return (Criteria) this;
        }

        public Criteria andEventNoGreaterThanOrEqualTo(String value) {
            addCriterion("Event_No >=", value, "eventNo");
            return (Criteria) this;
        }

        public Criteria andEventNoLessThan(String value) {
            addCriterion("Event_No <", value, "eventNo");
            return (Criteria) this;
        }

        public Criteria andEventNoLessThanOrEqualTo(String value) {
            addCriterion("Event_No <=", value, "eventNo");
            return (Criteria) this;
        }

        public Criteria andEventNoLike(String value) {
            addCriterion("Event_No like", value, "eventNo");
            return (Criteria) this;
        }

        public Criteria andEventNoNotLike(String value) {
            addCriterion("Event_No not like", value, "eventNo");
            return (Criteria) this;
        }

        public Criteria andEventNoIn(List<String> values) {
            addCriterion("Event_No in", values, "eventNo");
            return (Criteria) this;
        }

        public Criteria andEventNoNotIn(List<String> values) {
            addCriterion("Event_No not in", values, "eventNo");
            return (Criteria) this;
        }

        public Criteria andEventNoBetween(String value1, String value2) {
            addCriterion("Event_No between", value1, value2, "eventNo");
            return (Criteria) this;
        }

        public Criteria andEventNoNotBetween(String value1, String value2) {
            addCriterion("Event_No not between", value1, value2, "eventNo");
            return (Criteria) this;
        }

        public Criteria andComplainTypeIsNull() {
            addCriterion("Complain_Type is null");
            return (Criteria) this;
        }

        public Criteria andComplainTypeIsNotNull() {
            addCriterion("Complain_Type is not null");
            return (Criteria) this;
        }

        public Criteria andComplainTypeEqualTo(String value) {
            addCriterion("Complain_Type =", value, "complainType");
            return (Criteria) this;
        }

        public Criteria andComplainTypeNotEqualTo(String value) {
            addCriterion("Complain_Type <>", value, "complainType");
            return (Criteria) this;
        }

        public Criteria andComplainTypeGreaterThan(String value) {
            addCriterion("Complain_Type >", value, "complainType");
            return (Criteria) this;
        }

        public Criteria andComplainTypeGreaterThanOrEqualTo(String value) {
            addCriterion("Complain_Type >=", value, "complainType");
            return (Criteria) this;
        }

        public Criteria andComplainTypeLessThan(String value) {
            addCriterion("Complain_Type <", value, "complainType");
            return (Criteria) this;
        }

        public Criteria andComplainTypeLessThanOrEqualTo(String value) {
            addCriterion("Complain_Type <=", value, "complainType");
            return (Criteria) this;
        }

        public Criteria andComplainTypeLike(String value) {
            addCriterion("Complain_Type like", value, "complainType");
            return (Criteria) this;
        }

        public Criteria andComplainTypeNotLike(String value) {
            addCriterion("Complain_Type not like", value, "complainType");
            return (Criteria) this;
        }

        public Criteria andComplainTypeIn(List<String> values) {
            addCriterion("Complain_Type in", values, "complainType");
            return (Criteria) this;
        }

        public Criteria andComplainTypeNotIn(List<String> values) {
            addCriterion("Complain_Type not in", values, "complainType");
            return (Criteria) this;
        }

        public Criteria andComplainTypeBetween(String value1, String value2) {
            addCriterion("Complain_Type between", value1, value2, "complainType");
            return (Criteria) this;
        }

        public Criteria andComplainTypeNotBetween(String value1, String value2) {
            addCriterion("Complain_Type not between", value1, value2, "complainType");
            return (Criteria) this;
        }

        public Criteria andComplainAddressIsNull() {
            addCriterion("Complain_Address is null");
            return (Criteria) this;
        }

        public Criteria andComplainAddressIsNotNull() {
            addCriterion("Complain_Address is not null");
            return (Criteria) this;
        }

        public Criteria andComplainAddressEqualTo(String value) {
            addCriterion("Complain_Address =", value, "complainAddress");
            return (Criteria) this;
        }

        public Criteria andComplainAddressNotEqualTo(String value) {
            addCriterion("Complain_Address <>", value, "complainAddress");
            return (Criteria) this;
        }

        public Criteria andComplainAddressGreaterThan(String value) {
            addCriterion("Complain_Address >", value, "complainAddress");
            return (Criteria) this;
        }

        public Criteria andComplainAddressGreaterThanOrEqualTo(String value) {
            addCriterion("Complain_Address >=", value, "complainAddress");
            return (Criteria) this;
        }

        public Criteria andComplainAddressLessThan(String value) {
            addCriterion("Complain_Address <", value, "complainAddress");
            return (Criteria) this;
        }

        public Criteria andComplainAddressLessThanOrEqualTo(String value) {
            addCriterion("Complain_Address <=", value, "complainAddress");
            return (Criteria) this;
        }

        public Criteria andComplainAddressLike(String value) {
            addCriterion("Complain_Address like", value, "complainAddress");
            return (Criteria) this;
        }

        public Criteria andComplainAddressNotLike(String value) {
            addCriterion("Complain_Address not like", value, "complainAddress");
            return (Criteria) this;
        }

        public Criteria andComplainAddressIn(List<String> values) {
            addCriterion("Complain_Address in", values, "complainAddress");
            return (Criteria) this;
        }

        public Criteria andComplainAddressNotIn(List<String> values) {
            addCriterion("Complain_Address not in", values, "complainAddress");
            return (Criteria) this;
        }

        public Criteria andComplainAddressBetween(String value1, String value2) {
            addCriterion("Complain_Address between", value1, value2, "complainAddress");
            return (Criteria) this;
        }

        public Criteria andComplainAddressNotBetween(String value1, String value2) {
            addCriterion("Complain_Address not between", value1, value2, "complainAddress");
            return (Criteria) this;
        }

        public Criteria andComplainUserNameIsNull() {
            addCriterion("Complain_User_Name is null");
            return (Criteria) this;
        }

        public Criteria andComplainUserNameIsNotNull() {
            addCriterion("Complain_User_Name is not null");
            return (Criteria) this;
        }

        public Criteria andComplainUserNameEqualTo(String value) {
            addCriterion("Complain_User_Name =", value, "complainUserName");
            return (Criteria) this;
        }

        public Criteria andComplainUserNameNotEqualTo(String value) {
            addCriterion("Complain_User_Name <>", value, "complainUserName");
            return (Criteria) this;
        }

        public Criteria andComplainUserNameGreaterThan(String value) {
            addCriterion("Complain_User_Name >", value, "complainUserName");
            return (Criteria) this;
        }

        public Criteria andComplainUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("Complain_User_Name >=", value, "complainUserName");
            return (Criteria) this;
        }

        public Criteria andComplainUserNameLessThan(String value) {
            addCriterion("Complain_User_Name <", value, "complainUserName");
            return (Criteria) this;
        }

        public Criteria andComplainUserNameLessThanOrEqualTo(String value) {
            addCriterion("Complain_User_Name <=", value, "complainUserName");
            return (Criteria) this;
        }

        public Criteria andComplainUserNameLike(String value) {
            addCriterion("Complain_User_Name like", value, "complainUserName");
            return (Criteria) this;
        }

        public Criteria andComplainUserNameNotLike(String value) {
            addCriterion("Complain_User_Name not like", value, "complainUserName");
            return (Criteria) this;
        }

        public Criteria andComplainUserNameIn(List<String> values) {
            addCriterion("Complain_User_Name in", values, "complainUserName");
            return (Criteria) this;
        }

        public Criteria andComplainUserNameNotIn(List<String> values) {
            addCriterion("Complain_User_Name not in", values, "complainUserName");
            return (Criteria) this;
        }

        public Criteria andComplainUserNameBetween(String value1, String value2) {
            addCriterion("Complain_User_Name between", value1, value2, "complainUserName");
            return (Criteria) this;
        }

        public Criteria andComplainUserNameNotBetween(String value1, String value2) {
            addCriterion("Complain_User_Name not between", value1, value2, "complainUserName");
            return (Criteria) this;
        }

        public Criteria andComplainPersonTelIsNull() {
            addCriterion("Complain_Person_Tel is null");
            return (Criteria) this;
        }

        public Criteria andComplainPersonTelIsNotNull() {
            addCriterion("Complain_Person_Tel is not null");
            return (Criteria) this;
        }

        public Criteria andComplainPersonTelEqualTo(String value) {
            addCriterion("Complain_Person_Tel =", value, "complainPersonTel");
            return (Criteria) this;
        }

        public Criteria andComplainPersonTelNotEqualTo(String value) {
            addCriterion("Complain_Person_Tel <>", value, "complainPersonTel");
            return (Criteria) this;
        }

        public Criteria andComplainPersonTelGreaterThan(String value) {
            addCriterion("Complain_Person_Tel >", value, "complainPersonTel");
            return (Criteria) this;
        }

        public Criteria andComplainPersonTelGreaterThanOrEqualTo(String value) {
            addCriterion("Complain_Person_Tel >=", value, "complainPersonTel");
            return (Criteria) this;
        }

        public Criteria andComplainPersonTelLessThan(String value) {
            addCriterion("Complain_Person_Tel <", value, "complainPersonTel");
            return (Criteria) this;
        }

        public Criteria andComplainPersonTelLessThanOrEqualTo(String value) {
            addCriterion("Complain_Person_Tel <=", value, "complainPersonTel");
            return (Criteria) this;
        }

        public Criteria andComplainPersonTelLike(String value) {
            addCriterion("Complain_Person_Tel like", value, "complainPersonTel");
            return (Criteria) this;
        }

        public Criteria andComplainPersonTelNotLike(String value) {
            addCriterion("Complain_Person_Tel not like", value, "complainPersonTel");
            return (Criteria) this;
        }

        public Criteria andComplainPersonTelIn(List<String> values) {
            addCriterion("Complain_Person_Tel in", values, "complainPersonTel");
            return (Criteria) this;
        }

        public Criteria andComplainPersonTelNotIn(List<String> values) {
            addCriterion("Complain_Person_Tel not in", values, "complainPersonTel");
            return (Criteria) this;
        }

        public Criteria andComplainPersonTelBetween(String value1, String value2) {
            addCriterion("Complain_Person_Tel between", value1, value2, "complainPersonTel");
            return (Criteria) this;
        }

        public Criteria andComplainPersonTelNotBetween(String value1, String value2) {
            addCriterion("Complain_Person_Tel not between", value1, value2, "complainPersonTel");
            return (Criteria) this;
        }

        public Criteria andEventContentIsNull() {
            addCriterion("Event_Content is null");
            return (Criteria) this;
        }

        public Criteria andEventContentIsNotNull() {
            addCriterion("Event_Content is not null");
            return (Criteria) this;
        }

        public Criteria andEventContentEqualTo(String value) {
            addCriterion("Event_Content =", value, "eventContent");
            return (Criteria) this;
        }

        public Criteria andEventContentNotEqualTo(String value) {
            addCriterion("Event_Content <>", value, "eventContent");
            return (Criteria) this;
        }

        public Criteria andEventContentGreaterThan(String value) {
            addCriterion("Event_Content >", value, "eventContent");
            return (Criteria) this;
        }

        public Criteria andEventContentGreaterThanOrEqualTo(String value) {
            addCriterion("Event_Content >=", value, "eventContent");
            return (Criteria) this;
        }

        public Criteria andEventContentLessThan(String value) {
            addCriterion("Event_Content <", value, "eventContent");
            return (Criteria) this;
        }

        public Criteria andEventContentLessThanOrEqualTo(String value) {
            addCriterion("Event_Content <=", value, "eventContent");
            return (Criteria) this;
        }

        public Criteria andEventContentLike(String value) {
            addCriterion("Event_Content like", value, "eventContent");
            return (Criteria) this;
        }

        public Criteria andEventContentNotLike(String value) {
            addCriterion("Event_Content not like", value, "eventContent");
            return (Criteria) this;
        }

        public Criteria andEventContentIn(List<String> values) {
            addCriterion("Event_Content in", values, "eventContent");
            return (Criteria) this;
        }

        public Criteria andEventContentNotIn(List<String> values) {
            addCriterion("Event_Content not in", values, "eventContent");
            return (Criteria) this;
        }

        public Criteria andEventContentBetween(String value1, String value2) {
            addCriterion("Event_Content between", value1, value2, "eventContent");
            return (Criteria) this;
        }

        public Criteria andEventContentNotBetween(String value1, String value2) {
            addCriterion("Event_Content not between", value1, value2, "eventContent");
            return (Criteria) this;
        }

        public Criteria andDivisionNoIsNull() {
            addCriterion("Division_No is null");
            return (Criteria) this;
        }

        public Criteria andDivisionNoIsNotNull() {
            addCriterion("Division_No is not null");
            return (Criteria) this;
        }

        public Criteria andDivisionNoEqualTo(String value) {
            addCriterion("c.Division_No =", value, "divisionNo");
            return (Criteria) this;
        }

        public Criteria andDivisionNoNotEqualTo(String value) {
            addCriterion("Division_No <>", value, "divisionNo");
            return (Criteria) this;
        }

        public Criteria andDivisionNoGreaterThan(String value) {
            addCriterion("Division_No >", value, "divisionNo");
            return (Criteria) this;
        }

        public Criteria andDivisionNoGreaterThanOrEqualTo(String value) {
            addCriterion("Division_No >=", value, "divisionNo");
            return (Criteria) this;
        }

        public Criteria andDivisionNoLessThan(String value) {
            addCriterion("Division_No <", value, "divisionNo");
            return (Criteria) this;
        }

        public Criteria andDivisionNoLessThanOrEqualTo(String value) {
            addCriterion("Division_No <=", value, "divisionNo");
            return (Criteria) this;
        }

        public Criteria andDivisionNoLike(String value) {
            addCriterion("Division_No like", value, "divisionNo");
            return (Criteria) this;
        }

        public Criteria andDivisionNoNotLike(String value) {
            addCriterion("Division_No not like", value, "divisionNo");
            return (Criteria) this;
        }

        public Criteria andDivisionNoIn(List<String> values) {
            addCriterion("c.Division_No in", values, "divisionNo");
            return (Criteria) this;
        }

        public Criteria andDivisionNoNotIn(List<String> values) {
            addCriterion("Division_No not in", values, "divisionNo");
            return (Criteria) this;
        }

        public Criteria andDivisionNoBetween(String value1, String value2) {
            addCriterion("Division_No between", value1, value2, "divisionNo");
            return (Criteria) this;
        }

        public Criteria andDivisionNoNotBetween(String value1, String value2) {
            addCriterion("Division_No not between", value1, value2, "divisionNo");
            return (Criteria) this;
        }

        public Criteria andComplainTimeIsNull() {
            addCriterion("Complain_Time is null");
            return (Criteria) this;
        }

        public Criteria andComplainTimeIsNotNull() {
            addCriterion("Complain_Time is not null");
            return (Criteria) this;
        }

        public Criteria andComplainTimeEqualTo(Date value) {
            addCriterion("Complain_Time =", value, "complainTime");
            return (Criteria) this;
        }

        public Criteria andComplainTimeNotEqualTo(Date value) {
            addCriterion("Complain_Time <>", value, "complainTime");
            return (Criteria) this;
        }

        public Criteria andComplainTimeGreaterThan(Date value) {
            addCriterion("Complain_Time >", value, "complainTime");
            return (Criteria) this;
        }

        public Criteria andComplainTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("Complain_Time >=", value, "complainTime");
            return (Criteria) this;
        }

        public Criteria andComplainTimeLessThan(Date value) {
            addCriterion("Complain_Time <", value, "complainTime");
            return (Criteria) this;
        }

        public Criteria andComplainTimeLessThanOrEqualTo(Date value) {
            addCriterion("Complain_Time <=", value, "complainTime");
            return (Criteria) this;
        }

        public Criteria andComplainTimeIn(List<Date> values) {
            addCriterion("Complain_Time in", values, "complainTime");
            return (Criteria) this;
        }

        public Criteria andComplainTimeNotIn(List<Date> values) {
            addCriterion("Complain_Time not in", values, "complainTime");
            return (Criteria) this;
        }

        public Criteria andComplainTimeBetween(Date value1, Date value2) {
            addCriterion("Complain_Time between", value1, value2, "complainTime");
            return (Criteria) this;
        }

        public Criteria andComplainTimeNotBetween(Date value1, Date value2) {
            addCriterion("Complain_Time not between", value1, value2, "complainTime");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyIsNull() {
            addCriterion("Complain_Urgency is null");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyIsNotNull() {
            addCriterion("Complain_Urgency is not null");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyEqualTo(Integer value) {
            addCriterion("Complain_Urgency =", value, "complainUrgency");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyNotEqualTo(Integer value) {
            addCriterion("Complain_Urgency <>", value, "complainUrgency");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyGreaterThan(Integer value) {
            addCriterion("Complain_Urgency >", value, "complainUrgency");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyGreaterThanOrEqualTo(Integer value) {
            addCriterion("Complain_Urgency >=", value, "complainUrgency");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyLessThan(Integer value) {
            addCriterion("Complain_Urgency <", value, "complainUrgency");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyLessThanOrEqualTo(Integer value) {
            addCriterion("Complain_Urgency <=", value, "complainUrgency");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyIn(List<Integer> values) {
            addCriterion("Complain_Urgency in", values, "complainUrgency");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyNotIn(List<Integer> values) {
            addCriterion("Complain_Urgency not in", values, "complainUrgency");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyBetween(Integer value1, Integer value2) {
            addCriterion("Complain_Urgency between", value1, value2, "complainUrgency");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyNotBetween(Integer value1, Integer value2) {
            addCriterion("Complain_Urgency not between", value1, value2, "complainUrgency");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyNameIsNull() {
            addCriterion("Complain_Urgency_Name is null");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyNameIsNotNull() {
            addCriterion("Complain_Urgency_Name is not null");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyNameEqualTo(String value) {
            addCriterion("Complain_Urgency_Name =", value, "complainUrgencyName");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyNameNotEqualTo(String value) {
            addCriterion("Complain_Urgency_Name <>", value, "complainUrgencyName");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyNameGreaterThan(String value) {
            addCriterion("Complain_Urgency_Name >", value, "complainUrgencyName");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyNameGreaterThanOrEqualTo(String value) {
            addCriterion("Complain_Urgency_Name >=", value, "complainUrgencyName");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyNameLessThan(String value) {
            addCriterion("Complain_Urgency_Name <", value, "complainUrgencyName");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyNameLessThanOrEqualTo(String value) {
            addCriterion("Complain_Urgency_Name <=", value, "complainUrgencyName");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyNameLike(String value) {
            addCriterion("Complain_Urgency_Name like", value, "complainUrgencyName");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyNameNotLike(String value) {
            addCriterion("Complain_Urgency_Name not like", value, "complainUrgencyName");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyNameIn(List<String> values) {
            addCriterion("Complain_Urgency_Name in", values, "complainUrgencyName");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyNameNotIn(List<String> values) {
            addCriterion("Complain_Urgency_Name not in", values, "complainUrgencyName");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyNameBetween(String value1, String value2) {
            addCriterion("Complain_Urgency_Name between", value1, value2, "complainUrgencyName");
            return (Criteria) this;
        }

        public Criteria andComplainUrgencyNameNotBetween(String value1, String value2) {
            addCriterion("Complain_Urgency_Name not between", value1, value2, "complainUrgencyName");
            return (Criteria) this;
        }

        public Criteria andEventSourceIsNull() {
            addCriterion("Event_Source is null");
            return (Criteria) this;
        }

        public Criteria andEventSourceIsNotNull() {
            addCriterion("Event_Source is not null");
            return (Criteria) this;
        }

        public Criteria andEventSourceEqualTo(Integer value) {
            addCriterion("Event_Source =", value, "eventSource");
            return (Criteria) this;
        }

        public Criteria andEventSourceNotEqualTo(Integer value) {
            addCriterion("Event_Source <>", value, "eventSource");
            return (Criteria) this;
        }

        public Criteria andEventSourceGreaterThan(Integer value) {
            addCriterion("Event_Source >", value, "eventSource");
            return (Criteria) this;
        }

        public Criteria andEventSourceGreaterThanOrEqualTo(Integer value) {
            addCriterion("Event_Source >=", value, "eventSource");
            return (Criteria) this;
        }

        public Criteria andEventSourceLessThan(Integer value) {
            addCriterion("Event_Source <", value, "eventSource");
            return (Criteria) this;
        }

        public Criteria andEventSourceLessThanOrEqualTo(Integer value) {
            addCriterion("Event_Source <=", value, "eventSource");
            return (Criteria) this;
        }

        public Criteria andEventSourceIn(List<Integer> values) {
            addCriterion("Event_Source in", values, "eventSource");
            return (Criteria) this;
        }

        public Criteria andEventSourceNotIn(List<Integer> values) {
            addCriterion("Event_Source not in", values, "eventSource");
            return (Criteria) this;
        }

        public Criteria andEventSourceBetween(Integer value1, Integer value2) {
            addCriterion("Event_Source between", value1, value2, "eventSource");
            return (Criteria) this;
        }

        public Criteria andEventSourceNotBetween(Integer value1, Integer value2) {
            addCriterion("Event_Source not between", value1, value2, "eventSource");
            return (Criteria) this;
        }

        public Criteria andEventSouceNameIsNull() {
            addCriterion("Event_Souce_Name is null");
            return (Criteria) this;
        }

        public Criteria andEventSouceNameIsNotNull() {
            addCriterion("Event_Souce_Name is not null");
            return (Criteria) this;
        }

        public Criteria andEventSouceNameEqualTo(String value) {
            addCriterion("Event_Souce_Name =", value, "eventSouceName");
            return (Criteria) this;
        }

        public Criteria andEventSouceNameNotEqualTo(String value) {
            addCriterion("Event_Souce_Name <>", value, "eventSouceName");
            return (Criteria) this;
        }

        public Criteria andEventSouceNameGreaterThan(String value) {
            addCriterion("Event_Souce_Name >", value, "eventSouceName");
            return (Criteria) this;
        }

        public Criteria andEventSouceNameGreaterThanOrEqualTo(String value) {
            addCriterion("Event_Souce_Name >=", value, "eventSouceName");
            return (Criteria) this;
        }

        public Criteria andEventSouceNameLessThan(String value) {
            addCriterion("Event_Souce_Name <", value, "eventSouceName");
            return (Criteria) this;
        }

        public Criteria andEventSouceNameLessThanOrEqualTo(String value) {
            addCriterion("Event_Souce_Name <=", value, "eventSouceName");
            return (Criteria) this;
        }

        public Criteria andEventSouceNameLike(String value) {
            addCriterion("Event_Souce_Name like", value, "eventSouceName");
            return (Criteria) this;
        }

        public Criteria andEventSouceNameNotLike(String value) {
            addCriterion("Event_Souce_Name not like", value, "eventSouceName");
            return (Criteria) this;
        }

        public Criteria andEventSouceNameIn(List<String> values) {
            addCriterion("Event_Souce_Name in", values, "eventSouceName");
            return (Criteria) this;
        }

        public Criteria andEventSouceNameNotIn(List<String> values) {
            addCriterion("Event_Souce_Name not in", values, "eventSouceName");
            return (Criteria) this;
        }

        public Criteria andEventSouceNameBetween(String value1, String value2) {
            addCriterion("Event_Souce_Name between", value1, value2, "eventSouceName");
            return (Criteria) this;
        }

        public Criteria andEventSouceNameNotBetween(String value1, String value2) {
            addCriterion("Event_Souce_Name not between", value1, value2, "eventSouceName");
            return (Criteria) this;
        }

        public Criteria andRiverNoIsNull() {
            addCriterion("River_No is null");
            return (Criteria) this;
        }

        public Criteria andRiverNoIsNotNull() {
            addCriterion("River_No is not null");
            return (Criteria) this;
        }

        public Criteria andRiverNoEqualTo(String value) {
            addCriterion("c.River_No =", value, "riverNo");
            return (Criteria) this;
        }

        public Criteria andRiverNoNotEqualTo(String value) {
            addCriterion("River_No <>", value, "riverNo");
            return (Criteria) this;
        }

        public Criteria andRiverNoGreaterThan(String value) {
            addCriterion("River_No >", value, "riverNo");
            return (Criteria) this;
        }

        public Criteria andRiverNoGreaterThanOrEqualTo(String value) {
            addCriterion("River_No >=", value, "riverNo");
            return (Criteria) this;
        }

        public Criteria andRiverNoLessThan(String value) {
            addCriterion("River_No <", value, "riverNo");
            return (Criteria) this;
        }

        public Criteria andRiverNoLessThanOrEqualTo(String value) {
            addCriterion("River_No <=", value, "riverNo");
            return (Criteria) this;
        }

        public Criteria andRiverNoLike(String value) {
            addCriterion("River_No like", value, "riverNo");
            return (Criteria) this;
        }

        public Criteria andRiverNoNotLike(String value) {
            addCriterion("River_No not like", value, "riverNo");
            return (Criteria) this;
        }

        public Criteria andRiverNoIn(List<String> values) {
            addCriterion("River_No in", values, "riverNo");
            return (Criteria) this;
        }

        public Criteria andRiverNoNotIn(List<String> values) {
            addCriterion("River_No not in", values, "riverNo");
            return (Criteria) this;
        }

        public Criteria andRiverNoBetween(String value1, String value2) {
            addCriterion("River_No between", value1, value2, "riverNo");
            return (Criteria) this;
        }

        public Criteria andRiverNoNotBetween(String value1, String value2) {
            addCriterion("River_No not between", value1, value2, "riverNo");
            return (Criteria) this;
        }

        public Criteria andEventStatusIdIsNull() {
            addCriterion("Event_Status_Id is null");
            return (Criteria) this;
        }

        public Criteria andEventStatusIdIsNotNull() {
            addCriterion("Event_Status_Id is not null");
            return (Criteria) this;
        }

        public Criteria andEventStatusIdEqualTo(Integer value) {
            addCriterion("Event_Status_Id =", value, "eventStatusId");
            return (Criteria) this;
        }

        public Criteria andEventStatusIdNotEqualTo(Integer value) {
            addCriterion("Event_Status_Id <>", value, "eventStatusId");
            return (Criteria) this;
        }

        public Criteria andEventStatusIdGreaterThan(Integer value) {
            addCriterion("Event_Status_Id >", value, "eventStatusId");
            return (Criteria) this;
        }

        public Criteria andEventStatusIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("Event_Status_Id >=", value, "eventStatusId");
            return (Criteria) this;
        }

        public Criteria andEventStatusIdLessThan(Integer value) {
            addCriterion("Event_Status_Id <", value, "eventStatusId");
            return (Criteria) this;
        }

        public Criteria andEventStatusIdLessThanOrEqualTo(Integer value) {
            addCriterion("Event_Status_Id <=", value, "eventStatusId");
            return (Criteria) this;
        }

        public Criteria andEventStatusIdIn(List<Integer> values) {
            addCriterion("Event_Status_Id in", values, "eventStatusId");
            return (Criteria) this;
        }

        public Criteria andEventStatusIdNotIn(List<Integer> values) {
            addCriterion("Event_Status_Id not in", values, "eventStatusId");
            return (Criteria) this;
        }

        public Criteria andEventStatusIdBetween(Integer value1, Integer value2) {
            addCriterion("Event_Status_Id between", value1, value2, "eventStatusId");
            return (Criteria) this;
        }

        public Criteria andEventStatusIdNotBetween(Integer value1, Integer value2) {
            addCriterion("Event_Status_Id not between", value1, value2, "eventStatusId");
            return (Criteria) this;
        }

        public Criteria andEventStatusNameIsNull() {
            addCriterion("Event_Status_Name is null");
            return (Criteria) this;
        }

        public Criteria andEventStatusNameIsNotNull() {
            addCriterion("Event_Status_Name is not null");
            return (Criteria) this;
        }

        public Criteria andEventStatusNameEqualTo(String value) {
            addCriterion("Event_Status_Name =", value, "eventStatusName");
            return (Criteria) this;
        }

        public Criteria andEventStatusNameNotEqualTo(String value) {
            addCriterion("Event_Status_Name <>", value, "eventStatusName");
            return (Criteria) this;
        }

        public Criteria andEventStatusNameGreaterThan(String value) {
            addCriterion("Event_Status_Name >", value, "eventStatusName");
            return (Criteria) this;
        }

        public Criteria andEventStatusNameGreaterThanOrEqualTo(String value) {
            addCriterion("Event_Status_Name >=", value, "eventStatusName");
            return (Criteria) this;
        }

        public Criteria andEventStatusNameLessThan(String value) {
            addCriterion("Event_Status_Name <", value, "eventStatusName");
            return (Criteria) this;
        }

        public Criteria andEventStatusNameLessThanOrEqualTo(String value) {
            addCriterion("Event_Status_Name <=", value, "eventStatusName");
            return (Criteria) this;
        }

        public Criteria andEventStatusNameLike(String value) {
            addCriterion("Event_Status_Name like", value, "eventStatusName");
            return (Criteria) this;
        }

        public Criteria andEventStatusNameNotLike(String value) {
            addCriterion("Event_Status_Name not like", value, "eventStatusName");
            return (Criteria) this;
        }

        public Criteria andEventStatusNameIn(List<String> values) {
            addCriterion("Event_Status_Name in", values, "eventStatusName");
            return (Criteria) this;
        }

        public Criteria andEventStatusNameNotIn(List<String> values) {
            addCriterion("Event_Status_Name not in", values, "eventStatusName");
            return (Criteria) this;
        }

        public Criteria andEventStatusNameBetween(String value1, String value2) {
            addCriterion("Event_Status_Name between", value1, value2, "eventStatusName");
            return (Criteria) this;
        }

        public Criteria andEventStatusNameNotBetween(String value1, String value2) {
            addCriterion("Event_Status_Name not between", value1, value2, "eventStatusName");
            return (Criteria) this;
        }

        public Criteria andComplainUserNoIsNull() {
            addCriterion("Complain_User_No is null");
            return (Criteria) this;
        }

        public Criteria andComplainUserNoIsNotNull() {
            addCriterion("Complain_User_No is not null");
            return (Criteria) this;
        }

        public Criteria andComplainUserNoEqualTo(String value) {
            addCriterion("Complain_User_No =", value, "complainUserNo");
            return (Criteria) this;
        }

        public Criteria andComplainUserNoNotEqualTo(String value) {
            addCriterion("Complain_User_No <>", value, "complainUserNo");
            return (Criteria) this;
        }

        public Criteria andComplainUserNoGreaterThan(String value) {
            addCriterion("Complain_User_No >", value, "complainUserNo");
            return (Criteria) this;
        }

        public Criteria andComplainUserNoGreaterThanOrEqualTo(String value) {
            addCriterion("Complain_User_No >=", value, "complainUserNo");
            return (Criteria) this;
        }

        public Criteria andComplainUserNoLessThan(String value) {
            addCriterion("Complain_User_No <", value, "complainUserNo");
            return (Criteria) this;
        }

        public Criteria andComplainUserNoLessThanOrEqualTo(String value) {
            addCriterion("Complain_User_No <=", value, "complainUserNo");
            return (Criteria) this;
        }

        public Criteria andComplainUserNoLike(String value) {
            addCriterion("Complain_User_No like", value, "complainUserNo");
            return (Criteria) this;
        }

        public Criteria andComplainUserNoNotLike(String value) {
            addCriterion("Complain_User_No not like", value, "complainUserNo");
            return (Criteria) this;
        }

        public Criteria andComplainUserNoIn(List<String> values) {
            addCriterion("Complain_User_No in", values, "complainUserNo");
            return (Criteria) this;
        }

        public Criteria andComplainUserNoNotIn(List<String> values) {
            addCriterion("Complain_User_No not in", values, "complainUserNo");
            return (Criteria) this;
        }

        public Criteria andComplainUserNoBetween(String value1, String value2) {
            addCriterion("Complain_User_No between", value1, value2, "complainUserNo");
            return (Criteria) this;
        }

        public Criteria andComplainUserNoNotBetween(String value1, String value2) {
            addCriterion("Complain_User_No not between", value1, value2, "complainUserNo");
            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);
        }
    }
}