From 26780c533f2c2af6b9216306f649c1bcede94e4a Mon Sep 17 00:00:00 2001 From: yn147 <2270338776@qq.com> Date: 星期五, 24 十一月 2023 16:43:37 +0800 Subject: [PATCH] 学生、课程 --- src/main/java/com/qxueyou/scc/controller/SchoolRollController.java | 27 +++++++++++++-------------- 1 files changed, 13 insertions(+), 14 deletions(-) diff --git a/src/main/java/com/qxueyou/scc/controller/SchoolRollController.java b/src/main/java/com/qxueyou/scc/controller/SchoolRollController.java index b204a3e..3744db2 100644 --- a/src/main/java/com/qxueyou/scc/controller/SchoolRollController.java +++ b/src/main/java/com/qxueyou/scc/controller/SchoolRollController.java @@ -16,11 +16,11 @@ import java.util.List; /** - * 学籍管理控制器 + * 瀛︾睄绠$悊鎺у埗鍣� * * @author hurenrong */ -@Api(tags="学籍管理接口") +@Api(tags="瀛︾睄绠$悊鎺ュ彛") @RestController @RequestMapping("/admin/schoolRoller") public class SchoolRollController { @@ -29,14 +29,14 @@ private ISchoolRollService iSchoolRollService; /** - * 获取正常学员列表 + * 鑾峰彇姝e父瀛﹀憳鍒楄〃 * * @param keyword * @param limit * @param pageNum * @return */ - @ApiOperation(value = "获取正学籍列表", notes = "") + @ApiOperation(value = "鑾峰彇瀛︾睄鍒楄〃", notes = "") @GetMapping(value = "/schoolList") public Result schoolList(@RequestParam(defaultValue = "10") Integer limit, @RequestParam(defaultValue = "1") Integer pageNum,String keyword,String status) { @@ -46,50 +46,49 @@ return new Result(true,"success", CollectionUtils.newObjectMap("schoolRollList", QBeanUtils.listBean2ListMap(schoolRollList, - CollectionUtils.newStringMap("name", "studentName","studentId","studentId", "studentNo", "studentNo","sex","sex", "status", - "status", "createTime", "createTime","mobilePhone","mobilePhone","studentNumber","studentNumber")), + CollectionUtils.newStringMap("name", "studentName","studentId","studentId", "studentNo", "studentNo","sex","sex", "status", "status", "createTime", "createTime","mobilePhone","mobilePhone","studentNumber","studentNumber","photo","photo","passporName","passporName","nationality","nationality","ancestralHome","ancestralHome","birthday","birthday","birthplace","birthplace","chinaStatus","chinaStatus","registeredAddress","registeredAddress","homeAddress","homeAddress","religiousBelief","religiousBelief","email","email","workUnit","workUnit","graduationDestination","graduationDestination")), "schoolrollCount", count)); } /** - * 给学员分配班级 + * 缁欏鍛樺垎閰嶇彮绾� * * @return */ - @ApiOperation(value = "给学员分配班级", notes = "") + @ApiOperation(value = "缁欏鍛樺垎閰嶇彮绾�", notes = "") @GetMapping(value = "/updateSchoolClass") public Result updateSchoolClass(String [] studentIds,String classId) { return iSchoolRollService.updateSchool(studentIds, classId); } /** - * 审核学员并生成学号 + * 瀹℃牳瀛﹀憳骞剁敓鎴愬鍙� * * @return */ - @ApiOperation(value = "审核学员并生成学号", notes = "") + @ApiOperation(value = "瀹℃牳瀛﹀憳骞剁敓鎴愬鍙�", notes = "") @GetMapping(value = "/auditStudent") public Result auditStudent(String studentIds) { return iSchoolRollService.loopStudentIds(studentIds.split(",")); } /** - * 导出学员信息 + * 瀵煎嚭瀛﹀憳淇℃伅 * * @return */ - @ApiOperation(value = "导出学员信息", notes = "") + @ApiOperation(value = "瀵煎嚭瀛﹀憳淇℃伅", notes = "") @GetMapping(value = "/deriveStudentMessage") public void deriveStudentMessage(String StudentId,String ClassId) { iSchoolRollService.deriveStudentMessage(); } /** - * 查询班级 + * 鏌ヨ鐝骇 * * @return */ - @ApiOperation(value = "查询班级", notes = "") + @ApiOperation(value = "鏌ヨ鐝骇", notes = "") @GetMapping(value = "/findClass") public Result findClass() { List<ClsClass> aClass = iSchoolRollService.findClass(); -- Gitblit v1.8.0