浏览代码

1、课程调整时排除自动补签记录
2、删除请假时班级学生状态更新代码
3、小课过期课程调整生成后加入学生缴费信息
4、vip课点名添加开课前时间限制
5、学生端可购买小课获取条件调整
6、学员请假课程调整限制
7、点名列表兼容sys_user无数据
8、兼容无教学点

Joburgess 5 年之前
父节点
当前提交
fb77015686

+ 1 - 0
mec-biz/src/main/resources/config/mybatis/CourseScheduleMapper.xml

@@ -471,6 +471,7 @@
             AND cg.group_type_ = #{type}
         </if>
         AND cs.class_date_ = DATE_FORMAT(#{date},'%Y-%m-%d')
+        ORDER BY CONCAT(cs.class_date_,' ',cs.start_class_time_)
         <include refid="global.limit"/>
     </select>
 

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/CourseScheduleStudentPaymentMapper.xml

@@ -283,7 +283,7 @@
 		FROM course_schedule_student_payment cssp
 			LEFT JOIN course_schedule cs ON cssp.course_schedule_id_=cs.id_
 		WHERE cssp.music_group_id_=#{groupId} AND cssp.group_type_='VIP'
-		AND CONCAT(cs.class_date_,' ',cs.start_class_time_) &gt; NOW()
+		AND cssp.settlement_time_ IS NULL
 	</select>
 
 	<delete id="deleteStudentCourseSchedule">