|
@@ -21,13 +21,12 @@ public class Sql<R> {
|
|
|
protected final List<QueryCondition> queryConditionList = new ArrayList<>();
|
|
|
protected final List<QueryColumn> groupByList = new ArrayList<>();
|
|
|
protected final List<QueryConditionOrder> orderByList = new ArrayList<>();
|
|
|
-
|
|
|
protected final List<Sql<R>> unionList = new ArrayList<>();
|
|
|
- protected String unionType = StringPool.EMPTY;
|
|
|
|
|
|
protected Boolean logic = false;
|
|
|
protected Boolean distinct = false;
|
|
|
protected String limit = StringPool.EMPTY;
|
|
|
+ protected String unionType = StringPool.EMPTY;
|
|
|
|
|
|
public static <R> Select<R> create(Class<R> cls) {
|
|
|
return new Select<>(new Sql<>(cls));
|