/**
 * Copyright (c) 2015-2020, Michael Yang 杨福海 (fuhai999@gmail.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package io.jboot.db.model;


class SqlPart extends Column {

    private String sql;

    public SqlPart(String sql) {
        this.sql = sql;
    }

    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }

    @Override
    public boolean hasPara() {
        return false;
    }
}

@@ -718,16 +718,82 @@
 ing sql;
+%0A    private Object para;%0A    private boolean withoutLink = false;
 %0A%0A    pu
@@ -866,185 +866,960 @@
 ic S
-tring getSql() %7B%0A        return sql;%0A    %7D%0A%0A    public void setSql(String sql) %7B%0A        this.sql = sql;%0A    %7D%0A%0A    @Override%0A    public boolean hasPara() %7B%0A        return false
+qlPart(String sql, Object para) %7B%0A        this.sql = sql;%0A        this.para = para;%0A    %7D%0A%0A    public SqlPart(String sql, boolean withoutLink) %7B%0A        this.sql = sql;%0A        this.withoutLink = withoutLink;%0A    %7D%0A%0A    public SqlPart(String sql, Object para, boolean withoutLink) %7B%0A        this.sql = sql;%0A        this.para = para;%0A        this.withoutLink = withoutLink;%0A    %7D%0A%0A    public String getSql() %7B%0A        return sql;%0A    %7D%0A%0A    public void setSql(String sql) %7B%0A        this.sql = sql;%0A    %7D%0A%0A    public Object getPara() %7B%0A        return para;%0A    %7D%0A%0A    public void setPara(Object para) %7B%0A        this.para = para;%0A    %7D%0A%0A    public boolean isWithoutLink() %7B%0A        return withoutLink;%0A    %7D%0A%0A    public void setWithoutLink(boolean withoutLink) %7B%0A        this.withoutLink = withoutLink;%0A    %7D%0A%0A    @Override%0A    public boolean hasPara() %7B%0A        return para != null;%0A    %7D%0A%0A    @Override%0A    public Object getValue() %7B%0A        return para
 ;%0A  

enhance SqlPart...