新增班级学生管理 修改报名相关功能

This commit is contained in:
ly19960718 2021-05-15 11:30:11 +08:00
parent ed568ef787
commit 02e7411427

View File

@ -34,6 +34,15 @@ public class ApplyStudentsController extends DefaultBaseController {
@Autowired
private IApplyStudentsService applyStudentsService;
@ApiOperation(value = "获取班级学生列表", notes = "获取班级学生列表接口")
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
@GetMapping("list-by-classid/{clssId}")
public List<ApplyStudentsDTO> listByClssId(@PathVariable("clssId") String clssId) {
return applyStudentsService.listByClssId(clssId);
}
@ApiOperation(value = "新增班级学生表", notes = "新增班级学生表接口")
@ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)})
@PostMapping("save")