From e5b2eb17889ce54745e50c343a985cd5281adbd9 Mon Sep 17 00:00:00 2001 From: taojinlong Date: Wed, 24 May 2023 17:37:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=97=B6=E9=97=B4=E8=81=94=E5=8A=A8?= =?UTF-8?q?=E4=B8=8D=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/dataease/provider/query/mysql/MysqlQueryProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/io/dataease/provider/query/mysql/MysqlQueryProvider.java b/backend/src/main/java/io/dataease/provider/query/mysql/MysqlQueryProvider.java index 06a4821dc3..1d6d357b7e 100644 --- a/backend/src/main/java/io/dataease/provider/query/mysql/MysqlQueryProvider.java +++ b/backend/src/main/java/io/dataease/provider/query/mysql/MysqlQueryProvider.java @@ -1089,7 +1089,7 @@ public class MysqlQueryProvider extends QueryProvider { String.format(MysqlConstants.DATE_FORMAT, cast, "%Y"), String.format(MysqlConstants.QUARTER, String.format(MysqlConstants.DATE_FORMAT, field, MysqlConstants.DEFAULT_DATE_FORMAT))); } else { - whereName = String.format(MySQLConstants.DATE_FORMAT, cast, format); + whereName = String.format(MySQLConstants.FROM_UNIXTIME, cast, format); } } }