|
@@ -8,6 +8,7 @@ import com.ym.mec.biz.dal.entity.CourseScheduleTeacherSalary;
|
|
import com.ym.mec.biz.dal.entity.StudentAttendance;
|
|
import com.ym.mec.biz.dal.entity.StudentAttendance;
|
|
import com.ym.mec.biz.dal.entity.StudentCourseScheduleRecordDto;
|
|
import com.ym.mec.biz.dal.entity.StudentCourseScheduleRecordDto;
|
|
import com.ym.mec.biz.dal.enums.CourseStatusEnum;
|
|
import com.ym.mec.biz.dal.enums.CourseStatusEnum;
|
|
|
|
+import com.ym.mec.biz.dal.enums.GroupType;
|
|
import com.ym.mec.common.dal.BaseDAO;
|
|
import com.ym.mec.common.dal.BaseDAO;
|
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.apache.ibatis.annotations.Param;
|
|
@@ -61,15 +62,15 @@ public interface CourseScheduleDao extends BaseDAO<Long, CourseSchedule> {
|
|
int batchDeleteCourseSchedules(@Param("courseScheduleIds") List<Long> courseScheduleIds);
|
|
int batchDeleteCourseSchedules(@Param("courseScheduleIds") List<Long> courseScheduleIds);
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @param musicGroupId:乐团编号
|
|
|
|
+ * @param status: 状态
|
|
|
|
+ * @return java.util.List<java.lang.Integer>
|
|
* @describe 获取指定乐团下对应状态的课程编号列表
|
|
* @describe 获取指定乐团下对应状态的课程编号列表
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2019/11/16
|
|
* @date 2019/11/16
|
|
- * @param musicGroupId:乐团编号
|
|
|
|
- * @param status: 状态
|
|
|
|
- * @return java.util.List<java.lang.Integer>
|
|
|
|
*/
|
|
*/
|
|
List<CourseSchedule> findMusicGroupCourseSchedules(@Param("musicGroupId") String musicGroupId,
|
|
List<CourseSchedule> findMusicGroupCourseSchedules(@Param("musicGroupId") String musicGroupId,
|
|
- @Param("status") String status);
|
|
|
|
|
|
+ @Param("status") String status);
|
|
|
|
|
|
/**
|
|
/**
|
|
* @param teacherId: 教师编号
|
|
* @param teacherId: 教师编号
|
|
@@ -256,12 +257,13 @@ public interface CourseScheduleDao extends BaseDAO<Long, CourseSchedule> {
|
|
List<CourseSchedule> findCourseSchedulesByIds(@Param("ids") Long[] ids);
|
|
List<CourseSchedule> findCourseSchedulesByIds(@Param("ids") Long[] ids);
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 获取班级未开始的课程计划
|
|
|
|
|
|
+ * 获取乐团班级未开始的课程计划
|
|
*
|
|
*
|
|
- * @param classGroupTeacherMapperList
|
|
|
|
|
|
+ * @param classGroupIds
|
|
|
|
+ * @param groupType
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- List<CourseSchedule> findClassGroupNoStartCourseSchedules(@Param("classGroupTeacherMapperList") List<ClassGroupTeacherMapper> classGroupTeacherMapperList);
|
|
|
|
|
|
+ List<CourseSchedule> findClassGroupNoStartCourseSchedules(@Param("classGroupIds") List<Integer> classGroupIds, @Param("groupType") GroupType groupType);
|
|
|
|
|
|
/**
|
|
/**
|
|
* @Author: Joburgess
|
|
* @Author: Joburgess
|
|
@@ -271,11 +273,11 @@ public interface CourseScheduleDao extends BaseDAO<Long, CourseSchedule> {
|
|
List<StudentCourseScheduleRecordDto> findStudentCourseScheduleRecords(Map<String, Object> params);
|
|
List<StudentCourseScheduleRecordDto> findStudentCourseScheduleRecords(Map<String, Object> params);
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @param classGroupId: 班级编号
|
|
|
|
+ * @return com.ym.mec.biz.dal.entity.CourseSchedule
|
|
* @describe 获取班级的下一节课
|
|
* @describe 获取班级的下一节课
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2019/11/19
|
|
* @date 2019/11/19
|
|
- * @param classGroupId: 班级编号
|
|
|
|
- * @return com.ym.mec.biz.dal.entity.CourseSchedule
|
|
|
|
*/
|
|
*/
|
|
CourseSchedule getNextCourseSchedule(@Param("classGroupId") Integer classGroupId);
|
|
CourseSchedule getNextCourseSchedule(@Param("classGroupId") Integer classGroupId);
|
|
|
|
|
|
@@ -546,12 +548,12 @@ public interface CourseScheduleDao extends BaseDAO<Long, CourseSchedule> {
|
|
List<CourseSchedule> findByClassGroup(@Param("classGroupId") Integer classGroupId);
|
|
List<CourseSchedule> findByClassGroup(@Param("classGroupId") Integer classGroupId);
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @param classGroupId: 班级编号
|
|
|
|
+ * @param status: 状态
|
|
|
|
+ * @return java.util.List<com.ym.mec.biz.dal.entity.CourseSchedule>
|
|
* @describe 根据班级以及课程状态获取课程计划
|
|
* @describe 根据班级以及课程状态获取课程计划
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2019/11/16
|
|
* @date 2019/11/16
|
|
- * @param classGroupId: 班级编号
|
|
|
|
- * @param status: 状态
|
|
|
|
- * @return java.util.List<com.ym.mec.biz.dal.entity.CourseSchedule>
|
|
|
|
*/
|
|
*/
|
|
List<CourseSchedule> findByClassGroupAndStatus(@Param("classGroupId") Integer classGroupId,
|
|
List<CourseSchedule> findByClassGroupAndStatus(@Param("classGroupId") Integer classGroupId,
|
|
@Param("status") String status);
|
|
@Param("status") String status);
|
|
@@ -595,23 +597,25 @@ public interface CourseScheduleDao extends BaseDAO<Long, CourseSchedule> {
|
|
|
|
|
|
/**
|
|
/**
|
|
* 根据班级编号列表删除课程
|
|
* 根据班级编号列表删除课程
|
|
|
|
+ *
|
|
* @param classGroupIds 班级编号列表
|
|
* @param classGroupIds 班级编号列表
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
int deleteCourseSchedulesByClassGroupIds(@Param("classGroupIds") List<Integer> classGroupIds);
|
|
int deleteCourseSchedulesByClassGroupIds(@Param("classGroupIds") List<Integer> classGroupIds);
|
|
-
|
|
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 查询所有未签到的学生信息
|
|
* 查询所有未签到的学生信息
|
|
|
|
+ *
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
List<StudentAttendance> queryUnsignedStudentList();
|
|
List<StudentAttendance> queryUnsignedStudentList();
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @param classGroupId: 班级编号
|
|
|
|
+ * @return java.lang.Integer
|
|
* @describe 统计已上的课时数
|
|
* @describe 统计已上的课时数
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2019/11/19
|
|
* @date 2019/11/19
|
|
- * @param classGroupId: 班级编号
|
|
|
|
- * @return java.lang.Integer
|
|
|
|
*/
|
|
*/
|
|
Integer countCurrentTimes(Integer classGroupId);
|
|
Integer countCurrentTimes(Integer classGroupId);
|
|
}
|
|
}
|