From 5c64209546c109043a26bb60a0c1d744389fd836 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=A5=8E=E7=A8=8B?= <2205565068@qq.com> Date: Fri, 15 Dec 2023 10:52:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=A6=E7=94=9F=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- StudentController.java | 100 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 StudentController.java diff --git a/StudentController.java b/StudentController.java new file mode 100644 index 0000000..efa492c --- /dev/null +++ b/StudentController.java @@ -0,0 +1,100 @@ +package com.cya.controller; + +import java.util.ArrayList; +import java.util.List; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpSession; + +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.web.bind.annotation.RequestBody; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.ResponseBody; + +import com.cya.entity.PageResult; +import com.cya.entity.PunchClockRecord; +import com.cya.entity.Result; +import com.cya.entity.Student; +import com.cya.service.IStudentService; + +/** + * 学生控制器 + */ +@Controller +@ResponseBody +public class StudentController { + + @Autowired + private IStudentService studentSeriveImpl; + + /*-------------------------考勤---------------------------*/ + + /** + * 根据学号获取考勤信息 + */ + @RequestMapping("/getRecordMMsgByStuNum") + public PageResult getRecordMMsgByStuNum(HttpServletRequest request){ + + } + + /*-------------------------考勤---------------------------*/ + + /*-------------------------我的---------------------------*/ + + /** + * 根据ID获取个人信息 + */ + @RequestMapping("student_getMyMsgById") + public Student student_getMyMsgById(@RequestBody Student student) { + + } + + /** + * 更新个人信息 + */ + @RequestMapping("student_updateMyMsgById") + public Result student_updateMyMsgById(HttpServletRequest request ,@RequestBody Student student) { + + } + + /** + * 更新密码 + */ + @RequestMapping("student_updatePsd") + public Result student_updatePsd(@RequestBody Student student) { + + } + + /*-------------------------我的---------------------------*/ + + /*-------------------------打开---------------------------*/ + + // 其他打开相关方法... + + /*-------------------------打开---------------------------*/ + + /** + * 根据学号获取打卡记录信息 + */ + @RequestMapping("/getPunchClockRecordMsgByStuNum") + public PageResult getPunchClockRecordMsgByStuNum(HttpServletRequest request){ + + } + + /** + * 根据ID获取打卡记录信息 + */ + @RequestMapping("getPunckColcokRecordById") + public PunchClockRecord getPunckColcokRecordById(HttpServletRequest request) { + // 方法实现... + } + + /** + * 更新打卡记录信息 + */ + @RequestMapping("updataPunchClockRecordMsg") + public Result updataPunchClockRecordMsg(@RequestBody PunchClockRecord punchClockRecord) { + + } +} \ No newline at end of file