基于SSM学生在线考试系统

介绍:
spring+springmvc+mybatis+mysql+eclipse。

截图:
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
数据库表:
CREATE TABLE db_answers (
username varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
questionid int(11) DEFAULT NULL,
stuanswer varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
judge int(11) DEFAULT NULL,
shijuanid int(20) DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
CREATE TABLE db_subject (
subjectid int(11) NOT NULL AUTO_INCREMENT,
subjecttype varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
PRIMARY KEY (subjectid) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;


– Records of db_subject


INSERT INTO db_subject VALUES (1, ‘JAVA’);
INSERT INTO db_subject VALUES (2, ‘大数据’);
INSERT INTO db_subject VALUES (3, ‘UI’);
INSERT INTO db_subject VALUES (4, ‘嵌入式’);
INSERT INTO db_subject VALUES (5, ‘PHP’);
INSERT INTO db_subject VALUES (6, ‘web前端’);
INSERT INTO db_subject VALUES (7, ‘最代码代码学习’);


– Table structure for db_users


DROP TABLE IF EXISTS db_users;
CREATE TABLE db_users (
userid int(11) NOT NULL AUTO_INCREMENT,
username varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
userpwd varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT NULL,
subjectid int(11) DEFAULT NULL,
usertype int(11) DEFAULT NULL,
PRIMARY KEY (userid) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 29 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;


– Records of db_users


INSERT INTO db_users VALUES (1, ‘李老师’, ‘Aa111111’, 1, 1);
INSERT INTO db_users VALUES (2, ‘王老师’, ‘Aa111111’, 2, 1);
INSERT INTO db_users VALUES (3, ‘teacher’, ‘Aa111111’, 3, 1);
INSERT INTO db_users VALUES (4, ‘student1’, ‘123456’, 1, 2);
INSERT INTO db_users VALUES (5, ‘student2’, ‘123456’, 2, 2);
INSERT INTO db_users VALUES (6, ‘student3’, ‘123456’, 2, 2);
INSERT INTO db_users VALUES (7, ‘student4’, ‘123456’, 1, 2);
INSERT INTO db_users VALUES (8, ‘student5’, ‘123456’, 3, 2);
INSERT INTO db_users VALUES (9, ‘admin’, ‘000000’, NULL, 0);
INSERT INTO db_users VALUES (10, ‘123’, ‘123’, 1, 1);
INSERT INTO db_users VALUES (11, ‘1’, ‘1’, 1, 2);
INSERT INTO db_users VALUES (12, ‘2’, ‘2’, 2, 2);
INSERT INTO db_users VALUES (13, ‘Dawn’, ‘000000’, 1, 1);
INSERT INTO db_users VALUES (14, ‘student6’, ‘123456’, 3, 2);
INSERT INTO db_users VALUES (15, ‘x1’, ‘123456’, 1, 2);
INSERT INTO db_users VALUES (16, ‘x2’, ‘123456’, 1, 2);
INSERT INTO db_users VALUES (17, ‘x3’, ‘123456’, 1, 2);
INSERT INTO db_users VALUES (18, ‘x4’, ‘123456’, 1, 2);
INSERT INTO db_users VALUES (19, ‘x5’, ‘123456’, 1, 2);
INSERT INTO db_users VALUES (20, ‘x6’, ‘123456’, 1, 2);
INSERT INTO db_users VALUES (21, ‘x7’, ‘123456’, 1, 2);
INSERT INTO db_users VALUES (22, ‘x8’, ‘123456’, 1, 2);
INSERT INTO db_users VALUES (23, ‘x9’, ‘123456’, 1, 2);
INSERT INTO db_users VALUES (24, ‘x10’, ‘123456’, 1, 2);

源码下载:http://www.bycxy123.com/
视频演示:https://www.bilibili.com/video/BV1FE411w7Un/

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页