|
@@ -1,11 +1,13 @@
|
|
|
package com.ym.mec.web.controller.education;
|
|
|
|
|
|
import com.ym.mec.biz.service.StudentAttendanceService;
|
|
|
+import com.ym.mec.biz.service.StudentRegistrationService;
|
|
|
import com.ym.mec.common.controller.BaseController;
|
|
|
import com.ym.mec.common.page.QueryInfo;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
@@ -14,16 +16,23 @@ import org.springframework.web.bind.annotation.RestController;
|
|
|
* @Date 2020.09.14
|
|
|
*/
|
|
|
@RestController
|
|
|
-@RequestMapping("eduStudentAttendance")
|
|
|
public class EduStudentStudentController extends BaseController {
|
|
|
|
|
|
@Autowired
|
|
|
private StudentAttendanceService studentAttendanceService;
|
|
|
+ @Autowired
|
|
|
+ private StudentRegistrationService studentRegistrationService;
|
|
|
|
|
|
@ApiOperation(value = "获取某节课学生签到列表")
|
|
|
- @GetMapping("/findStudentAttendance")
|
|
|
+ @GetMapping("eduStudentAttendance/findStudentAttendance")
|
|
|
public Object findStudentAttendance(QueryInfo queryInfo){
|
|
|
return succeed(studentAttendanceService.findStudentAttendance(queryInfo));
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "获取学员详情页,包含所在乐团信息")
|
|
|
+ @PostMapping("studentManage/detail")
|
|
|
+ public Object getStudentDetail(Integer studentId){
|
|
|
+ return succeed(studentRegistrationService.getStudentDetail(studentId));
|
|
|
+ }
|
|
|
+
|
|
|
}
|