Examination_System-master/src/main/java/com/system/service/StudentService.java

(完整代码) 966B

package com.system.service;

import com.system.po.StudentCustom;

import java.util.List;

/**
 * Student学生Service层
 */
public interface StudentService {

    //根据id个更新学生信息
    void updataById(Integer id, StudentCustom studentCustom) throws Exception;

    //根据id删除学生信息
    void removeById(Integer id) throws Exception;

    //获取分页查询学生信息
    List<StudentCustom> findByPaging(Integer toPageNo) throws Exception;

    //保存学生信息
    Boolean save(StudentCustom studentCustoms) throws Exception;

    //获取学生总数
    int getCountStudent() throws Exception;

    //根据id获取学生信息
    StudentCustom findById(Integer id) throws Exception;

    //根据名字模糊查询
    List<StudentCustom> findByName(String name) throws Exception;

    // 一对多查询,查询该学生的选课信息
    StudentCustom findStudentAndSelectCourseListByName(String name) throws Exception;

}

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。