From d7963a84282c548fee3595b3343e6ae6ca49bb29 Mon Sep 17 00:00:00 2001 From: yn147 <2270338776@qq.com> Date: 星期五, 24 十一月 2023 14:12:01 +0800 Subject: [PATCH] 学籍,考勤 --- src/main/java/com/qxueyou/scc/controller/TeacherController.java | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/qxueyou/scc/controller/TeacherController.java b/src/main/java/com/qxueyou/scc/controller/TeacherController.java index 2564cdb..54a1d54 100644 --- a/src/main/java/com/qxueyou/scc/controller/TeacherController.java +++ b/src/main/java/com/qxueyou/scc/controller/TeacherController.java @@ -39,6 +39,31 @@ * @param keyword * 绱㈡悳鍏抽敭瀛� */ +// @GetMapping(value = "lstTeacher") +// public Result lstTeacher(String keyword, Integer pageSize, Integer pageNum) { +// +// List<UserTeacher> teacherLst = teacherService.lstTeacher(keyword == null ? "" : keyword.trim(), pageSize, pageNum); +// +// int count = teacherService.findTeacherCount(keyword == null ? "" : keyword.trim()); +// +// return new Result(true, "success", +// CollectionUtils.newObjectMap("teacherLst", +// QBeanUtils.listBean2ListMap(teacherLst, +// CollectionUtils.newStringMap("mobilePhone", "mobilePhone,account", "name", +// "teacherName", "teacherId", "teacherId", "teacherNo", "teacherNo")), +// "teacherCount", count)); +// } + + /** + * 鍚庡彴鐢ㄦ埛绠$悊鏄剧ず鍒楄〃 + * + * @param pageSize + * 姣忛〉鏄剧ず鍑犳潯 + * @param pageNum + * 椤电爜 + * @param keyword + * 绱㈡悳鍏抽敭瀛� + */ @GetMapping(value = "lstTeacher") public Result lstTeacher(String keyword, Integer pageSize, Integer pageNum) { -- Gitblit v1.8.0