You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SDMS/src/com/itheima/service/StudentService.java

24 lines
692 B

package com.itheima.service;
import com.itheima.po.PageInfo;
import com.itheima.po.Student;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 用户Service层接口
*/
public interface StudentService {
//分页查询
public PageInfo<Student> findPageInfo(String s_name,Integer s_studentid,Integer s_classid,
String s_classname, Integer pageIndex, Integer pageSize);
public int deleteStudent(Integer s_id); //通过id删除学生信息
public int addStudent(Student student); //添加学生信息
public int updateStudent(Student student); //修改学生信息
public Student findStudentById(Integer s_id);
public List<Student> getAll();
}