Merge pull request #5020 from dataease/pr@dev@fixextratdata

fix: oracle时间过滤组件提示异常
This commit is contained in:
taojinlong
2023-04-13 12:44:06 +08:00
committed by GitHub

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) {