branch_shen
shen 3 months ago
parent 74a8a886b3
commit 30e89a98a7

@ -16,7 +16,7 @@ public interface StudentService {
* @return
* @throws Exception
*/
List<Student> findAll(int page, int size) throws Exception;
List<Student> findAll(int page, int size) throws Exception; // 定义分页查询所有学生信息的方法
/**
*
@ -24,7 +24,7 @@ public interface StudentService {
* @return
* @throws Exception
*/
Student findBySno(String sno) throws Exception;
Student findBySno(String sno) throws Exception; // 定义根据学号查询学生信息的方法
/**
*
@ -34,7 +34,7 @@ public interface StudentService {
* @return
* @throws Exception
*/
List<Student> search(int page, int size, String keyword) throws Exception;
List<Student> search(int page, int size, String keyword) throws Exception; // 定义分页搜索学生信息的方法
/**
*
@ -42,28 +42,28 @@ public interface StudentService {
* @return truefalse
* @throws Exception
*/
boolean add(Student student) throws Exception;
boolean add(Student student) throws Exception; // 定义添加新学生信息的方法
/**
*
* @param sno
* @throws Exception
*/
void delete(String sno) throws Exception;
void delete(String sno) throws Exception; // 定义根据学号删除学生信息的方法
/**
*
* @param student
* @throws Exception
*/
void update(Student student) throws Exception;
void update(Student student) throws Exception; // 定义更新学生信息的方法
/**
*
* @return InputStream
* @throws Exception
*/
InputStream getInputStream() throws Exception;
InputStream getInputStream() throws Exception; // 定义获取所有学生信息输入流的方法
/**
* 宿ID
@ -72,7 +72,7 @@ public interface StudentService {
* @return
* @throws Exception
*/
List<Student> findByDormId(String dorm_id, Integer status) throws Exception;
List<Student> findByDormId(String dorm_id, Integer status) throws Exception; // 定义根据宿舍ID和状态查询学生信息的方法
/**
*
@ -82,7 +82,7 @@ public interface StudentService {
* @return
* @throws Exception
*/
List<Student> findByTeacher(int page, int size, String teacher) throws Exception;
List<Student> findByTeacher(int page, int size, String teacher) throws Exception; // 定义根据教师姓名分页查询学生信息的方法
/**
*
@ -93,5 +93,5 @@ public interface StudentService {
* @return
* @throws Exception
*/
List<Student> searchStudent(int page, int size, String teacher, String keyword) throws Exception;
List<Student> searchStudent(int page, int size, String teacher, String keyword) throws Exception; // 定义根据教师姓名和搜索关键字分页查询学生信息的方法
}

Loading…
Cancel
Save