forked from github/dataease
commit
c4909cd09e
@ -1089,7 +1089,7 @@ public class MysqlQueryProvider extends QueryProvider {
|
|||||||
String.format(MysqlConstants.DATE_FORMAT, cast, "%Y"),
|
String.format(MysqlConstants.DATE_FORMAT, cast, "%Y"),
|
||||||
String.format(MysqlConstants.QUARTER, String.format(MysqlConstants.DATE_FORMAT, field, MysqlConstants.DEFAULT_DATE_FORMAT)));
|
String.format(MysqlConstants.QUARTER, String.format(MysqlConstants.DATE_FORMAT, field, MysqlConstants.DEFAULT_DATE_FORMAT)));
|
||||||
} else {
|
} else {
|
||||||
whereName = String.format(MySQLConstants.DATE_FORMAT, cast, format);
|
whereName = String.format(MySQLConstants.FROM_UNIXTIME, cast, format);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user