package com.bdqn.serviceImpl; import java.util.Hashtable; import java.util.List; import java.util.Map; import com.bdqn.dao.StudentDao; import com.bdqn.entity.ClassS; import com.bdqn.entity.Student; import com.bdqn.service.StudentService; public class StudentServiceImpl implements StudentService{ public List<Student> SelectAll() { // TODO Auto-generated method stub return new StudentDao().SelecttAll(); } public List<Student> SelectAllId(int id) { // TODO Auto-generated method stub return new StudentDao().SelectAllId(id); } public List<Student> SelectAllName(String name) { // TODO Auto-generated method stub return new StudentDao().SelectAllName(name); } public List<Student> SelectAllIdName(int id, String name) { // TODO Auto-generated method stub return new StudentDao().SelectAllIdName(id, name); } public List<Student> SelectAllIdNameClassId(int id, String name, int classId) { // TODO Auto-generated method stub return new StudentDao().SelectAllIdNameClassId(id, name, classId); } public List<Student> SelectAllStudent(Student stu) { // TODO Auto-generated method stub return new StudentDao().SelectAllStudent(stu); } public Map<Student, ClassS> SelectAllMapCname() { // TODO Auto-generated method stub return new StudentDao().SelectAllMapCname(); } public Hashtable<Student, ClassS> SelectAllHashtableCname() { // TODO Auto-generated method stub return new StudentDao().SelectAllHashtableCname(); } public List<Student> SelectLikeName(String name) { // TODO Auto-generated method stub return new StudentDao().SelectLikeName(name); } public Map<Student, ClassS> SelectLikeMapSname(String name) { // TODO Auto-generated method stub return new StudentDao().SelectLikeMapSname(name); } public Map<Student, ClassS> SelectLikeMapSname(Student stu) { // TODO Auto-generated method stub return new StudentDao().SelectLikeMapSname(stu); } public Map<Student, ClassS> SelectLikeMapCname(String name) { // TODO Auto-generated method stub return new StudentDao().SelectLikeMapCname(name); } }
最近下载更多