使用SSM+JSP实现一个教务管理系统

166 阅读2分钟

本文己参与[新人创作礼]活动,一起开启掘金创作之路

最近为客户开发了一套学校用教务管理系统,主要实现学生、课程、老师、选课等相关的信息化管理功能,今天拿出来给大家介绍一下: 

系统编号:BS-GX-020

后台技术:Spring+Springmvvc+mybatis+shiro

前端技术:Bootstrap+jquery+ajax

页面开发:JSP

开发工具:IDEA  或  Eclipse

数据库:mysql5

应用服务器:tomcat8

JAVA版本:jdk1.8

说明:本系统基于SSM框架开发而成,系统功能完整,界面简洁大方,运行无误,适合做毕业设计使用。

系统分三个角色:

1,管理员角色:可以管理课程,管理教师,管理学生,个人信息管理等

2,教师角色:可以管理选课成绩,对选修本人的课程进行打分,个人信息管理等

3,学生角色:可以进行选课,退课,查看选课信息,选课成绩,个人信息管理等

系统功能演示如下:

管理员登陆:

课程管理:

添加课程:分配老师

学生管理:

老师管理:

重置其它账户密码:

密码修改:

教师登陆:

为选课的学生打分

学生登陆:

己选课程:显示己选未结课(未打分)

己修课程:显示己选并结课(己打分)

以上是基于SSM教务管理系统的部分功能展示,本项目比较适合JAVA语言方面 的毕业设计系统使用。

部分项目实现代码:

package com.system.service.impl;

import com.system.mapper.CollegeMapper;
import com.system.po.College;
import com.system.po.CollegeExample;
import com.system.service.CollegeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* 院系管理
*/
@Service
public class CollegeServiceImpl implements CollegeService {

    @Autowired
private CollegeMapper collegeMapper;

    //查询所有院系
public List finAll() throws Exception {
CollegeExample collegeExample = new CollegeExample();
CollegeExample.Criteria criteria = collegeExample.createCriteria();

        criteria.andCollegeidIsNotNull();


return collegeMapper.selectByExample(collegeExample);
}

    //添加院系
public void addCollege(College college) {
collegeMapper.insert(college);
}

    //查询单个院系
public College findCollegeById(Integer id){
return collegeMapper.selectByPrimaryKey(id);
}
//更新院系
public void updateCollege(College college) {
collegeMapper.updateByPrimaryKey(college);
}
}
\

\

package com.system.service.impl;