📄 studentdao.java
字号:
package com.qrsx.course.dao;
import java.util.List;
import com.qrsx.course.model.Course;
import com.qrsx.course.model.Student;
import com.qrsx.course.model.Teacher;
import com.qrsx.course.model.Team;
import com.qrsx.course.util.PageModel;
public interface StudentDAO {
/**
* 添加学生
* @param
*/
public void addStudent(Student student) throws Exception;
/**
* 修改学生
* @param
*/
public void modifyStudent(Student student) throws Exception;
/**
* 删除学生
* @param
*/
public void deleteStudent(String[] studentIdList) throws Exception;
/**
* 根据Id查询学生
* @param
*/
public Student findStudentById(String id) throws Exception;
/**
* 查询全部学生
*/
public List<Student> findAllStudents() throws Exception;
/**
* 根据条件查询学生
*/
public PageModel listStudent(int pageNo, Student student) throws Exception;
/**
* 根据条件统计学生
*/
public PageModel countStudent(int pageNo, Team team, Course course, Teacher teacher) throws Exception;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -