![](https://csdnimg.cn/release/download_crawler_static/88091085/bg1.jpg)
一、项目简介
考生录取查询系统是一个教育单位不可缺少的部分,它的内容对学校的决策者和管理者来说都至关重
要,所以考生录取查询系统应该能够为用户提供充足的信息和快捷的查询手段。
通过本系统,考生可输入姓名和准考证号进行录取查询,方便广大考生及时查询录取结果。
通过本系统,管理者可以对考生录取数据统计分析,得到数据报表。
二、采用技术
前端:HTML + CSS + JavaScript + Jquery + Ajax
后端:JDBC + Servlet + Filter
数据库:MySql
三、开发环境
工具:Eclipse IDE、Visual Studio Code、Navicat
环境:JDK 1502、Tomcat 9.0、Mysql 8.0
代码托管平台:码云(Gitee)
四、开发流程
1. 数据库设计
2. UI设计
3. 前端页面开发
4. 后端三层架构开发
1. Tools:工具类封装
2. Entity:模型定义,与数据库相匹配
3. Dao层:数据操作
4. Service层:业务逻辑操作,服务包装
5. Controller:Servlet控制器,业务入口,数据交互
5. 前后端联调测试
五、功能模块
1、前台功能
![](https://csdnimg.cn/release/download_crawler_static/88091085/bg2.jpg)
列名 说明 类型 长度
acc 账号 varchar 30
pwd 密码 varchar 50
name 姓名 varchar 20
列名 说明 类型 长度
stuid 考生号 int 10
stuname 姓名 varchar 30
stumajor 录取专业 varchar 50
stutype 科类 varchar 50
stuexpress 快递单号 varchar 50
考生输入姓名和准考证号进行录取查询,得到录取结果。
2、后台功能
管理员登录
管理考生录取数据(添加、删除、修改、查询)
上传excel考生数据,并导入到数据库
生成录取专业各情况统计柱形图
六、数据库设计
数据库名称:examdb
1、管理员表
表名:admins
2、考生表
表名:students
3、生成数据库
-- ----------------------------1
![](https://csdnimg.cn/release/download_crawler_static/88091085/bg3.jpg)
-- Table structure for admins
-- ----------------------------
DROP TABLE IF EXISTS `admins`;
CREATE TABLE `admins` (
`acc` varchar(255) NOT NULL,
`pwd` varchar(255) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
PRIMARY KEY (`acc`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- ----------------------------
-- Records of admins
-- ----------------------------
INSERT INTO `admins` VALUES ('admin', 'admin', '管理员');
-- ----------------------------
-- Table structure for students
-- ----------------------------
DROP TABLE IF EXISTS `students`;
CREATE TABLE `students` (
`stuid` int NOT NULL,
`stuname` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci
DEFAULT NULL,
`stumajor` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci
DEFAULT NULL,
`stutype` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci
DEFAULT NULL,
`stuexpress` varchar(50) CHARACTER SET utf8mb4 COLLATE
utf8mb4_0900_ai_ci DEFAULT NULL,
PRIMARY KEY (`stuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- ----------------------------
-- Records of students
-- ----------------------------
INSERT INTO `students` VALUES ('202200001', '计应1', '汽车服务工程技术', '物
理科目组', '');
INSERT INTO `students` VALUES ('202200002', '计应2', '酒店管理', '物理科目
组', '');
INSERT INTO `students` VALUES ('202200003', '计应3', '油气储运工程', '物理科
目组', '');
INSERT INTO `students` VALUES ('202200004', '计应4', '软件工程技术', '物理科
目组', '');
INSERT INTO `students` VALUES ('202200005', '计应5', '建筑工程', '物理科目
组', '');
INSERT INTO `students` VALUES ('202200006', '计应6', '机械设计制造及自动化',
'物理科目组', '');
INSERT INTO `students` VALUES ('202200007', '计应7', '油气储运工程', '物理科
目组', '');
INSERT INTO `students` VALUES ('202200008', '计应8', '大数据与会计', '历史科
目组', '');
INSERT INTO `students` VALUES ('202200009', '计应9', '酒店管理', '历史科目
组', '');
INSERT INTO `students` VALUES ('202200010', '计应10', '酒店管理', '历史科目
组', '');
INSERT INTO `students` VALUES ('202200011', '计应11', '大数据与会计', '历史科
目组', '');
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
![](https://csdnimg.cn/release/download_crawler_static/88091085/bg4.jpg)
INSERT INTO `students` VALUES ('202200012', '计应12', '电子商务', '历史科目
组', '');
INSERT INTO `students` VALUES ('202200013', '计应13', '建筑工程', '物理科目
组', '');
INSERT INTO `students` VALUES ('202200014', '计应14', '机械设计制造及自动化',
'物理科目组', '');
INSERT INTO `students` VALUES ('202200015', '计应15', '建筑工程', '物理科目
组', '');
INSERT INTO `students` VALUES ('202200016', '计应16', '汽车服务工程技术', '物
理科目组', '');
INSERT INTO `students` VALUES ('202200017', '计应17', '计算机应用工程', '物理
科目组', '');
INSERT INTO `students` VALUES ('202200018', '计应18', '学前教育', '历史科目
组', '');
INSERT INTO `students` VALUES ('202200019', '计应19', '计算机应用工程', '物理
科目组', '');
INSERT INTO `students` VALUES ('202200020', '计应20', '机械设计制造及自动化',
'物理科目组', '');
INSERT INTO `students` VALUES ('202200021', '计应21', '软件工程技术', '物理科
目组', '');
INSERT INTO `students` VALUES ('202200022', '计应22', '软件工程技术', '物理科
目组', '');
INSERT INTO `students` VALUES ('202200023', '计应23', '机械设计制造及自动化',
'物理科目组', '');
INSERT INTO `students` VALUES ('202200024', '计应24', '计算机应用工程', '物理
科目组', '');
INSERT INTO `students` VALUES ('202200025', '计应25', '电子商务', '历史科目
组', '');
INSERT INTO `students` VALUES ('202200026', '计应26', '大数据与会计', '历史科
目组', '');
INSERT INTO `students` VALUES ('202200027', '计应27', '大数据与财务管理', '历
史科目组', '');
INSERT INTO `students` VALUES ('202200028', '计应28', '大数据与会计', '历史科
目组', '');
INSERT INTO `students` VALUES ('202200029', '计应29', '大数据与财务管理', '历
史科目组', '');
INSERT INTO `students` VALUES ('202200030', '计应30', '大数据与会计', '历史科
目组', '');
INSERT INTO `students` VALUES ('202200031', '计应31', '学前教育', '历史科目
组', '');
INSERT INTO `students` VALUES ('202200032', '计应32', '酒店管理', '历史科目
组', '');
INSERT INTO `students` VALUES ('202200033', '计应33', '电子商务', '历史科目
组', '');
INSERT INTO `students` VALUES ('202200034', '计应34', '大数据与会计', '历史科
目组', '');
INSERT INTO `students` VALUES ('202200035', '计应35', '酒店管理', '历史科目
组', '');
INSERT INTO `students` VALUES ('202200036', '计应36', '学前教育', '历史科目
组', '');
INSERT INTO `students` VALUES ('202200037', '计应37', '大数据与会计', '历史科
目组', '');
INSERT INTO `students` VALUES ('202200038', '计应38', '大数据与财务管理', '历
史科目组', '');
INSERT INTO `students` VALUES ('202200039', '计应39', '计算机应用工程', '物理
科目组', '');
INSERT INTO `students` VALUES ('202200040', '计应40', '建筑工程', '物理科目
组', '');
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
![](https://csdnimg.cn/release/download_crawler_static/88091085/bg5.jpg)
INSERT INTO `students` VALUES ('202200041', '计应41', '计算机应用工程', '物理
科目组', '');
INSERT INTO `students` VALUES ('202200042', '计应42', '电子商务', '物理科目
组', '');
INSERT INTO `students` VALUES ('202200043', '计应43', '建筑工程', '物理科目
组', '');
INSERT INTO `students` VALUES ('202200044', '计应44', '机械设计制造及自动化',
'物理科目组', '');
INSERT INTO `students` VALUES ('202200045', '计应45', '机械设计制造及自动化',
'物理科目组', '');
INSERT INTO `students` VALUES ('202200046', '计应46', '计算机应用工程', '物理
科目组', '');
INSERT INTO `students` VALUES ('202200047', '计应47', '机械设计制造及自动化',
'物理科目组', '');
INSERT INTO `students` VALUES ('202200048', '计应48', '酒店管理', '物理科目
组', '');
INSERT INTO `students` VALUES ('202200049', '计应49', '学前教育', '物理科目
组', '');
INSERT INTO `students` VALUES ('202200050', '计应50', '建筑工程', '物理科目
组', '');
INSERT INTO `students` VALUES ('202200051', '计应51', '建筑工程', '物理科目
组', '');
INSERT INTO `students` VALUES ('202200052', '计应52', '大数据与会计', '物理科
目组', '');
INSERT INTO `students` VALUES ('202200053', '计应53', '建筑工程', '物理科目
组', '');
INSERT INTO `students` VALUES ('202200054', '计应54', '大数据与会计', '物理科
目组', '');
INSERT INTO `students` VALUES ('202200055', '计应55', '汽车服务工程技术', '物
理科目组', '');
INSERT INTO `students` VALUES ('202200056', '计应56', '软件工程技术', '物理科
目组', '');
INSERT INTO `students` VALUES ('202200057', '计应57', '油气储运工程', '物理科
目组', '');
INSERT INTO `students` VALUES ('202200058', '计应58', '学前教育', '物理科目
组', '');
INSERT INTO `students` VALUES ('202200059', '计应59', '计算机应用工程', '物理
科目组', '');
INSERT INTO `students` VALUES ('202200060', '计应60', '建筑工程', '物理科目
组', '');
INSERT INTO `students` VALUES ('202200061', '计应61', '酒店管理', '历史科目
组', '');
INSERT INTO `students` VALUES ('202200062', '计应62', '学前教育', '历史科目
组', '');
INSERT INTO `students` VALUES ('202200063', '计应63', '学前教育', '历史科目
组', '');
INSERT INTO `students` VALUES ('202200064', '计应64', '软件工程技术', '物理科
目组', '');
INSERT INTO `students` VALUES ('202200065', '计应65', '机械设计制造及自动化',
'物理科目组', '');
INSERT INTO `students` VALUES ('202200066', '计应66', '软件工程技术', '物理科
目组', '');
INSERT INTO `students` VALUES ('202200067', '计应67', '机械设计制造及自动化',
'物理科目组', '');
INSERT INTO `students` VALUES ('202200068', '计应68', '机械设计制造及自动化',
'物理科目组', '');
INSERT INTO `students` VALUES ('202200069', '计应69', '建筑工程', '物理科目
组', '');
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101