|
@@ -2,9 +2,12 @@ package com.ym.mec.web.controller;
|
|
|
|
|
|
import com.ym.mec.biz.dal.page.CourseScheduleTeacherSalaryQueryInfo;
|
|
import com.ym.mec.biz.dal.page.CourseScheduleTeacherSalaryQueryInfo;
|
|
import com.ym.mec.biz.service.CourseScheduleTeacherSalaryService;
|
|
import com.ym.mec.biz.service.CourseScheduleTeacherSalaryService;
|
|
|
|
+import com.ym.mec.biz.service.VipGroupService;
|
|
import com.ym.mec.common.controller.BaseController;
|
|
import com.ym.mec.common.controller.BaseController;
|
|
|
|
+
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
+
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
@@ -18,6 +21,9 @@ public class CourseScheduleTeacherSalaryController extends BaseController {
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
private CourseScheduleTeacherSalaryService courseScheduleTeacherSalaryService;
|
|
private CourseScheduleTeacherSalaryService courseScheduleTeacherSalaryService;
|
|
|
|
+
|
|
|
|
+ @Autowired
|
|
|
|
+ private VipGroupService vipGroupService;
|
|
|
|
|
|
@ApiOperation(value = "分页查询教师薪酬列表")
|
|
@ApiOperation(value = "分页查询教师薪酬列表")
|
|
@GetMapping("/queryPage")
|
|
@GetMapping("/queryPage")
|
|
@@ -25,4 +31,10 @@ public class CourseScheduleTeacherSalaryController extends BaseController {
|
|
public Object queryPage(CourseScheduleTeacherSalaryQueryInfo queryInfo) {
|
|
public Object queryPage(CourseScheduleTeacherSalaryQueryInfo queryInfo) {
|
|
return succeed(courseScheduleTeacherSalaryService.querySalaries(queryInfo));
|
|
return succeed(courseScheduleTeacherSalaryService.querySalaries(queryInfo));
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ @GetMapping("/updateHistoryTeacherSalaryOfOnline")
|
|
|
|
+ public Object updateHistoryTeacherSalaryOfOnline() {
|
|
|
|
+ vipGroupService.updateHistoryTeacherSalaryOfOnline();
|
|
|
|
+ return succeed();
|
|
|
|
+ }
|
|
}
|
|
}
|