|
@@ -1,10 +1,7 @@
|
|
|
package com.yonge.cooleshow.teacher.task;
|
|
|
|
|
|
import com.yonge.cooleshow.biz.dal.entity.TeacherTotal;
|
|
|
-import com.yonge.cooleshow.biz.dal.service.CourseGroupService;
|
|
|
-import com.yonge.cooleshow.biz.dal.service.CourseScheduleService;
|
|
|
-import com.yonge.cooleshow.biz.dal.service.LiveRoomService;
|
|
|
-import com.yonge.cooleshow.biz.dal.service.TeacherTotalService;
|
|
|
+import com.yonge.cooleshow.biz.dal.service.*;
|
|
|
import com.yonge.cooleshow.common.controller.BaseController;
|
|
|
import com.yonge.cooleshow.common.entity.HttpResponseResult;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -33,6 +30,9 @@ public class TaskController extends BaseController {
|
|
|
@Autowired
|
|
|
private LiveRoomService liveRoomService;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private DivBackRecordService divBackRecordService;
|
|
|
+
|
|
|
|
|
|
/***
|
|
|
* 查询所有老师统计数据
|
|
@@ -89,4 +89,11 @@ public class TaskController extends BaseController {
|
|
|
scheduleService.teacherSalaryTask();
|
|
|
return HttpResponseResult.succeed();
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ @GetMapping("/divBack")
|
|
|
+ public HttpResponseResult<Object> divBack() {
|
|
|
+ divBackRecordService.divBack();
|
|
|
+ return HttpResponseResult.succeed();
|
|
|
+ }
|
|
|
}
|