mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-24 03:29:29 +08:00
课程分类删除
This commit is contained in:
@@ -183,6 +183,11 @@ public class CourseServiceImpl extends ServiceImpl<CourseMapper, Course> impleme
|
||||
course.setClassHour(classHour);
|
||||
updateById(course);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeCategoryIdRelate(Integer categoryId) {
|
||||
categoryCourseService.remove(categoryCourseService.query().getWrapper().eq("category_id", categoryId));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user