📄 empcommand.java
字号:
package com.xfaccp.command;
import java.util.ArrayList;
import java.util.List;
import com.xfaccp.adapter.CommandAdpater;
public class EmpCommand extends CommandAdpater {
public List checkLogin(String useName,String pwd)throws Exception
{
List list=new ArrayList();
list=dao.checkLogin(useName, pwd);
return list;
}
public List findBySqlto(String hsql,Object [] obj)throws Exception
{
List list=dao.findBySqlto(hsql,obj);
return list;
}
public List findById(Integer id)throws Exception{
List list=dao.findById(id);
return list;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -