本系统为原创项目,基于SSM整合开发,分为三个角色。下方为需求功能。
项目需求: 项目技术:技术:Spring,SpringMVC,Mybatis,前端框架h-ui
开发工具:idea
数据库:mysql 5.7
JDK版本:jdk1.8
服务器:tomcat8
系统登陆
系统管理员首页,其它角色页面类似,但功能不同
学生管理,可以维护学生信息
教师管理
课程维护页面
查看学生的选课信息
登录学生角色,可以进行选课
学生可以评价课程
给学生推荐课程
部分代码:
@RequestMapping("/scourseevalution")
public String scourseevalution(HttpServletRequest request,Model model) throws Exception{
HttpSession session = request.getSession();
String no = session.getAttribute("no").toString();
if(no==null || "".equals(no)){
return "common/index";
}
Map mp = new HashMap();
mp.put("no",no);
List scourseList = scourseService.queryByInfo(mp);
int total = scourseList.size();
model.addAttribute("scourseList", scourseList);
model.addAttribute("total", total);
return "scourse/Scourseevalution";
}
@RequestMapping("/scourseEdit/{id}")
public ModelAndView scourseEdit(@PathVariable("id") String id,Model model) throws Exception{
ModelAndView mv = new ModelAndView();
Scourse scourse = scourseService.queryById(id);
model.addAttribute("scourse", scourse);
mv.setViewName("scourse/ScourseEdit");
return mv;
}
@RequestMapping("/scourseEditSubmit")
public String scourseEditSubmit(Scourse scourse,Model model,HttpServletRequest request) throws Exception{
try{
scourseService.update(scourse);
request.setAttribute("msg", "评价成功!");
return "scourse/ScourseEdit";
}catch (Exception e){
request.setAttribute("msg", "评价失败!");
return "scourse/ScourseEdit";
}
}
以上就是部分功能展示,从整体上来看,本系统功能是十分完整的,界面设计简洁大方,交互友好,数据库设计也很合理,规模适中,比较适合毕业设计和课程设计的相关应用。
好了,今天就到这儿吧,小伙伴们点赞、收藏、评论,一键三连走起呀,下期见~~



