You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
944 lines
29 KiB
944 lines
29 KiB
package com.hai.entity;
|
|
|
|
import java.math.BigDecimal;
|
|
import java.util.ArrayList;
|
|
import java.util.Date;
|
|
import java.util.List;
|
|
|
|
public class OutRechargePriceExample {
|
|
protected String orderByClause;
|
|
|
|
protected boolean distinct;
|
|
|
|
protected List<Criteria> oredCriteria;
|
|
|
|
private Integer limit;
|
|
|
|
private Long offset;
|
|
|
|
public OutRechargePriceExample() {
|
|
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;
|
|
}
|
|
|
|
public void setLimit(Integer limit) {
|
|
this.limit = limit;
|
|
}
|
|
|
|
public Integer getLimit() {
|
|
return limit;
|
|
}
|
|
|
|
public void setOffset(Long offset) {
|
|
this.offset = offset;
|
|
}
|
|
|
|
public Long getOffset() {
|
|
return offset;
|
|
}
|
|
|
|
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(Long value) {
|
|
addCriterion("id =", value, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdNotEqualTo(Long value) {
|
|
addCriterion("id <>", value, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdGreaterThan(Long value) {
|
|
addCriterion("id >", value, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdGreaterThanOrEqualTo(Long value) {
|
|
addCriterion("id >=", value, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdLessThan(Long value) {
|
|
addCriterion("id <", value, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdLessThanOrEqualTo(Long value) {
|
|
addCriterion("id <=", value, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdIn(List<Long> values) {
|
|
addCriterion("id in", values, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdNotIn(List<Long> values) {
|
|
addCriterion("id not in", values, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdBetween(Long value1, Long value2) {
|
|
addCriterion("id between", value1, value2, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andIdNotBetween(Long value1, Long value2) {
|
|
addCriterion("id not between", value1, value2, "id");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRechargeTypeIsNull() {
|
|
addCriterion("recharge_type is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRechargeTypeIsNotNull() {
|
|
addCriterion("recharge_type is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRechargeTypeEqualTo(Integer value) {
|
|
addCriterion("recharge_type =", value, "rechargeType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRechargeTypeNotEqualTo(Integer value) {
|
|
addCriterion("recharge_type <>", value, "rechargeType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRechargeTypeGreaterThan(Integer value) {
|
|
addCriterion("recharge_type >", value, "rechargeType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRechargeTypeGreaterThanOrEqualTo(Integer value) {
|
|
addCriterion("recharge_type >=", value, "rechargeType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRechargeTypeLessThan(Integer value) {
|
|
addCriterion("recharge_type <", value, "rechargeType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRechargeTypeLessThanOrEqualTo(Integer value) {
|
|
addCriterion("recharge_type <=", value, "rechargeType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRechargeTypeIn(List<Integer> values) {
|
|
addCriterion("recharge_type in", values, "rechargeType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRechargeTypeNotIn(List<Integer> values) {
|
|
addCriterion("recharge_type not in", values, "rechargeType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRechargeTypeBetween(Integer value1, Integer value2) {
|
|
addCriterion("recharge_type between", value1, value2, "rechargeType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRechargeTypeNotBetween(Integer value1, Integer value2) {
|
|
addCriterion("recharge_type not between", value1, value2, "rechargeType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeIsNull() {
|
|
addCriterion("`type` is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeIsNotNull() {
|
|
addCriterion("`type` is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeEqualTo(Integer value) {
|
|
addCriterion("`type` =", value, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeNotEqualTo(Integer value) {
|
|
addCriterion("`type` <>", value, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeGreaterThan(Integer value) {
|
|
addCriterion("`type` >", value, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
|
|
addCriterion("`type` >=", value, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeLessThan(Integer value) {
|
|
addCriterion("`type` <", value, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeLessThanOrEqualTo(Integer value) {
|
|
addCriterion("`type` <=", value, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeIn(List<Integer> values) {
|
|
addCriterion("`type` in", values, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeNotIn(List<Integer> values) {
|
|
addCriterion("`type` not in", values, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeBetween(Integer value1, Integer value2) {
|
|
addCriterion("`type` between", value1, value2, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andTypeNotBetween(Integer value1, Integer value2) {
|
|
addCriterion("`type` not between", value1, value2, "type");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andShowTypeIsNull() {
|
|
addCriterion("show_type is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andShowTypeIsNotNull() {
|
|
addCriterion("show_type is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andShowTypeEqualTo(Integer value) {
|
|
addCriterion("show_type =", value, "showType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andShowTypeNotEqualTo(Integer value) {
|
|
addCriterion("show_type <>", value, "showType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andShowTypeGreaterThan(Integer value) {
|
|
addCriterion("show_type >", value, "showType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andShowTypeGreaterThanOrEqualTo(Integer value) {
|
|
addCriterion("show_type >=", value, "showType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andShowTypeLessThan(Integer value) {
|
|
addCriterion("show_type <", value, "showType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andShowTypeLessThanOrEqualTo(Integer value) {
|
|
addCriterion("show_type <=", value, "showType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andShowTypeIn(List<Integer> values) {
|
|
addCriterion("show_type in", values, "showType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andShowTypeNotIn(List<Integer> values) {
|
|
addCriterion("show_type not in", values, "showType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andShowTypeBetween(Integer value1, Integer value2) {
|
|
addCriterion("show_type between", value1, value2, "showType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andShowTypeNotBetween(Integer value1, Integer value2) {
|
|
addCriterion("show_type not between", value1, value2, "showType");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCompanyIdIsNull() {
|
|
addCriterion("company_id is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCompanyIdIsNotNull() {
|
|
addCriterion("company_id is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCompanyIdEqualTo(Long value) {
|
|
addCriterion("company_id =", value, "companyId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCompanyIdNotEqualTo(Long value) {
|
|
addCriterion("company_id <>", value, "companyId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCompanyIdGreaterThan(Long value) {
|
|
addCriterion("company_id >", value, "companyId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCompanyIdGreaterThanOrEqualTo(Long value) {
|
|
addCriterion("company_id >=", value, "companyId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCompanyIdLessThan(Long value) {
|
|
addCriterion("company_id <", value, "companyId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCompanyIdLessThanOrEqualTo(Long value) {
|
|
addCriterion("company_id <=", value, "companyId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCompanyIdIn(List<Long> values) {
|
|
addCriterion("company_id in", values, "companyId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCompanyIdNotIn(List<Long> values) {
|
|
addCriterion("company_id not in", values, "companyId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCompanyIdBetween(Long value1, Long value2) {
|
|
addCriterion("company_id between", value1, value2, "companyId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andCompanyIdNotBetween(Long value1, Long value2) {
|
|
addCriterion("company_id not between", value1, value2, "companyId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPriceIsNull() {
|
|
addCriterion("price is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPriceIsNotNull() {
|
|
addCriterion("price is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPriceEqualTo(BigDecimal value) {
|
|
addCriterion("price =", value, "price");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPriceNotEqualTo(BigDecimal value) {
|
|
addCriterion("price <>", value, "price");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPriceGreaterThan(BigDecimal value) {
|
|
addCriterion("price >", value, "price");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) {
|
|
addCriterion("price >=", value, "price");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPriceLessThan(BigDecimal value) {
|
|
addCriterion("price <", value, "price");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPriceLessThanOrEqualTo(BigDecimal value) {
|
|
addCriterion("price <=", value, "price");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPriceIn(List<BigDecimal> values) {
|
|
addCriterion("price in", values, "price");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPriceNotIn(List<BigDecimal> values) {
|
|
addCriterion("price not in", values, "price");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) {
|
|
addCriterion("price between", value1, value2, "price");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) {
|
|
addCriterion("price not between", value1, value2, "price");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRealPriceIsNull() {
|
|
addCriterion("real_price is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRealPriceIsNotNull() {
|
|
addCriterion("real_price is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRealPriceEqualTo(BigDecimal value) {
|
|
addCriterion("real_price =", value, "realPrice");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRealPriceNotEqualTo(BigDecimal value) {
|
|
addCriterion("real_price <>", value, "realPrice");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRealPriceGreaterThan(BigDecimal value) {
|
|
addCriterion("real_price >", value, "realPrice");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRealPriceGreaterThanOrEqualTo(BigDecimal value) {
|
|
addCriterion("real_price >=", value, "realPrice");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRealPriceLessThan(BigDecimal value) {
|
|
addCriterion("real_price <", value, "realPrice");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRealPriceLessThanOrEqualTo(BigDecimal value) {
|
|
addCriterion("real_price <=", value, "realPrice");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRealPriceIn(List<BigDecimal> values) {
|
|
addCriterion("real_price in", values, "realPrice");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRealPriceNotIn(List<BigDecimal> values) {
|
|
addCriterion("real_price not in", values, "realPrice");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRealPriceBetween(BigDecimal value1, BigDecimal value2) {
|
|
addCriterion("real_price between", value1, value2, "realPrice");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andRealPriceNotBetween(BigDecimal value1, BigDecimal value2) {
|
|
addCriterion("real_price not between", value1, value2, "realPrice");
|
|
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 Criteria andGoodsIdIsNull() {
|
|
addCriterion("goods_id is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoodsIdIsNotNull() {
|
|
addCriterion("goods_id is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoodsIdEqualTo(Long value) {
|
|
addCriterion("goods_id =", value, "goodsId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoodsIdNotEqualTo(Long value) {
|
|
addCriterion("goods_id <>", value, "goodsId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoodsIdGreaterThan(Long value) {
|
|
addCriterion("goods_id >", value, "goodsId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoodsIdGreaterThanOrEqualTo(Long value) {
|
|
addCriterion("goods_id >=", value, "goodsId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoodsIdLessThan(Long value) {
|
|
addCriterion("goods_id <", value, "goodsId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoodsIdLessThanOrEqualTo(Long value) {
|
|
addCriterion("goods_id <=", value, "goodsId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoodsIdIn(List<Long> values) {
|
|
addCriterion("goods_id in", values, "goodsId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoodsIdNotIn(List<Long> values) {
|
|
addCriterion("goods_id not in", values, "goodsId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoodsIdBetween(Long value1, Long value2) {
|
|
addCriterion("goods_id between", value1, value2, "goodsId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andGoodsIdNotBetween(Long value1, Long value2) {
|
|
addCriterion("goods_id not between", value1, value2, "goodsId");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDiscountIsNull() {
|
|
addCriterion("discount is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDiscountIsNotNull() {
|
|
addCriterion("discount is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDiscountEqualTo(Float value) {
|
|
addCriterion("discount =", value, "discount");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDiscountNotEqualTo(Float value) {
|
|
addCriterion("discount <>", value, "discount");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDiscountGreaterThan(Float value) {
|
|
addCriterion("discount >", value, "discount");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDiscountGreaterThanOrEqualTo(Float value) {
|
|
addCriterion("discount >=", value, "discount");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDiscountLessThan(Float value) {
|
|
addCriterion("discount <", value, "discount");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDiscountLessThanOrEqualTo(Float value) {
|
|
addCriterion("discount <=", value, "discount");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDiscountIn(List<Float> values) {
|
|
addCriterion("discount in", values, "discount");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDiscountNotIn(List<Float> values) {
|
|
addCriterion("discount not in", values, "discount");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDiscountBetween(Float value1, Float value2) {
|
|
addCriterion("discount between", value1, value2, "discount");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andDiscountNotBetween(Float value1, Float value2) {
|
|
addCriterion("discount not between", value1, value2, "discount");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortIsNull() {
|
|
addCriterion("sort is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortIsNotNull() {
|
|
addCriterion("sort is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortEqualTo(Integer value) {
|
|
addCriterion("sort =", value, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortNotEqualTo(Integer value) {
|
|
addCriterion("sort <>", value, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortGreaterThan(Integer value) {
|
|
addCriterion("sort >", value, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortGreaterThanOrEqualTo(Integer value) {
|
|
addCriterion("sort >=", value, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortLessThan(Integer value) {
|
|
addCriterion("sort <", value, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortLessThanOrEqualTo(Integer value) {
|
|
addCriterion("sort <=", value, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortIn(List<Integer> values) {
|
|
addCriterion("sort in", values, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortNotIn(List<Integer> values) {
|
|
addCriterion("sort not in", values, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortBetween(Integer value1, Integer value2) {
|
|
addCriterion("sort between", value1, value2, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andSortNotBetween(Integer value1, Integer value2) {
|
|
addCriterion("sort not between", value1, value2, "sort");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusIsNull() {
|
|
addCriterion("`status` is null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusIsNotNull() {
|
|
addCriterion("`status` is not null");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusEqualTo(Integer value) {
|
|
addCriterion("`status` =", value, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusNotEqualTo(Integer value) {
|
|
addCriterion("`status` <>", value, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusGreaterThan(Integer value) {
|
|
addCriterion("`status` >", value, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
|
|
addCriterion("`status` >=", value, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusLessThan(Integer value) {
|
|
addCriterion("`status` <", value, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusLessThanOrEqualTo(Integer value) {
|
|
addCriterion("`status` <=", value, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusIn(List<Integer> values) {
|
|
addCriterion("`status` in", values, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusNotIn(List<Integer> values) {
|
|
addCriterion("`status` not in", values, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusBetween(Integer value1, Integer value2) {
|
|
addCriterion("`status` between", value1, value2, "status");
|
|
return (Criteria) this;
|
|
}
|
|
|
|
public Criteria andStatusNotBetween(Integer value1, Integer value2) {
|
|
addCriterion("`status` not between", value1, value2, "status");
|
|
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);
|
|
}
|
|
}
|
|
} |