派生自 projectDept/qhighschool

EricsHu
2022-12-05 068fc7f2e81178e55fa191a13709af64b1a163f6
src/main/java/com/qxueyou/scc/courseware/service/impl/CourseService.java
@@ -20,9 +20,9 @@
import com.qxueyou.scc.teach.subject.model.SubjectChapter;
/**
 * 项目服务类
 * 项目服务类
 * 
 * @author 岩龙
 * @author 岩龙
 * @createtime 2017-10-31
 */
@Service
@@ -216,10 +216,10 @@
   public Result deleteChapter(String chapterId) {
      this.bulkUpdate("update SchChapter set deleteFlag is true where chapterId=?", new Object[] { chapterId });
      return new Result(true, "操作成功!");
      return new Result(true, "操作成功!");
   }
   // 显示有过班级的项目名称
   // 显示有过班级的项目名称
   @Override
   public List<Map<String, Object>> queryCourseName() {
      String hql = "select collegeCourseId as id , name as name  from OrgCollegeCourse where  deleteFlag is false  order by createTime asc";
@@ -227,7 +227,7 @@
      return findListWithMapByHql(hql, null);
   }
   // PC端首页显示有过班级的项目名称
   // PC端首页显示有过班级的项目名称
   @Override
   public List<Map<String, Object>> findclassNameByCourse(String mode) {
      String hql = "select  distinct  c.collegeCourseId as id , c.name as name  from OrgCollegeCourse c ,ClsClass o where  o.deleteFlag is false and c.deleteFlag is false and o.collegeCourseId =c.collegeCourseId ";
@@ -245,7 +245,7 @@
   }
   /**
    * 删除科目下的项目
    * 删除科目下的项目
    * 
    * @param categoryId
    * @return
@@ -264,7 +264,7 @@
   }
   /**
    * 删除项目下的课程
    * 删除项目下的课程
    * 
    * @param courseId
    * @return
@@ -283,7 +283,7 @@
   }
   /**
    * 删除节
    * 删除节
    * 
    * @param chapterId
    * @return
@@ -304,7 +304,7 @@
   }
   /**
    * 删除树节点
    * 删除树节点
    */
   public Result deleteNode(String id, String type) {
      if (type.equals("category")) {