You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
domitory/StudentController.java

100 lines
2.4 KiB

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) {
}
}