fix: 时间格式化
This commit is contained in:
parent
5e89e74ad0
commit
24ae00582f
@ -107,7 +107,7 @@ public class MysqlQueryProvider extends QueryProvider {
|
||||
if (f.getDeType() == 2 || f.getDeType() == 3) {
|
||||
fieldName = String.format(MySQLConstants.UNIX_TIMESTAMP, originField) + "*1000";
|
||||
} else {
|
||||
fieldName = originField;
|
||||
fieldName = String.format(MySQLConstants.DATE_FORMAT, originField, MySQLConstants.DEFAULT_DATE_FORMAT);
|
||||
}
|
||||
} else if (f.getDeExtractType() == 0) {
|
||||
if (f.getDeType() == 2) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user