|
|
|
|
@ -1,847 +0,0 @@
|
|
|
|
|
package com.macro.mall.model;
|
|
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
public class CmsMemberReportExample {
|
|
|
|
|
// 定义一个用于排序的子句
|
|
|
|
|
protected String orderByClause;
|
|
|
|
|
|
|
|
|
|
// 定义一个布尔值,用于指示查询结果是否去重
|
|
|
|
|
protected boolean distinct;
|
|
|
|
|
|
|
|
|
|
// 定义一个列表,用于存储查询条件(Criteria)
|
|
|
|
|
protected List<Criteria> oredCriteria;
|
|
|
|
|
|
|
|
|
|
// 构造函数,初始化oredCriteria为一个新的ArrayList
|
|
|
|
|
public CmsMemberReportExample() {
|
|
|
|
|
oredCriteria = new ArrayList<>();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置排序子句的方法
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加一个查询条件到oredCriteria列表中的方法
|
|
|
|
|
public void or(Criteria criteria) {
|
|
|
|
|
oredCriteria.add(criteria);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 创建一个新的Criteria对象并添加到oredCriteria列表中的方法
|
|
|
|
|
public Criteria or() {
|
|
|
|
|
Criteria criteria = createCriteriaInternal();
|
|
|
|
|
oredCriteria.add(criteria);
|
|
|
|
|
return criteria;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 创建一个Criteria对象,如果oredCriteria列表为空则将其添加到列表中的方法
|
|
|
|
|
public Criteria createCriteria() {
|
|
|
|
|
Criteria criteria = createCriteriaInternal();
|
|
|
|
|
if (oredCriteria.size() == 0) {
|
|
|
|
|
oredCriteria.add(criteria);
|
|
|
|
|
}
|
|
|
|
|
return criteria;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 内部方法,用于创建一个新的Criteria对象
|
|
|
|
|
protected Criteria createCriteriaInternal() {
|
|
|
|
|
Criteria criteria = new Criteria();
|
|
|
|
|
return criteria;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 清除所有查询条件和排序子句,并将distinct设置为false的方法
|
|
|
|
|
public void clear() {
|
|
|
|
|
oredCriteria.clear();
|
|
|
|
|
orderByClause = null;
|
|
|
|
|
distinct = false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
protected abstract static class GeneratedCriteria {
|
|
|
|
|
// 定义一个用于存储查询条件的列表
|
|
|
|
|
protected List<Criterion> criteria;
|
|
|
|
|
|
|
|
|
|
// 构造函数,初始化criteria为一个新的ArrayList
|
|
|
|
|
protected GeneratedCriteria() {
|
|
|
|
|
super();
|
|
|
|
|
criteria = new ArrayList<>();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 判断是否有查询条件的方法
|
|
|
|
|
public boolean isValid() {
|
|
|
|
|
return criteria.size() > 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取所有查询条件的方法
|
|
|
|
|
public List<Criterion> getAllCriteria() {
|
|
|
|
|
return criteria;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取查询条件列表的方法(与getAllCriteria方法相同)
|
|
|
|
|
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));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加id为空的查询条件的方法
|
|
|
|
|
public Criteria andIdIsNull() {
|
|
|
|
|
addCriterion("id is null");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加id不为空的查询条件的方法
|
|
|
|
|
public Criteria andIdIsNotNull() {
|
|
|
|
|
addCriterion("id is not null");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加id等于指定值的查询条件的方法
|
|
|
|
|
public Criteria andIdEqualTo(Long value) {
|
|
|
|
|
addCriterion("id =", value, "id");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加id不等于指定值的查询条件的方法
|
|
|
|
|
public Criteria andIdNotEqualTo(Long value) {
|
|
|
|
|
addCriterion("id <>", value, "id");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加id大于指定值的查询条件的方法
|
|
|
|
|
public Criteria andIdGreaterThan(Long value) {
|
|
|
|
|
addCriterion("id >", value, "id");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加id大于等于指定值的查询条件的方法
|
|
|
|
|
public Criteria andIdGreaterThanOrEqualTo(Long value) {
|
|
|
|
|
addCriterion("id >=", value, "id");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加id小于指定值的查询条件的方法
|
|
|
|
|
public Criteria andIdLessThan(Long value) {
|
|
|
|
|
addCriterion("id <", value, "id");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加id小于等于指定值的查询条件的方法
|
|
|
|
|
public Criteria andIdLessThanOrEqualTo(Long value) {
|
|
|
|
|
addCriterion("id <=", value, "id");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加id在指定值列表中的查询条件的方法
|
|
|
|
|
public Criteria andIdIn(List<Long> values) {
|
|
|
|
|
addCriterion("id in", values, "id");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加id不在指定值列表中的查询条件的方法
|
|
|
|
|
public Criteria andIdNotIn(List<Long> values) {
|
|
|
|
|
addCriterion("id not in", values, "id");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加id在指定范围内的查询条件的方法
|
|
|
|
|
public Criteria andIdBetween(Long value1, Long value2) {
|
|
|
|
|
addCriterion("id between", value1, value2, "id");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加id不在指定范围内的查询条件的方法
|
|
|
|
|
public Criteria andIdNotBetween(Long value1, Long value2) {
|
|
|
|
|
addCriterion("id not between", value1, value2, "id");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加report_type为空的查询条件的方法
|
|
|
|
|
public Criteria andReportTypeIsNull() {
|
|
|
|
|
addCriterion("report_type is null");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加report_type不为空的查询条件的方法
|
|
|
|
|
public Criteria andReportTypeIsNotNull() {
|
|
|
|
|
addCriterion("report_type is not null");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加report_type等于指定值的查询条件的方法
|
|
|
|
|
public Criteria andReportTypeEqualTo(Integer value) {
|
|
|
|
|
addCriterion("report_type =", value, "reportType");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加report_type不等于指定值的查询条件的方法
|
|
|
|
|
public Criteria andReportTypeNotEqualTo(Integer value) {
|
|
|
|
|
addCriterion("report_type <>", value, "reportType");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加report_type大于指定值的查询条件的方法
|
|
|
|
|
public Criteria andReportTypeGreaterThan(Integer value) {
|
|
|
|
|
addCriterion("report_type >", value, "reportType");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加report_type大于等于指定值的查询条件的方法
|
|
|
|
|
public Criteria andReportTypeGreaterThanOrEqualTo(Integer value) {
|
|
|
|
|
addCriterion("report_type >=", value, "reportType");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加report_type小于指定值的查询条件的方法
|
|
|
|
|
public Criteria andReportTypeLessThan(Integer value) {
|
|
|
|
|
addCriterion("report_type <", value, "reportType");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 添加 report_type <= value 的条件
|
|
|
|
|
public Criteria andReportTypeLessThanOrEqualTo(Integer value) {
|
|
|
|
|
addCriterion("report_type <=", value, "reportType");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_type in (values) 的条件
|
|
|
|
|
public Criteria andReportTypeIn(List<Integer> values) {
|
|
|
|
|
addCriterion("report_type in", values, "reportType");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_type not in (values) 的条件
|
|
|
|
|
public Criteria andReportTypeNotIn(List<Integer> values) {
|
|
|
|
|
addCriterion("report_type not in", values, "reportType");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_type between value1 and value2 的条件
|
|
|
|
|
public Criteria andReportTypeBetween(Integer value1, Integer value2) {
|
|
|
|
|
addCriterion("report_type between", value1, value2, "reportType");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_type not between value1 and value2 的条件
|
|
|
|
|
public Criteria andReportTypeNotBetween(Integer value1, Integer value2) {
|
|
|
|
|
addCriterion("report_type not between", value1, value2, "reportType");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_member_name is null 的条件
|
|
|
|
|
public Criteria andReportMemberNameIsNull() {
|
|
|
|
|
addCriterion("report_member_name is null");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_member_name is not null 的条件
|
|
|
|
|
public Criteria andReportMemberNameIsNotNull() {
|
|
|
|
|
addCriterion("report_member_name is not null");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_member_name = value 的条件
|
|
|
|
|
public Criteria andReportMemberNameEqualTo(String value) {
|
|
|
|
|
addCriterion("report_member_name =", value, "reportMemberName");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_member_name <> value 的条件
|
|
|
|
|
public Criteria andReportMemberNameNotEqualTo(String value) {
|
|
|
|
|
addCriterion("report_member_name <>", value, "reportMemberName");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_member_name > value 的条件
|
|
|
|
|
public Criteria andReportMemberNameGreaterThan(String value) {
|
|
|
|
|
addCriterion("report_member_name >", value, "reportMemberName");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_member_name >= value 的条件
|
|
|
|
|
public Criteria andReportMemberNameGreaterThanOrEqualTo(String value) {
|
|
|
|
|
addCriterion("report_member_name >=", value, "reportMemberName");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_member_name < value 的条件
|
|
|
|
|
public Criteria andReportMemberNameLessThan(String value) {
|
|
|
|
|
addCriterion("report_member_name <", value, "reportMemberName");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_member_name <= value 的条件
|
|
|
|
|
public Criteria andReportMemberNameLessThanOrEqualTo(String value) {
|
|
|
|
|
addCriterion("report_member_name <=", value, "reportMemberName");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_member_name like value 的条件
|
|
|
|
|
public Criteria andReportMemberNameLike(String value) {
|
|
|
|
|
addCriterion("report_member_name like", value, "reportMemberName");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_member_name not like value 的条件
|
|
|
|
|
public Criteria andReportMemberNameNotLike(String value) {
|
|
|
|
|
addCriterion("report_member_name not like", value, "reportMemberName");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_member_name in (values) 的条件
|
|
|
|
|
public Criteria andReportMemberNameIn(List<String> values) {
|
|
|
|
|
addCriterion("report_member_name in", values, "reportMemberName");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_member_name not in (values) 的条件
|
|
|
|
|
public Criteria andReportMemberNameNotIn(List<String> values) {
|
|
|
|
|
addCriterion("report_member_name not in", values, "reportMemberName");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_member_name between value1 and value2 的条件
|
|
|
|
|
public Criteria andReportMemberNameBetween(String value1, String value2) {
|
|
|
|
|
addCriterion("report_member_name between", value1, value2, "reportMemberName");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 report_member_name not between value1 and value2 的条件
|
|
|
|
|
public Criteria andReportMemberNameNotBetween(String value1, String value2) {
|
|
|
|
|
addCriterion("report_member_name not between", value1, value2, "reportMemberName");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 create_time is null 的条件
|
|
|
|
|
public Criteria andCreateTimeIsNull() {
|
|
|
|
|
addCriterion("create_time is null");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 create_time is not null 的条件
|
|
|
|
|
public Criteria andCreateTimeIsNotNull() {
|
|
|
|
|
addCriterion("create_time is not null");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 create_time = value 的条件
|
|
|
|
|
public Criteria andCreateTimeEqualTo(Date value) {
|
|
|
|
|
addCriterion("create_time =", value, "createTime");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 create_time <> value 的条件
|
|
|
|
|
public Criteria andCreateTimeNotEqualTo(Date value) {
|
|
|
|
|
addCriterion("create_time <>", value, "createTime");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 create_time > value 的条件
|
|
|
|
|
public Criteria andCreateTimeGreaterThan(Date value) {
|
|
|
|
|
addCriterion("create_time >", value, "createTime");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 create_time >= value 的条件
|
|
|
|
|
public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
|
|
|
|
|
addCriterion("create_time >=", value, "createTime");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 create_time < value 的条件
|
|
|
|
|
public Criteria andCreateTimeLessThan(Date value) {
|
|
|
|
|
addCriterion("create_time <", value, "createTime");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 create_time <= value 的条件
|
|
|
|
|
public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
|
|
|
|
|
addCriterion("create_time <=", value, "createTime");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 create_time in (values) 的条件
|
|
|
|
|
public Criteria andCreateTimeIn(List<Date> values) {
|
|
|
|
|
addCriterion("create_time in", values, "createTime");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加 create_time not in (values) 的条件
|
|
|
|
|
public Criteria andCreateTimeNotIn(List<Date> values) {
|
|
|
|
|
addCriterion("create_time not in", values, "createTime");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 添加创建时间在指定范围内的条件
|
|
|
|
|
public Criteria andCreateTimeBetween(Date value1, Date value2) {
|
|
|
|
|
addCriterion("create_time between", value1, value2, "createTime");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加创建时间不在指定范围内的条件
|
|
|
|
|
public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
|
|
|
|
|
addCriterion("create_time not between", value1, value2, "createTime");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告对象为空的条件
|
|
|
|
|
public Criteria andReportObjectIsNull() {
|
|
|
|
|
addCriterion("report_object is null");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告对象不为空的条件
|
|
|
|
|
public Criteria andReportObjectIsNotNull() {
|
|
|
|
|
addCriterion("report_object is not null");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告对象等于指定值的条件
|
|
|
|
|
public Criteria andReportObjectEqualTo(String value) {
|
|
|
|
|
addCriterion("report_object =", value, "reportObject");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告对象不等于指定值的条件
|
|
|
|
|
public Criteria andReportObjectNotEqualTo(String value) {
|
|
|
|
|
addCriterion("report_object <>", value, "reportObject");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告对象大于指定值的条件
|
|
|
|
|
public Criteria andReportObjectGreaterThan(String value) {
|
|
|
|
|
addCriterion("report_object >", value, "reportObject");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告对象大于或等于指定值的条件
|
|
|
|
|
public Criteria andReportObjectGreaterThanOrEqualTo(String value) {
|
|
|
|
|
addCriterion("report_object >=", value, "reportObject");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告对象小于指定值的条件
|
|
|
|
|
public Criteria andReportObjectLessThan(String value) {
|
|
|
|
|
addCriterion("report_object <", value, "reportObject");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告对象小于或等于指定值的条件
|
|
|
|
|
public Criteria andReportObjectLessThanOrEqualTo(String value) {
|
|
|
|
|
addCriterion("report_object <=", value, "reportObject");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告对象匹配指定模式的条件
|
|
|
|
|
public Criteria andReportObjectLike(String value) {
|
|
|
|
|
addCriterion("report_object like", value, "reportObject");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告对象不匹配指定模式的条件
|
|
|
|
|
public Criteria andReportObjectNotLike(String value) {
|
|
|
|
|
addCriterion("report_object not like", value, "reportObject");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告对象在指定列表中的条件
|
|
|
|
|
public Criteria andReportObjectIn(List<String> values) {
|
|
|
|
|
addCriterion("report_object in", values, "reportObject");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告对象不在指定列表中的条件
|
|
|
|
|
public Criteria andReportObjectNotIn(List<String> values) {
|
|
|
|
|
addCriterion("report_object not in", values, "reportObject");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告对象在指定范围内的条件
|
|
|
|
|
public Criteria andReportObjectBetween(String value1, String value2) {
|
|
|
|
|
addCriterion("report_object between", value1, value2, "reportObject");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告对象不在指定范围内的条件
|
|
|
|
|
public Criteria andReportObjectNotBetween(String value1, String value2) {
|
|
|
|
|
addCriterion("report_object not between", value1, value2, "reportObject");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告状态为空的条件
|
|
|
|
|
public Criteria andReportStatusIsNull() {
|
|
|
|
|
addCriterion("report_status is null");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告状态不为空的条件
|
|
|
|
|
public Criteria andReportStatusIsNotNull() {
|
|
|
|
|
addCriterion("report_status is not null");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告状态等于指定值的条件
|
|
|
|
|
public Criteria andReportStatusEqualTo(Integer value) {
|
|
|
|
|
addCriterion("report_status =", value, "reportStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告状态不等于指定值的条件
|
|
|
|
|
public Criteria andReportStatusNotEqualTo(Integer value) {
|
|
|
|
|
addCriterion("report_status <>", value, "reportStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告状态大于指定值的条件
|
|
|
|
|
public Criteria andReportStatusGreaterThan(Integer value) {
|
|
|
|
|
addCriterion("report_status >", value, "reportStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告状态大于或等于指定值的条件
|
|
|
|
|
public Criteria andReportStatusGreaterThanOrEqualTo(Integer value) {
|
|
|
|
|
addCriterion("report_status >=", value, "reportStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告状态小于指定值的条件
|
|
|
|
|
public Criteria andReportStatusLessThan(Integer value) {
|
|
|
|
|
addCriterion("report_status <", value, "reportStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告状态小于或等于指定值的条件
|
|
|
|
|
public Criteria andReportStatusLessThanOrEqualTo(Integer value) {
|
|
|
|
|
addCriterion("report_status <=", value, "reportStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告状态在指定列表中的条件
|
|
|
|
|
public Criteria andReportStatusIn(List<Integer> values) {
|
|
|
|
|
addCriterion("report_status in", values, "reportStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告状态不在指定列表中的条件
|
|
|
|
|
public Criteria andReportStatusNotIn(List<Integer> values) {
|
|
|
|
|
addCriterion("report_status not in", values, "reportStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告状态在指定范围内的条件
|
|
|
|
|
public Criteria andReportStatusBetween(Integer value1, Integer value2) {
|
|
|
|
|
addCriterion("report_status between", value1, value2, "reportStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加报告状态不在指定范围内的条件
|
|
|
|
|
public Criteria andReportStatusNotBetween(Integer value1, Integer value2) {
|
|
|
|
|
addCriterion("report_status not between", value1, value2, "reportStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加处理状态为空的条件
|
|
|
|
|
public Criteria andHandleStatusIsNull() {
|
|
|
|
|
addCriterion("handle_status is null");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加处理状态不为空的条件
|
|
|
|
|
public Criteria andHandleStatusIsNotNull() {
|
|
|
|
|
addCriterion("handle_status is not null");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加处理状态等于指定值的条件
|
|
|
|
|
public Criteria andHandleStatusEqualTo(Integer value) {
|
|
|
|
|
addCriterion("handle_status =", value, "handleStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加处理状态不等于指定值的条件
|
|
|
|
|
public Criteria andHandleStatusNotEqualTo(Integer value) {
|
|
|
|
|
addCriterion("handle_status <>", value, "handleStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 添加条件:handle_status > value
|
|
|
|
|
public Criteria andHandleStatusGreaterThan(Integer value) {
|
|
|
|
|
addCriterion("handle_status >", value, "handleStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:handle_status >= value
|
|
|
|
|
public Criteria andHandleStatusGreaterThanOrEqualTo(Integer value) {
|
|
|
|
|
addCriterion("handle_status >=", value, "handleStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:handle_status < value
|
|
|
|
|
public Criteria andHandleStatusLessThan(Integer value) {
|
|
|
|
|
addCriterion("handle_status <", value, "handleStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:handle_status <= value
|
|
|
|
|
public Criteria andHandleStatusLessThanOrEqualTo(Integer value) {
|
|
|
|
|
addCriterion("handle_status <=", value, "handleStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:handle_status in values
|
|
|
|
|
public Criteria andHandleStatusIn(List<Integer> values) {
|
|
|
|
|
addCriterion("handle_status in", values, "handleStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:handle_status not in values
|
|
|
|
|
public Criteria andHandleStatusNotIn(List<Integer> values) {
|
|
|
|
|
addCriterion("handle_status not in", values, "handleStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:handle_status between value1 and value2
|
|
|
|
|
public Criteria andHandleStatusBetween(Integer value1, Integer value2) {
|
|
|
|
|
addCriterion("handle_status between", value1, value2, "handleStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:handle_status not between value1 and value2
|
|
|
|
|
public Criteria andHandleStatusNotBetween(Integer value1, Integer value2) {
|
|
|
|
|
addCriterion("handle_status not between", value1, value2, "handleStatus");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:note is null
|
|
|
|
|
public Criteria andNoteIsNull() {
|
|
|
|
|
addCriterion("note is null");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:note is not null
|
|
|
|
|
public Criteria andNoteIsNotNull() {
|
|
|
|
|
addCriterion("note is not null");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:note = value
|
|
|
|
|
public Criteria andNoteEqualTo(String value) {
|
|
|
|
|
addCriterion("note =", value, "note");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:note <> value
|
|
|
|
|
public Criteria andNoteNotEqualTo(String value) {
|
|
|
|
|
addCriterion("note <>", value, "note");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:note > value
|
|
|
|
|
public Criteria andNoteGreaterThan(String value) {
|
|
|
|
|
addCriterion("note >", value, "note");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:note >= value
|
|
|
|
|
public Criteria andNoteGreaterThanOrEqualTo(String value) {
|
|
|
|
|
addCriterion("note >=", value, "note");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:note < value
|
|
|
|
|
public Criteria andNoteLessThan(String value) {
|
|
|
|
|
addCriterion("note <", value, "note");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:note <= value
|
|
|
|
|
public Criteria andNoteLessThanOrEqualTo(String value) {
|
|
|
|
|
addCriterion("note <=", value, "note");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:note like value
|
|
|
|
|
public Criteria andNoteLike(String value) {
|
|
|
|
|
addCriterion("note like", value, "note");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:note not like value
|
|
|
|
|
public Criteria andNoteNotLike(String value) {
|
|
|
|
|
addCriterion("note not like", value, "note");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:note in values
|
|
|
|
|
public Criteria andNoteIn(List<String> values) {
|
|
|
|
|
addCriterion("note in", values, "note");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:note not in values
|
|
|
|
|
public Criteria andNoteNotIn(List<String> values) {
|
|
|
|
|
addCriterion("note not in", values, "note");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:note between value1 and value2
|
|
|
|
|
public Criteria andNoteBetween(String value1, String value2) {
|
|
|
|
|
addCriterion("note between", value1, value2, "note");
|
|
|
|
|
return (Criteria) this;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 添加条件:note not between value1 and value2
|
|
|
|
|
public Criteria andNoteNotBetween(String value1, String value2) {
|
|
|
|
|
addCriterion("note not between", value1, value2, "note");
|
|
|
|
|
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; // 第二个值(用于between查询)
|
|
|
|
|
private boolean noValue; // 是否没有值
|
|
|
|
|
private boolean singleValue; // 是否是单一值
|
|
|
|
|
private boolean betweenValue; // 是否是between查询
|
|
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 判断是否是between查询
|
|
|
|
|
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; // 如果值是列表,则设置listValue为true
|
|
|
|
|
} else {
|
|
|
|
|
this.singleValue = true; // 否则设置为单一值
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 构造函数,包含条件表达式和值,不包含类型处理器
|
|
|
|
|
protected Criterion(String condition, Object value) {
|
|
|
|
|
this(condition, value, null); // 调用另一个构造函数,并传递null作为类型处理器
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 构造函数,包含条件表达式、两个值和可选的类型处理器,用于between查询
|
|
|
|
|
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; // 表示这是一个between查询
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 构造函数,包含条件表达式、两个值,不包含类型处理器,用于between查询
|
|
|
|
|
protected Criterion(String condition, Object value, Object secondValue) {
|
|
|
|
|
this(condition, value, secondValue, null); // 调用另一个构造函数,并传递null作为类型处理器
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|