📄 findotherfunctionbyhql.java
字号:
package org.artemis.right.command;
import java.util.Map;
import org.artemis.right.dao.FunctionDao;
import com.gsta.eshore.framework.jcf.Command;
import com.gsta.eshore.framework.jcf.JCFException;
import com.gsta.eshore.framework.daoutil.HqlQuery;
public class FindOtherFunctionByHql extends Command
{
private FunctionDao dao;
public void setDao(FunctionDao dao) {
this.dao = dao;
}
public void execute(Map params, Map response) throws Exception
{
response.put("functions",dao.FindOtherFunctionByRoleId((HqlQuery) params.get("hqlQuery"),(String) params.get("roleId")));
}
public void fini() throws JCFException
{
}
public void init(String arg0) throws JCFException
{
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -