src/main/java/com/system/service/CourseService.java
(完整代码) 896Bpackage com.system.service;
import com.system.po.CourseCustom;
import java.util.List;
/**
* CourseService课程信息.
*/
public interface CourseService {
//根据id更新课程信息
void upadteById(Integer id, CourseCustom courseCustom) throws Exception;
//根据id删除课程信息
Boolean removeById(Integer id) throws Exception;
//获取分页查询课程信息
List<CourseCustom> findByPaging(Integer toPageNo) throws Exception;
//插入课程信息
Boolean save(CourseCustom couseCustom) throws Exception;
//获取课程总数
int getCountCouse() throws Exception;
//根据id查询
CourseCustom findById(Integer id) throws Exception;
//根据名字查询
List<CourseCustom> findByName(String name) throws Exception;
//根据教师id查找课程
List<CourseCustom> findByTeacherID(Integer id) throws Exception;
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。