📄 t.java
字号:
package org.storm.xwguan.search;
import org.storm.xwguan.form.MyForm;
import org.storm.xwguan.interfaces.IFactory;
import org.storm.xwguan.interfaces.ISHql;
public class T {
/**
* @param args
* @throws Exception
*/
public static void main(String[] args) throws Exception {
IFactory fac = new HqlFactory();
ISHql hql = fac.produce();
hql.setReflectForm(new MyForm());
hql.setConfigFileLocation("description.xml");
hql.init();
System.out.println(hql.getSentenceHaveNoConditions());
System.out.println(hql.getSentenceHaveConditions("codetype1"));
System.out.println(hql.getSentenceHaveConditions("codetype2", "state"));
System.out.println(hql.getSentenceHaveConditions());
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -