From 5c9b8217612a2e9529da8b70933e72c3d9f64648 Mon Sep 17 00:00:00 2001 From: guanmengyuan Date: Wed, 27 Sep 2023 14:24:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9E=84=E5=BB=BA=E6=89=80?= =?UTF-8?q?=E6=9C=89=E5=88=97=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/mybatisflex/core/query/QueryMethods.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryMethods.java b/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryMethods.java index 28539580..4a8e760c 100644 --- a/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryMethods.java +++ b/mybatis-flex-core/src/main/java/com/mybatisflex/core/query/QueryMethods.java @@ -2438,6 +2438,13 @@ public class QueryMethods { return new SelectQueryColumn(queryWrapper); } + /** + * 构建所有列 + */ + public static QueryColumn allColumns(){ + return column("*"); + } + // === IF 函数 === /**