From 02e74114274da5639b22923954258826d7772c8e Mon Sep 17 00:00:00 2001 From: ly19960718 <1622779752@qq.com> Date: Sat, 15 May 2021 11:30:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=8F=AD=E7=BA=A7=E5=AD=A6?= =?UTF-8?q?=E7=94=9F=E7=AE=A1=E7=90=86=20=E4=BF=AE=E6=94=B9=E6=8A=A5?= =?UTF-8?q?=E5=90=8D=E7=9B=B8=E5=85=B3=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/applystudents/ApplyStudentsController.java | 9 +++++++++ 1 file changed, 9 insertions(+) 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")