@Test
public void test_合并_OR条件() {

    TableNode table = new TableNode("TABLE1");
    table.query("ID > 1 OR ID < 3");
    table.build();
    FilterPreProcessor.optimize(table, true);
    Assert.assertEquals(table.getWhereFilter().toString(), "1");
    table.query("ID > 1 OR ID > 3");
    table.build();
    FilterPreProcessor.optimize(table, true);
    Assert.assertEquals(table.getWhereFilter().toString(), "TABLE1.ID > 1");
    table.query("ID > 1 OR ID = 5");
    table.build();
    FilterPreProcessor.optimize(table, true);
    Assert.assertEquals(table.getWhereFilter().toString(), "TABLE1.ID > 1");
}