|
|
|
@ -204,6 +204,15 @@ public class TeacherOpenCourseScheduleSessionService extends CoreBaseService<Tea
|
|
|
|
|
String msg = "";
|
|
|
|
|
TeacherOpenCourseScheduleSession teacherOpenCourseScheduleSession = teacherOpenCourseScheduleSessionQuery.pojo();
|
|
|
|
|
teacherOpenCourseScheduleSessionDao.updateTemplateById(teacherOpenCourseScheduleSession);
|
|
|
|
|
|
|
|
|
|
Long teacherOpenCourseScheduleSessionId = teacherOpenCourseScheduleSession.getTeacherOpenCourseScheduleSessionId();
|
|
|
|
|
Integer sessionStatus = teacherOpenCourseScheduleSession.getTeacherOpenCourseScheduleSessionStatus();
|
|
|
|
|
|
|
|
|
|
// 修改子表的状态,保险一点
|
|
|
|
|
if(ObjectUtil.isAllNotEmpty(teacherOpenCourseScheduleSessionId, sessionStatus)) {
|
|
|
|
|
teacherOpenCourseScheduleSessionSnapDao.updateStatusBySessionIds(teacherOpenCourseScheduleSessionId.toString(), sessionStatus);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return msg;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|