|
@@ -185,7 +185,7 @@ public class CourseScheduleController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "课酬调整")
|
|
@ApiOperation(value = "课酬调整")
|
|
@PostMapping("/updateTeacherCoursesSalary")
|
|
@PostMapping("/updateTeacherCoursesSalary")
|
|
- @PreAuthorize("@pcs.hasPermissions('course/updateTeacherCoursesSalary')")
|
|
|
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('courseSchedule/updateTeacherCoursesSalary')")
|
|
public Object updateTeacherCoursesSalary(Long courseScheduleId, Integer teacherId, BigDecimal salary, BigDecimal subsidy, String scope) {
|
|
public Object updateTeacherCoursesSalary(Long courseScheduleId, Integer teacherId, BigDecimal salary, BigDecimal subsidy, String scope) {
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
SysUser sysUser = sysUserFeignService.queryUserInfo();
|
|
if (sysUser == null || sysUser.getId() == null) {
|
|
if (sysUser == null || sysUser.getId() == null) {
|
|
@@ -197,21 +197,21 @@ public class CourseScheduleController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "乐团详情--课酬调整--课程教师列表")
|
|
@ApiOperation(value = "乐团详情--课酬调整--课程教师列表")
|
|
@GetMapping("/queryTeacherSalary")
|
|
@GetMapping("/queryTeacherSalary")
|
|
- @PreAuthorize("@pcs.hasPermissions('course/queryTeacherSalary')")
|
|
|
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('courseSchedule/queryTeacherSalary')")
|
|
public Object queryTeacherSalary(Integer courseScheduleId) {
|
|
public Object queryTeacherSalary(Integer courseScheduleId) {
|
|
return succeed(musicGroupService.queryTeacherSalary(courseScheduleId));
|
|
return succeed(musicGroupService.queryTeacherSalary(courseScheduleId));
|
|
}
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "根据班级获取课程计划")
|
|
@ApiOperation(value = "根据班级获取课程计划")
|
|
@GetMapping("/findCourseScheduleByClassGroup")
|
|
@GetMapping("/findCourseScheduleByClassGroup")
|
|
- @PreAuthorize("@pcs.hasPermissions('course/findCourseScheduleByClassGroup')")
|
|
|
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('courseSchedule/findCourseScheduleByClassGroup')")
|
|
public Object findCourseScheduleByClassGroup(Integer classGroupId){
|
|
public Object findCourseScheduleByClassGroup(Integer classGroupId){
|
|
return succeed(scheduleService.findCourseScheduleByClassGroup(classGroupId));
|
|
return succeed(scheduleService.findCourseScheduleByClassGroup(classGroupId));
|
|
}
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "查询课程投诉详情")
|
|
@ApiOperation(value = "查询课程投诉详情")
|
|
@GetMapping("/queryCourseScheduleComplaintsDetail")
|
|
@GetMapping("/queryCourseScheduleComplaintsDetail")
|
|
- @PreAuthorize("@pcs.hasPermissions('course/queryCourseScheduleComplaintsDetail')")
|
|
|
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('courseSchedule/queryCourseScheduleComplaintsDetail')")
|
|
public Object queryCourseScheduleComplaintsDetail(Long courseScheduleComplaintsId){
|
|
public Object queryCourseScheduleComplaintsDetail(Long courseScheduleComplaintsId){
|
|
CourseScheduleComplaints complaints = courseScheduleComplaintsService.get(courseScheduleComplaintsId);
|
|
CourseScheduleComplaints complaints = courseScheduleComplaintsService.get(courseScheduleComplaintsId);
|
|
if(complaints == null){
|
|
if(complaints == null){
|