派生自 projectDept/qhighschool

EricsHu
2023-11-23 bef4f6d51bff03c0512a75f43e79699b7296f1fa
src/main/java/com/qxueyou/scc/school/service/ICourseWareService.java
@@ -9,7 +9,7 @@
import com.qxueyou.scc.base.model.Result;
/**
 * 课件管理
 * 课件管理
 * 
 * @author lihanqi
 *
@@ -17,7 +17,7 @@
public interface ICourseWareService {
   
   /**
    * 新增章节
    * 新增章节
    * 
    * @param name
    * @param parentChapterId
@@ -26,7 +26,7 @@
   Result addOrUpdateChapter(String chapterId, String subjectId, String name, String parentChapterId);
   
   /**
    * 删除章节
    * 删除章节
    * 
    * @param chapterId
    * @return
@@ -34,31 +34,31 @@
   Result deleteChapter(String[] chapterIds);
   
   /**
    * 拷贝课件
    * 拷贝课件
    * 
    * @param type 课件类型
    * @param id 主键
    * @param subjectId 课程
    * @param collegeCourseId 科目
    * @param chapterId 章节
    * @param type 课件类型
    * @param id 主键
    * @param subjectId 课程
    * @param collegeCourseId 科目
    * @param chapterId 章节
    * @return
    */
   Result doCopyCourseware(String type, String id, String subjectId, String collegeCourseId, String chapterId);
   
   /**
    * 移动课件
    * 移动课件
    * 
    * @param type 课件类型
    * @param id 主键
    * @param subjectId 课程
    * @param collegeCourseId 科目
    * @param chapterId 章节
    * @param type 课件类型
    * @param id 主键
    * @param subjectId 课程
    * @param collegeCourseId 科目
    * @param chapterId 章节
    * @return
    */
   Result doMoveCourseware(String type, String id, String subjectId, String collegeCourseId, String chapterId);
   
   /**
    * 删除课件
    * 删除课件
    * 
    * @param types
    * @param ids
@@ -70,7 +70,7 @@
   Result deleteCourseware(String[] types, String[] ids, Integer delAll, String orgIds[], String classIds[]);
   
   /**
    * 下发课件
    * 下发课件
    * 
    * @param types
    * @param ids
@@ -81,7 +81,7 @@
   Result doAppointCourseware(String[] types, String[] ids, String orgIds[], String classIds[], String collegeCourseId);
   
   /**
    * 查询已下发的班级
    * 查询已下发的班级
    * 
    * @param types
    * @param ids
@@ -90,7 +90,7 @@
   Result findAlready(String[] types, String[] ids);
   
   /**
    * 课件树排序
    * 课件树排序
    * 
    * @param ids
    * @param type
@@ -100,7 +100,7 @@
   Result doOrder(String[] ids, String type, String parentId);
   
   /**
    * 删除课件
    * 删除课件
    * 
    * @param types
    * @param ids
@@ -109,19 +109,19 @@
   public Result deleteClassCourseware(String[] types, String[] ids);
   
   /**
    * 拷贝课件
    * 拷贝课件
    * 
    * @param type 课件类型
    * @param id 主键
    * @param subjectId 课程
    * @param collegeCourseId 科目
    * @param chapterId 章节
    * @param type 课件类型
    * @param id 主键
    * @param subjectId 课程
    * @param collegeCourseId 科目
    * @param chapterId 章节
    * @return
    */
   public Result doCopyClassCourseware(String type, String id, String subjectId, String chapterId);
   
   /**
    * 发布和停用
    * 发布和停用
    * 
    * @param types
    * @param ids
@@ -131,17 +131,17 @@
   public Result updateStatus(String[] types, String[] ids, int status);
   
   /**
    * 删除课程和章节级联删除课件
    * 删除课程和章节级联删除课件
    *  
    * @param subjectId 机构课程id
    * @param chapterId 章节id
    * @param classSubjectId 班级课程id
    * @param subjectId 机构课程id
    * @param chapterId 章节id
    * @param classSubjectId 班级课程id
    * @return
    */
   public Result deleteCourseWare(String subjectId, String chapterId);
   
   /**
    * 同步更新课件课程名称
    * 同步更新课件课程名称
    * 
    * @param subjectId
    * @param subjectName
@@ -150,7 +150,7 @@
   public Result updateCourseWare(String subjectId, String subjectName);
   
   /**
    * 下发课件到子机构
    * 下发课件到子机构
    * 
    * @param id
    * @param sourceOrgId
@@ -161,7 +161,7 @@
   public Result insertOrgCourseware(String id, String sourceOrgId, String targetOrgId, String collegeCourseId);
   
   /**
    * 撤回
    * 撤回
    * 
    * @param id
    * @param orgId
@@ -170,7 +170,7 @@
   public Result deleteOrgCourseware(String id, String orgId);
   
   /**
    * 设置学分
    * 设置学分
    * @param id
    * @param score
    * @return
@@ -178,7 +178,7 @@
   public Result updateCoursewareScore(String id ,int score) ;
   /**
    * 查找课件
    * 查找课件
    * @param id 
    * @param type
    * @return
@@ -186,7 +186,7 @@
   public List<Map<String, Object>> queryCourseware(String id, String type);
   
   /**
    * 更新课件的学分值
    * 更新课件的学分值
    * @param coursewareId
    * @return
    */
@@ -194,7 +194,7 @@
   
   
   /**
    * 获取排序
    * 获取排序
    * 
    * @param isOrg
    * @param subjectId