diff --git a/src/main/java/cn/com/tenlion/controller/api/applystudents/ApplyStudentsController.java b/src/main/java/cn/com/tenlion/controller/api/applystudents/ApplyStudentsController.java index b28102e..81f2a60 100644 --- a/src/main/java/cn/com/tenlion/controller/api/applystudents/ApplyStudentsController.java +++ b/src/main/java/cn/com/tenlion/controller/api/applystudents/ApplyStudentsController.java @@ -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 listByClssId(@PathVariable("clssId") String clssId) { + return applyStudentsService.listByClssId(clssId); + } + + + @ApiOperation(value = "新增班级学生表", notes = "新增班级学生表接口") @ApiResponses({@ApiResponse(code = 400, message = "请求失败", response = ErrorResult.class)}) @PostMapping("save")