|
@@ -248,11 +248,11 @@ public class XzService {
|
248
|
248
|
//保存完课程表之后修改当前步骤
|
249
|
249
|
xzMapper.updateCurstepByXzid(3,xz.getXzid());
|
250
|
250
|
|
251
|
|
- return new ResultVo(0, "保存行政直播课程表成功");
|
|
251
|
+ return new ResultVo(0, "保存成功");
|
252
|
252
|
}
|
253
|
253
|
} catch (Exception e) {
|
254
|
254
|
log.error("保存行政直播课程表出错:" + e.getMessage());
|
255
|
|
- return new ResultVo(1,"保存行政直播课程表失败");
|
|
255
|
+ return new ResultVo(1,"保存失败");
|
256
|
256
|
}
|
257
|
257
|
|
258
|
258
|
|
|
@@ -521,11 +521,11 @@ public class XzService {
|
521
|
521
|
}
|
522
|
522
|
}
|
523
|
523
|
}
|
524
|
|
- return new ResultVo(0, "成功删除课程表单个课程");
|
|
524
|
+ return new ResultVo(0, "删除成功");
|
525
|
525
|
}
|
526
|
526
|
} catch (Exception e) {
|
527
|
527
|
log.error("删除课程表单个课程出错:" + e.getMessage());
|
528
|
|
- return new ResultVo(1, "删除课程表单个课程失败");
|
|
528
|
+ return new ResultVo(1, "删除失败");
|
529
|
529
|
}
|
530
|
530
|
}
|
531
|
531
|
|
|
@@ -596,10 +596,10 @@ public class XzService {
|
596
|
596
|
|
597
|
597
|
}
|
598
|
598
|
}
|
599
|
|
- return new ResultVo(0, "成功保存课程表单个课程",courseid);
|
|
599
|
+ return new ResultVo(0, "保存成功",courseid);
|
600
|
600
|
} catch (Exception e) {
|
601
|
601
|
log.error("保存课程表单个课程出错:" + e.getMessage());
|
602
|
|
- return new ResultVo(1, "保存课程表单个课程失败");
|
|
602
|
+ return new ResultVo(1, "保存失败");
|
603
|
603
|
}
|
604
|
604
|
}
|
605
|
605
|
|
|
@@ -644,6 +644,14 @@ public class XzService {
|
644
|
644
|
courseid = ((XzService) applicationContext.getBean("xzService")).saveCourseAll(lst, course);
|
645
|
645
|
} else {
|
646
|
646
|
courseid = courseVo.getCourseid();
|
|
647
|
+ //保存直播关联班级
|
|
648
|
+ LCourseClass courseClass = new LCourseClass();
|
|
649
|
+ courseClass.setCourseid(courseid);
|
|
650
|
+ courseClass.setClassid(kjTeaVo.getClassid());
|
|
651
|
+ courseClass.setCreateid(kjTeaVo.getTeacherid());
|
|
652
|
+ courseClass.setCreatetime(N_Utils.getSecondTimestamp());
|
|
653
|
+ courseClassMapper.insertUseGeneratedKeys(courseClass);
|
|
654
|
+
|
647
|
655
|
//说明该教师当前有其他直播课,则把班级加入课程,完成直播课学生数量
|
648
|
656
|
TClassStudent cs = new TClassStudent();
|
649
|
657
|
cs.setSchoolid(kjTeaVo.getSchoolid());
|