empcommand.java

来自「一个汽车售后服务站的典型的进销管理系统,B/S模式的」· Java 代码 · 共 27 行

JAVA
27
字号
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 + =
减小字号Ctrl + -
显示快捷键?