|
@@ -45,14 +45,14 @@ public class StudentAttendanceController extends BaseController {
|
|
|
|
|
|
@ApiOperation(value = "查询课程学生列表")
|
|
|
@GetMapping("/findAttendanceStudentByCourseWithPage")
|
|
|
- @PreAuthorize("@pcs.hasPermissions('teacherAttendance/findAttendanceStudentByCourseWithPage')")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('studentAttendance/findAttendanceStudentByCourseWithPage')")
|
|
|
public Object findAttendanceStudentByCourseWithPage(CourseScheduleQueryInfo queryInfo){
|
|
|
return succeed(classGroupService.findAttendanceStudentByCourseWithPage(queryInfo));
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "更新学生签到记录")
|
|
|
@PostMapping("/updateStudentAttendances")
|
|
|
- @PreAuthorize("@pcs.hasPermissions('teacherAttendance/updateStudentAttendances')")
|
|
|
+ @PreAuthorize("@pcs.hasPermissions('studentAttendance/updateStudentAttendances')")
|
|
|
public Object updateStudentAttendances(@RequestBody StudentAttendanceDto studentAttendanceInfo){
|
|
|
studentAttendanceService.updateStudentAttendances(studentAttendanceInfo);
|
|
|
return succeed();
|