一、系统介绍
1.开发环境
开发工具:IDEA2018.2
JDK版本:jdk1.8
Mysql版本:8.0.13
2.技术选型
后端:Java+Spring+SpringMVC+Mybatis。
前端:Layui+JSP+HTML+CSS。
3.系统功能
登录系统
1.学生
我的成绩:查看个人的成绩。
修改密码:修改系统登录密码。
2.教师
录入成绩:录入和修改学生成绩。
修改密码:修改系统登录密码。
3.管理员
学生管理:对学生信息进行增删改查。
教师管理:对教师信息进行增删改查。
4.数据库
/* Navicat Premium Data Transfer Source Server : MySQL Source Server Type : MySQL Source Server Version : 80013 Source Host : 127.0.0.1:3306 Source Schema : ssm_score Target Server Type : MySQL Target Server Version : 80013 File Encoding : 65001 Date: 01/09/2021 21:45:11 */ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Table structure for admin -- ---------------------------- DROP TABLE IF EXISTS `admin`; CREATE TABLE `admin` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL, `password` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = MyISAM AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of admin -- ---------------------------- INSERT INTO `admin` VALUES (1, 'admin', 'admin'); -- ---------------------------- -- Table structure for student -- ---------------------------- DROP TABLE IF EXISTS `student`; CREATE TABLE `student` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL, `password` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL, `stuclass` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL, `stuname` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL, `stuno` varchar(50) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL, `score` double NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = MyISAM AUTO_INCREMENT = 22 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of student -- ---------------------------- INSERT INTO `student` VALUES (8, 'a', '123456', '1702', '乔乔丫', '1700130222', 1000); INSERT INTO `student` VALUES (9, 'b', '123456', '1702', '周瑜', '1700130223', 100); INSERT INTO `student` VALUES (10, 'c', '123456', '1703', '曹操', '1700130224', 6); INSERT INTO `student` VALUES (11, 'd', '123456', '1704', '小美', '1700130225', 90); INSERT INTO `student` VALUES (12, 'e', '123456', '1701', '王菲', '1700130226', 100); INSERT INTO `student` VALUES (13, 'f', '123456', '1703', '周杰伦', '1700130227', NULL); -- ---------------------------- -- Table structure for teacher -- ---------------------------- DROP TABLE IF EXISTS `teacher`; CREATE TABLE `teacher` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL, `password` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL, `teaname` varchar(20) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = MyISAM AUTO_INCREMENT = 9 CHARACTER SET = utf8 COLLATE = utf8_unicode_ci ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of teacher -- ---------------------------- INSERT INTO `teacher` VALUES (3, 'root', '123456', '李老师'); INSERT INTO `teacher` VALUES (7, 'a', '123456', '孟老师'); INSERT INTO `teacher` VALUES (5, 'b', '123456', '赵老师'); INSERT INTO `teacher` VALUES (6, 'c', '123456', '李老师'); SET FOREIGN_KEY_CHECKS = 1;
5.工程截图
二、系统展示
1.登录系统
2.学生-主页面
3.学生-我的成绩
4.学生-修改密码
5.教师-主页面
6.教师-录入成绩
7.教师-修改密码
8.管理员-主页面
9.管理员-学生管理-增加学生
10.管理员--学生管理-管理学生
11.管理员-老师管理-增加老师
12.管理员-老师管理-管理老师