fix: 时间联动不生效

This commit is contained in:
taojinlong 2023-05-24 17:37:32 +08:00
parent 5753a9abb2
commit 2d88c44536

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