123456789101112131415161718192021222324252627282930313233343536 |
- package com.ym.mec.education.controller;
- import com.ym.mec.education.base.PageResponse;
- import com.ym.mec.education.req.ClassGroupReq;
- import com.ym.mec.education.service.IClassGroupStudentMapperService;
- import io.swagger.annotations.Api;
- import io.swagger.annotations.ApiOperation;
- import lombok.extern.slf4j.Slf4j;
- import org.springframework.beans.factory.annotation.Autowired;
- import org.springframework.web.bind.annotation.PostMapping;
- import org.springframework.web.bind.annotation.RequestBody;
- import org.springframework.web.bind.annotation.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- /**
- * @program: mec
- * @description: 学员名单
- * @author: xw
- * @create: 2019-09-26 19:40
- */
- @RestController
- @RequestMapping("api/student")
- @Api(tags = "学员名单")
- @Slf4j
- public class StudentController {
- @Autowired
- private IClassGroupStudentMapperService groupStudentMapperService;
- @PostMapping("/list")
- @ApiOperation("学员名单列表")
- public PageResponse list(@RequestBody ClassGroupReq classGroupReq) {
- return groupStudentMapperService.getPage(classGroupReq);
- }
- }
|