revert: 修复字段由日期、数值等转文本后过滤错误的问题

This commit is contained in:
junjun
2026-05-25 14:34:42 +08:00
parent 25c2548621
commit f1b8e655d5
3 changed files with 0 additions and 18 deletions

View File

@@ -164,12 +164,6 @@ public class CustomWhere2Str {
if (field.getDeExtractType() == 3) {
whereName = String.format(SQLConstants.CAST, originName, SQLConstants.DEFAULT_FLOAT_FORMAT);
}
} else if (field.getDeType() == 0) {
if (field.getDeExtractType() != 0) {
whereName = String.format(SQLConstants.CAST, originName, SQLConstants.VARCHAR);
} else {
whereName = originName;
}
} else {
whereName = originName;
}

View File

@@ -133,12 +133,6 @@ public class ExtWhere2Str {
if (field.getDeExtractType() == 3) {
whereName = String.format(SQLConstants.CAST, originName, SQLConstants.DEFAULT_FLOAT_FORMAT);
}
} else if (field.getDeType() == 0) {
if (field.getDeExtractType() != 0) {
whereName = String.format(SQLConstants.CAST, originName, SQLConstants.VARCHAR);
} else {
whereName = originName;
}
} else {
whereName = originName;
}

View File

@@ -174,12 +174,6 @@ public class WhereTree2Str {
if (field.getDeExtractType() == 3) {
whereName = String.format(SQLConstants.CAST, originName, SQLConstants.DEFAULT_FLOAT_FORMAT);
}
} else if (field.getDeType() == 0) {
if (field.getDeExtractType() != 0) {
whereName = String.format(SQLConstants.CAST, originName, SQLConstants.VARCHAR);
} else {
whereName = originName;
}
} else {
whereName = originName;
}