田源
2024-11-04 e9d176629253ceef0092ba19d87df76106c8b2ae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.vci.common.qt.interfaces;
 
import com.vci.common.qt.object.QueryTemplate;
 
public interface IParserFactory {
    /**
     * 根据查询模板创建查询SQL
     * @param qt
     * @param addGrandRightFlag
     * @return
     */
    public String parseToSql(QueryTemplate qt, boolean addGrandRightFlag);
    
    /**
     * 根据查询模板创建子查询模板,不能带ORDER BY
     * @param qt
     * @param addGrandRightFlag
     * @return
     */
    public String parseToSubSql(QueryTemplate qt, boolean addGrandRightFlag);
}