xiejun
2024-09-04 ac3f3629a261770f573f27e5e23f7ec19d096c2a
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);
}