Merge pull request #5300 from dataease/pr@dev@fixdataset

fix: 时间联动不生效
This commit is contained in:
taojinlong 2023-05-24 17:38:19 +08:00 committed by GitHub
commit c4909cd09e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
}
}