From 8458e64aab474c0fc2f49ae4ff22fb11ce5cf6e2 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: 星期一, 11 十一月 2024 16:55:28 +0800
Subject: [PATCH] 批次新增学员查询条件,新增题目导入接口

---
 exam-admin/src/main/java/com/gkhy/exam/admin/controller/web/ExStudentController.java |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/exam-admin/src/main/java/com/gkhy/exam/admin/controller/web/ExStudentController.java b/exam-admin/src/main/java/com/gkhy/exam/admin/controller/web/ExStudentController.java
index cdab661..86dfd2a 100644
--- a/exam-admin/src/main/java/com/gkhy/exam/admin/controller/web/ExStudentController.java
+++ b/exam-admin/src/main/java/com/gkhy/exam/admin/controller/web/ExStudentController.java
@@ -37,13 +37,25 @@
     @ApiOperation(value = "学员列表(分页)")
     @ApiImplicitParams({
             @ApiImplicitParam(paramType = "query", name = "pageNum", dataType = "int", required = false, value = "当前页,默认1"),
-            @ApiImplicitParam(paramType = "query", name = "pageSize", dataType = "int", required = false, value = "每页数目,默认10")
+            @ApiImplicitParam(paramType = "query", name = "pageSize", dataType = "int", required = false, value = "每页数目,默认10"),
+            @ApiImplicitParam(paramType = "query", name = "duty", dataType = "String", required = false, value = "职务"),
+            @ApiImplicitParam(paramType = "query", name = "name", dataType = "String", required = false, value = "姓名")
     })
     @GetMapping("/list")
     public CommonResult list(ExStudent student){
         return CommonResult.success(studentService.selectStudentList(student));
     }
 
+    @ApiOperation(value = "学员列表全选")
+    @ApiImplicitParams({
+            @ApiImplicitParam(paramType = "query", name = "duty", dataType = "String", required = false, value = "职务"),
+            @ApiImplicitParam(paramType = "query", name = "name", dataType = "String", required = false, value = "姓名")
+    })
+    @GetMapping("/list/checkAll")
+    public CommonResult checkAll(ExStudent student){
+        return CommonResult.success(studentService.selectStudentCheckAll(student));
+    }
+
     @ApiOperation(value = "根据id获取学员信息")
     @GetMapping(value = { "/{studentId}" })
     public CommonResult getStudentInfo(@PathVariable(value = "studentId", required = true) Long studentId)

--
Gitblit v1.9.2