diff --git a/src/main/java/com/blinkfox/fenix/core/Fenix.java b/src/main/java/com/blinkfox/fenix/core/Fenix.java index 4fde03e..a025af1 100644 --- a/src/main/java/com/blinkfox/fenix/core/Fenix.java +++ b/src/main/java/com/blinkfox/fenix/core/Fenix.java @@ -231,6 +231,7 @@ public Fenix where(String text, String key, Object value) { * * @param consumer Fenix {@link Consumer} 函数 * @return {@link Fenix} 实例 + * @since v2.1.0 */ public Fenix where(Consumer consumer) { this.source.getSqlInfo().setPrependWhere(true); @@ -244,6 +245,7 @@ public Fenix where(Consumer consumer) { *

使用该方法会动态处理 WHERE 关键字后的 AND 或者 OR 关键字,同 {@link #where(Consumer)} 方法类似.

* * @return {@link Fenix} 实例 + * @since v2.1.0 */ public Fenix whereDynamic() { this.source.getSqlInfo().setPrependWhere(true);