|
@@ -51,22 +51,28 @@ public class StudentStatisticsServiceImpl extends BaseServiceImpl<Integer, Stude
|
|
|
}
|
|
|
//更新未排课总数
|
|
|
studentStatisticsDao.updateNoCourseNum();
|
|
|
+ }else if (num == 2){
|
|
|
//更新未开始价值总和
|
|
|
studentStatisticsDao.updateNotStartCourseFee();
|
|
|
+ }else if (num == 3){
|
|
|
//更新未排课价值
|
|
|
studentStatisticsDao.updateNoCourseFee();
|
|
|
- }else if (num == 2){
|
|
|
+ }else if (num == 4){
|
|
|
//更新第一次课的时间\最近一次课时间
|
|
|
studentStatisticsDao.updateFirstAndLastCourseTime();
|
|
|
+ }else if (num == 5){
|
|
|
//更新进行中课程组数量
|
|
|
studentStatisticsDao.updateNormalGroupNum();
|
|
|
+ }else if (num == 6){
|
|
|
//更新总课时数、已完成、剩余课时数、最近30天课耗、最近1年课耗
|
|
|
studentStatisticsDao.updateCourseNum();
|
|
|
- } else if (num == 3) {
|
|
|
+ }else if (num == 7){
|
|
|
//更新声部班老师
|
|
|
studentBasicInfoDao.updateSubjectTeacher();
|
|
|
+ }else if (num == 8){
|
|
|
//更新乐团主管、指导老师
|
|
|
studentStatisticsDao.updateTeacherAndEdu();
|
|
|
+ } else if (num == 9) {
|
|
|
//更新第一次付费时间
|
|
|
studentStatisticsDao.updateFirstOrderTime();
|
|
|
num = 0;
|