基于Springboot的教学信息反馈系统的设计与实现(源码+调试)

138 篇文章 15 订阅
137 篇文章 2 订阅

项目描述

临近学期结束,还是毕业设计,你还在做java程序网络编程,期末作业,老师的作业要求觉得大了吗?不知道毕业设计该怎么办?网页功能的数量是否太多?没有合适的类型或系统?等等。今天给大家介绍一篇基于Springboot的教学信息反馈系统的设计与实现。

功能需求

本教学信息反馈系统通过分析和确定系统的角色和功能划分,按照业务合理区分为不同的菜单功能模块。从学校管理者和学生相关管理人员的角度出发,对每个功能的需求实现点进行人性化详细的构思。对每个功能的细节点进行分析设计整合完成整个教学反馈系统的设计。
系统学生功能模块:即登录功能、教学信息反馈、评价功能、个人信息维护、退出系统。
系统教师功能模块:即登录功能、我的课程、个人评价查看、个人信息维护、退出系统。
系统管理员功能模块:登录功能、评价管理、学生管理、教师管理、账号密码重置、以及系统配置等。

部分效果图

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

在这里插入图片描述

部分代码
package com.evaluation_of_teaching.controller;

import com.evaluation_of_teaching.dao.AdminMapper;
import com.evaluation_of_teaching.dao.CourseMapper;
import com.evaluation_of_teaching.dao.StudentMapper;
import com.evaluation_of_teaching.dao.TeacherMapper;
import com.evaluation_of_teaching.model.AdminEntity;
import com.evaluation_of_teaching.model.CourseEntity;
import com.evaluation_of_teaching.model.StudentEntity;
import com.evaluation_of_teaching.model.TeacherEntity;
import com.evaluation_of_teaching.service.CourseService;
import org.apache.ibatis.session.RowBounds;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;
import tk.mybatis.mapper.entity.Example;
import tk.mybatis.mapper.util.StringUtil;

import javax.servlet.http.HttpSession;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@RestController
public class LoginController {

    @Autowired
    StudentMapper studentMapper;
    @Autowired
    TeacherMapper teacherMapper;
    @Autowired
    AdminMapper adminMapper;

    @RequestMapping(path = "/login")
    public Object login(String username, String password, String flag, HttpSession session){
        if(flag.equals("stu")){
            StudentEntity student = studentMapper.getStudentByUsername(username);
            if(student!=null){
                if(student.getPassword().equals(password)){
                    session.setAttribute("loginUser",student);
                    return student;
                }else return "密码错误!";
            }else return "用户名错误!";

        }else if(flag.equals("teacher")){
            TeacherEntity teacher = teacherMapper.getTeacherByUsername(username);
            if(teacher!=null){
                if(teacher.getPassword().equals(password)){
                    session.setAttribute("loginUser",teacher);
                    return teacher;
                }else return "密码错误!";
            }else return "用户名错误!";


        }else if(flag.equals("admin")){
            AdminEntity admin = adminMapper.getAdminByUsername(username);
            if(admin!=null){
                if(admin.getPassword().equals(password)){
                    session.setAttribute("loginUser",admin);
                    return admin;
                }else return "密码错误!";
            }else return "用户名错误!";

        }
        return "";
    }

    @RequestMapping(path = "/logout")
    public void logout(HttpSession session){
        session.setAttribute("loginUser",null);
    }

}


安装部署需求

eclipse/idea运行启动

系统部署

系统开发后,在生产环境配置项目运行环境,具体步骤如下:
安装linux或者windows10操作系统;
安装JDK1.8并配置环境变量;
安装MySQL5.7版本以上版本数据库,创建数据库并执行脚本创建表;
在eclipse/idea中运行打包;

本项目用到的技术和框架

1.开发语言:Java
2.开发模式:B/S
3.数据库:MySQL5.7
4.框架:Springboot

本项目中的关键点

此系统的开发采用java语言开发,基于B/S结构,这些开发环境使系统更加完善。使用到的工具和技术都是开源免费的。

环境工具

开发工具 Eclipse
语言 JDK1.8 、Springboot
硬件:笔记本电脑;
软件:Tomcat8.0 Web服务器、Navicat数据库客户端、MySQL;
操作系统:Windows 10;
其它软件:截图工具、常用浏览器;
以上是本系统的部分功能展示,如果你的选题正好相符,那么可以做毕业设计或课程设计使用。

  • 20
    点赞
  • 17
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

程序猿麦小七

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值