| 
					
				 | 
			
			
				@@ -26,11 +26,11 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     int batchInsert(List<CourseScheduleStudentPayment> courseScheduleStudentPayments); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @param courseScheduleStudentPayments: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @return int 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @describe 批量更新 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @author Joburgess 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @date 2020/1/10 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @param courseScheduleStudentPayments: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @return int 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     int batchUpdate(@Param("courseScheduleStudentPayments") List<CourseScheduleStudentPayment> courseScheduleStudentPayments); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -117,15 +117,15 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                                               @Param("userId") Integer userId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @describe 统计团体下为开始课程学生数量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @author Joburgess 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @date 2020.09.27 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param groupId: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param groupType: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return int 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @describe 统计团体下为开始课程学生数量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @author Joburgess 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @date 2020.09.27 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @describe 统计团体下为开始课程学生数量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @author Joburgess 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @date 2020.09.27 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     int countNotStartCourseStudentNumWithGroup(@Param("groupId") String groupId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                @Param("groupType") GroupType groupType); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -145,6 +145,7 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 根据乐团编号删除记录 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param musicGroupId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -152,6 +153,7 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 根据乐团编号,和groupTYpe获取学员剩余课程数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param musicGroupIds 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param userId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param groupType 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -172,21 +174,24 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 根据乐团,vip状态获取编号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     Set<Integer> queryMusicStudentPer(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 根据乐团,vip状态获取编号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     Set<Integer> queryVipStudentPer(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @param courseIds: 统计课程上的学生人数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @return java.util.List<java.util.Map < java.lang.Integer, java.lang.Integer>> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @describe 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @author Joburgess 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @date 2020/1/8 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @param courseIds: 统计课程上的学生人数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @return java.util.List<java.util.Map<java.lang.Integer,java.lang.Integer>> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     List<Map<Integer, Integer>> countCourseStudentNum(@Param("courseIds") List<Long> courseIds); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -211,11 +216,11 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     List<CourseScheduleStudentPayment> findByCourseSchedule(@Param("courseScheduleId") Long courseScheduleId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @param mainMergeCourseId: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @return java.util.List<com.ym.mec.biz.dal.entity.CourseScheduleStudentPayment> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @describe 获取合并课程的学员缴费记录 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @author Joburgess 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @date 2021/1/21 0021 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @param mainMergeCourseId: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @return java.util.List<com.ym.mec.biz.dal.entity.CourseScheduleStudentPayment> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     List<CourseScheduleStudentPayment> findByMainMergedCourse(@Param("mainMergeCourseId") Long mainMergeCourseId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -230,17 +235,18 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 获取课程学员数量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param courseScheduleId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     Integer countStudentNum(Integer courseScheduleId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @param courseScheduleId: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @return int 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @describe 统计课程学员数量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @author Joburgess 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @date 2021/2/9 0009 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @param courseScheduleId: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @return int 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     int countCourseOnlyStudentNum(@Param("courseScheduleId") Long courseScheduleId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -257,6 +263,7 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 获取当前课程的学员列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param courseScheduleId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -264,17 +271,18 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 获取课程的学员编号列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param courseScheduleIds 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     List<Map<Integer, String>> getStudentIdMap(@Param("courseScheduleIds") List<Long> courseScheduleIds); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @param monday: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @return java.util.List<java.lang.Integer> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @describe 获取在指定时间之后不存在网管课的学员编号列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @author Joburgess 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @date 2020/4/10 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @param monday: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @return java.util.List<java.lang.Integer> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     List<Practice4ExercisesSituationDto> findNoPracticeStudentIdsOnWeek(@Param("monday") String monday, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                                         @Param("sunday") String sunday); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -283,6 +291,7 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 从指定时间开始查询学的线上可数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     List<StudentCourseTimesDto> queryStudentNotStartCourseTimesOfOnline(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -300,6 +309,7 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 获取学员指定课程类型的剩余课时数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param studentId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param courseScheduleType 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -309,6 +319,7 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 批量操作节拍器状态 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param courseScheduleId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param userId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -316,6 +327,7 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 获取用户的节拍器信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param userIds 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param courseScheduleId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -324,6 +336,7 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 获取用户的曲目下载信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param userIds 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param courseScheduleId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -332,6 +345,7 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 获取单个用户的midi 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param courseScheduleId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param userId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -340,6 +354,7 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 获取单个用户的examDownloadJson 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param courseScheduleId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param userId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -347,18 +362,19 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     String getExamJsonByCourseIdAndUserId(@Param("courseScheduleId") Long courseScheduleId, @Param("userId") Integer userId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @param groupType: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @param groupIds: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @return java.util.List<java.util.Map < java.lang.String, java.math.BigDecimal>> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @describe 统计课程组下的课程单价 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @author Joburgess 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @date 2020.06.11 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @param groupType: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @param groupIds: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @return java.util.List<java.util.Map<java.lang.String,java.math.BigDecimal>> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     List<Map<String, BigDecimal>> findGroupCoursesUnitPrice(@Param("groupType") GroupType groupType, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                             @Param("groupIds") List<String> groupIds); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 获取未进入教室的学员列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param roomId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param courseScheduleId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -382,11 +398,11 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @param StudentIds: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @return java.util.List<java.util.Map < java.lang.Integer, java.util.Date>> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @describe 获取指定学员的最后一节课时间 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @author Joburgess 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @date 2020/11/17 0017 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @param StudentIds: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @return java.util.List<java.util.Map<java.lang.Integer,java.util.Date>> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     List<Map<Integer, Date>> findStudentLastCourseSchedule(@Param("studentIds") List<Integer> StudentIds); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -396,27 +412,28 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 修改学员曲目下载信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @author zouxuan 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param roomId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @author zouxuan 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     int adjustExamSong(@Param("roomId") Long roomId, @Param("userId") Integer userId, @Param("examSongJson") String examSongJson); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @describe 统计学员通过双十一活动排课的数量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @author qnc99 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @date 2020/11/25 0025 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param userIds: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param activityIds: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return java.util.List<com.ym.mec.biz.dal.dto.StudentVipDouble11Dto> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @describe 统计学员通过双十一活动排课的数量 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @author qnc99 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @date 2020/11/25 0025 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     List<StudentVipDouble11Dto> countStudentDouble11CourseTime(@Param("userIds") List<Integer> userIds, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                                @Param("specialActivityIds") List<Integer> specialActivityIds); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @return java.util.List<com.ym.mec.biz.dal.entity.CourseScheduleStudentPaymentDto> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @describe 获取需要更新课营收的课程 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @author qnc99 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @date 2020/12/2 0002 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @return java.util.List<com.ym.mec.biz.dal.entity.CourseScheduleStudentPaymentDto> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     List<CourseScheduleStudentPaymentDto> findNeedUpdateActualPriceStudentCourses(@Param("groupIds") List<String> groupIds, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                                                   @Param("userIds") List<Integer> userIds, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -424,62 +441,75 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 根据课程编号和,学员编号获取列表信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @author zouxuan 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param courseIds 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param studentId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @author zouxuan 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     List<CourseScheduleStudentPayment> queryCourseByIdsAndStudentId(@Param("courseIds") List<Long> courseIds, @Param("studentId") Integer studentId, @Param("courseType") String courseType); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 获取班级学员关联的编号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @zouxuan 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param classGroupIds 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param studentIds 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @zouxuan 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     List<Long> queryStudentNotStartByClassIdsAndStudentIds(@Param("classGroupIds") List<Integer> classGroupIds, @Param("studentIds") List<Integer> studentIds); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 获取指定列表中学员的费用列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @author zouxuan 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param studentPaymentIds 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param studentId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @author zouxuan 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     List<CourseScheduleStudentPayment> queryByIdsAndStudentId(@Param("studentPaymentIds") List<Long> studentPaymentIds, @Param("studentId") Integer studentId, @Param("courseType") String courseType); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @describe 统计课程组已经开始的课程的应缴费用 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @author qnc99 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @date 2020/12/8 0008 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param groupId: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param groupType: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return java.math.BigDecimal 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @describe 统计课程组已经开始的课程的应缴费用 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @author qnc99 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @date 2020/12/8 0008 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     BigDecimal countFinishCoursePriceWithMusicGroup(@Param("groupId") String groupId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                     @Param("groupType") GroupType groupType, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                     @Param("userId") Integer userId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @describe 获取学生指定日期之前指定类型的最后一节课 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @author Joburgess 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * @date 2020/12/25 0025 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param studentId: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param monday: 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return com.ym.mec.biz.dal.entity.CourseSchedule 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @describe 获取学生指定日期之前指定类型的最后一节课 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @author Joburgess 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @date 2020/12/25 0025 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     CourseSchedule getStudentHistoryLastCourse(@Param("studentId") Integer studentId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                @Param("monday") String monday, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                                @Param("groupId") String groupId, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                               @Param("courseType")CourseSchedule.CourseScheduleType courseType); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                               @Param("courseType") CourseSchedule.CourseScheduleType courseType); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 获取学员对应课程类型剩余课程价值 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param studentId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param classGroupId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param courseType 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     BigDecimal querySubCoursePriceMap(@Param("studentId") Integer studentId, @Param("classGroupId") Integer classGroupId, @Param("courseType") String courseType); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 获取课程的人数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @param courseIds 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @return 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    List<CourseSchedule> getCourseScheduleStudentNum(@Param("courseIds") List<Long> courseIds); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |