fix: oracle时间过滤组件提示异常

This commit is contained in:
taojinlong 2023-04-13 12:42:22 +08:00
parent a28055e55d
commit 224f53c1c9

View File

@ -1215,7 +1215,8 @@ public class OracleQueryProvider extends QueryProvider {
whereName = String.format(OracleConstants.FROM_UNIXTIME, cast, format);
}
if (field.getDeExtractType() == 1) {
whereName = String.format(OracleConstants.TO_CHAR, format);
whereName = originName;
// whereName = String.format(OracleConstants.TO_CHAR, originName, format);
}
} else if (field.getDeType() == 2 || field.getDeType() == 3) {
if (field.getDeExtractType() == 0 || field.getDeExtractType() == 5) {