田源
2024-12-12 c94eaa728f9d68a872d904823c964e5d5810f202
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);
}