From 31c074dc6cb58c0741bb0ec3f26de00ef943076a Mon Sep 17 00:00:00 2001 From: blinkfox Date: Wed, 12 Feb 2020 15:24:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E4=BB=A3=E7=A0=81=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E4=B8=80=E4=BA=9B=E5=9D=8F=E5=91=B3=E9=81=93.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fenix/specification/handler/AbstractPredicateHandler.java | 2 +- .../fenix/specification/handler/impl/InPredicateHandler.java | 3 --- .../fenix/specification/handler/impl/OrInPredicateHandler.java | 3 --- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/main/java/com/blinkfox/fenix/specification/handler/AbstractPredicateHandler.java b/src/main/java/com/blinkfox/fenix/specification/handler/AbstractPredicateHandler.java index 6a465c3..bfd98de 100644 --- a/src/main/java/com/blinkfox/fenix/specification/handler/AbstractPredicateHandler.java +++ b/src/main/java/com/blinkfox/fenix/specification/handler/AbstractPredicateHandler.java @@ -429,7 +429,7 @@ protected Predicate buildBetweenPredicate( List list = (List) value; return this.buildBetweenPredicate(criteriaBuilder, from, fieldName, list.get(0), list.get(1)); } else if (value instanceof BetweenValue) { - BetweenValue bv = (BetweenValue) value; + BetweenValue bv = (BetweenValue) value; return this.buildBetweenPredicate(criteriaBuilder, from, fieldName, bv.getStart(), bv.getEnd()); } else { throw new BuildSpecificationException("【Fenix 异常】构建【@Between】注解区间查询时,参数值类型不是数组或 " diff --git a/src/main/java/com/blinkfox/fenix/specification/handler/impl/InPredicateHandler.java b/src/main/java/com/blinkfox/fenix/specification/handler/impl/InPredicateHandler.java index e2a8876..ff1f24d 100644 --- a/src/main/java/com/blinkfox/fenix/specification/handler/impl/InPredicateHandler.java +++ b/src/main/java/com/blinkfox/fenix/specification/handler/impl/InPredicateHandler.java @@ -8,8 +8,6 @@ import javax.persistence.criteria.From; import javax.persistence.criteria.Predicate; -import lombok.extern.slf4j.Slf4j; - /** * 构建“范围匹配条件”({@code field IN ('xxx', 'yyy')})场景的 {@link Predicate} 处理器. * @@ -17,7 +15,6 @@ * @author blinkfox on 2020-01-14 * @since v2.2.0 */ -@Slf4j public class InPredicateHandler extends AbstractPredicateHandler { @Override diff --git a/src/main/java/com/blinkfox/fenix/specification/handler/impl/OrInPredicateHandler.java b/src/main/java/com/blinkfox/fenix/specification/handler/impl/OrInPredicateHandler.java index ec8038f..17e8aec 100644 --- a/src/main/java/com/blinkfox/fenix/specification/handler/impl/OrInPredicateHandler.java +++ b/src/main/java/com/blinkfox/fenix/specification/handler/impl/OrInPredicateHandler.java @@ -8,8 +8,6 @@ import javax.persistence.criteria.From; import javax.persistence.criteria.Predicate; -import lombok.extern.slf4j.Slf4j; - /** * 构建“或者范围匹配条件”({@code OR field IN ('xxx', 'yyy')})场景的 {@link Predicate} 处理器. * @@ -17,7 +15,6 @@ * @author blinkfox on 2020-01-14 * @since v2.2.0 */ -@Slf4j public class OrInPredicateHandler extends AbstractPredicateHandler { @Override