学生信息管理系统(SSM+JSP)
1.管理员主要功能有学生管理,课程管理,奖惩管理,综合素质登记,成绩管理。
2.学生主要功能有,修改个人信息,包括首次修改默认密码,学生选课,成绩查看,绩点查询。
3.页面使用Bootstrap框架和EasyUI,后台使用Spring、SpringMVC和MyBatis框架。
4.JDK1.8 tomcat7 idea2017 MySQL5.5
由xpsviewer修改,完善。 (用于课程设计)
1.管理端添加学生请假管理和学生宿舍信息管理。
2.学生端添加学生奖励,处罚记录查看,学生素质分查看,学生住宿信息查看,学生请假。
3.完善登陆检查,防止非法未授权登陆。
4.完善部分输入检查。
5.将项目打包成maven项目,更新spring和spring mvc版本 方便搭建。
6.奖励,处罚,素质添加时间,满足实际需求。
7.添加修改学生,管理员密码功能。
8.增加宿舍片区管理。
9.完善数据库约束设计与触发器,有效减少脏数据。
自带数据库sql和详细搭建说明文档,由于以前不会用git,所有修改提交已经丢失,不能diff每个功能的差异,不过代码可读性尚可。
下载地址 https://github.com/21503882/studentinfo
@Controller
@RequestMapping(value = "/stu/stuManager" ,method = {RequestMethod.POST,RequestMethod.GET})
public class StuManagerController {
@Autowired
private StuManagerService stuManagerService;
/**
*
* 获取管理员的登录状态
* @param
* @param
* @param
*/
@RequestMapping("/getAdminLoginStatus.do")
public void getAdminLoginStatus(HttpServletRequest request, HttpServletResponse response) throws IOException
{
Map<String,Object> result = new HashMap<String,Object>();
if(request.getSession().getAttribute("adminDisplayName")!=null)
{
result.put("code",true);
}
else
{
result.put("code",false);
}
ResponseUtil.returnJson(result,response);
}
/**
* 获取switch开关状态
* @param name
* @param request
* @param response
* @throws IOException
*/
@RequestMapping("/getSwitch.do")
public void getSwitch(String name,HttpServletRequest request, HttpServletResponse response) throws IOException {
Map<String,Object> result = new HashMap<String,Object>();
result = stuManagerService.getSwitch(name);
ResponseUtil.returnJson(result,response);
}
/**
* 修改switch开关状态
* @param name
* @param state
* @param request
* @param response
* @throws IOException
*/
@RequestMapping("/setSwitch.do")
public void getSwitch(String name,bo