src/main/java/com/system/service/TeacherService.java
(完整代码) 981Bpackage com.system.service;
import com.system.mapper.TeacherMapper;
import com.system.po.TeacherCustom;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;
/**
* Teacher老师Service层
*/
public interface TeacherService {
//根据id更新老师信息
void updateById(Integer id, TeacherCustom teacherCustom) throws Exception;
//根据id删除老师信息
void removeById(Integer id) throws Exception;
//获取分页查询老师信息
List<TeacherCustom> findByPaging(Integer toPageNo) throws Exception;
//保存老师信息
Boolean save(TeacherCustom teacherCustom) throws Exception;
//获取老师总数
int getCountTeacher() throws Exception;
//根据id查询
TeacherCustom findById(Integer id) throws Exception;
//根据名字查询
List<TeacherCustom> findByName(String name) throws Exception;
//获取全部教师
List<TeacherCustom> findAll() throws Exception;
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。