12345678910111213141516171819 |
- package com.example.service;
- import com.example.dto.TeacherDTO;
- import com.example.entity.Teacher;
- import com.example.vo.TeacherVO;
- public interface TeacherService {
- /**
- * 新增老师基本信息
- * @param teacherDTO
- */
- void saveTeacher(TeacherDTO teacherDTO);
- void updateTeacher(TeacherDTO teacherDTO,Long id);
- TeacherVO getById(Long id);
- void deleteById(Long id);
- }
|