|
@@ -6,7 +6,6 @@ import com.ym.mec.biz.dal.entity.CourseSchedule.CourseScheduleType;
|
|
|
import com.ym.mec.biz.dal.enums.CourseStatusEnum;
|
|
|
import com.ym.mec.biz.dal.enums.GroupType;
|
|
|
import com.ym.mec.common.dal.BaseDAO;
|
|
|
-
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
|
|
@@ -141,18 +140,6 @@ public interface CourseScheduleDao extends BaseDAO<Long, CourseSchedule> {
|
|
|
int deleteMusicGroupCourseSchedulesWithStudent(@Param("courseScheduleIds") List<Long> courseScheduleIds,
|
|
|
@Param("userId") Integer userId);
|
|
|
|
|
|
- int deleteMusicGroupCourseSchedulesWithStudents(@Param("courseScheduleIds") List<Long> courseScheduleIds,
|
|
|
- @Param("userIds") List<Integer> userIds);
|
|
|
-
|
|
|
- /**
|
|
|
- * @describe 获取班级上未开始的课程
|
|
|
- * @author Joburgess
|
|
|
- * @date 2020.11.05
|
|
|
- * @param classGroupId:
|
|
|
- * @return java.util.List<com.ym.mec.biz.dal.entity.CourseSchedule>
|
|
|
- */
|
|
|
- List<CourseSchedule> getClassGroupNotStartCourse(@Param("classGroupId") Long classGroupId);
|
|
|
-
|
|
|
/**
|
|
|
* @param teacherId: 教师编号
|
|
|
* @param classDate: 上课日期
|
|
@@ -1589,14 +1576,6 @@ public interface CourseScheduleDao extends BaseDAO<Long, CourseSchedule> {
|
|
|
*/
|
|
|
List<Map<Integer, Integer>> queryHasReatClass(@Param("classGroupIds") Set<String> classGroupIds, @Param("teacherId") String teacherId);
|
|
|
|
|
|
-
|
|
|
- /**
|
|
|
- * 查询班级未上的课程类型对应的时长
|
|
|
- * @param classGroupIdList
|
|
|
- * @return
|
|
|
- */
|
|
|
- List<RemainCourseTypeDurationDto> queryRemainCourseTypeDuration(String classGroupIdList);
|
|
|
-
|
|
|
/**
|
|
|
* @describe 获取检测课程冲突需要的数据
|
|
|
* @author qnc99
|
|
@@ -1621,4 +1600,6 @@ public interface CourseScheduleDao extends BaseDAO<Long, CourseSchedule> {
|
|
|
* @return
|
|
|
*/
|
|
|
List<Map<String, Integer>> querySubCourseNumMap(@Param("classGroupId") Integer classGroupId);
|
|
|
+
|
|
|
+ CourseSchedule getLock (long courseId);
|
|
|
}
|