mirror of
https://github.com/getrebuild/rebuild.git
synced 2025-02-26 15:25:30 +08:00
Update AdvFilterParser.java
This commit is contained in:
parent
31e8299ca2
commit
56a6b5b01f
1 changed files with 3 additions and 5 deletions
|
@ -197,8 +197,6 @@ public class AdvFilterParser {
|
||||||
if (dt == DisplayType.DATETIME) {
|
if (dt == DisplayType.DATETIME) {
|
||||||
op = "BW";
|
op = "BW";
|
||||||
valueEnd = parseValue(value, op, fieldMeta, true);
|
valueEnd = parseValue(value, op, fieldMeta, true);
|
||||||
} else {
|
|
||||||
op = "EQ";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -407,9 +405,9 @@ public class AdvFilterParser {
|
||||||
else if ("SFU".equalsIgnoreCase(op)) return "=";
|
else if ("SFU".equalsIgnoreCase(op)) return "=";
|
||||||
else if ("SFB".equalsIgnoreCase(op)) return "=";
|
else if ("SFB".equalsIgnoreCase(op)) return "=";
|
||||||
else if ("SFD".equalsIgnoreCase(op)) return "in";
|
else if ("SFD".equalsIgnoreCase(op)) return "in";
|
||||||
else if ("YTA".equalsIgnoreCase(op)) return ">=";
|
else if ("YTA".equalsIgnoreCase(op)) return "=";
|
||||||
else if ("TDA".equalsIgnoreCase(op)) return ">=";
|
else if ("TDA".equalsIgnoreCase(op)) return "=";
|
||||||
else if ("TTA".equalsIgnoreCase(op)) return ">=";
|
else if ("TTA".equalsIgnoreCase(op)) return "=";
|
||||||
throw new UnsupportedOperationException("Unsupported token [" + op + "]");
|
throw new UnsupportedOperationException("Unsupported token [" + op + "]");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue