基于SSM的选课系统

项目介绍:

本系统为原创项目,基于SSM整合开发,分为三个角色。下方为需求功能。

项目需求:

项目技术:

技术:Spring,SpringMVC,Mybatis,前端框架h-ui
开发工具:idea
数据库:mysql 5.7
JDK版本:jdk1.8
服务器:tomcat8

部分功能展示:

系统登陆

系统管理员首页,其它角色页面类似,但功能不同

 学生管理,可以维护学生信息

 教师管理

 课程维护页面

 查看学生的选课信息

 登录学生角色,可以进行选课

 学生可以评价课程

 给学生推荐课程

 部分代码:

/*      * @description: 跳转到课程评价      * @author: mty      */     @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<String,Object> mp = new HashMap<String, Object>();         mp.put("no",no);         List<Scourse> scourseList = scourseService.queryByInfo(mp);         int total = scourseList.size();         model.addAttribute("scourseList", scourseList);         model.addAttribute("total", total);         return "scourse/ScourseEvalution";     }      /*      * @description:进入修改      * @author: mty      */     @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;     }      /*      * @description:修改      * @author: mty      */     @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";         }     }

以上就是部分功能展示,从整体上来看,本系统功能是十分完整的,界面设计简洁大方,交互友好,数据库设计也很合理,规模适中,比较适合毕业设计和课程设计的相关应用。

好了,今天就到这儿吧,小伙伴们点赞、收藏、评论,一键三连走起呀,下期见~~

  • 5
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值