开发工具:idea (eclipse)
环境:jdk1.8 mysql5.7, navcat
演示视频:
【java毕业设计】基于springboot vue前后端分离的赛事疫情管理系统源码
许多年以前,人们在对数据进行统计和记录时候,使用的是纸和笔,对于大量数据
的记录很不方便,使用的人力物力也很庞大,到了现在,人们对纸和笔的依赖慢慢降低,
在如今的互联网时代,计算机可以代替纸笔记录所需要的数据,它方便快捷并且储存量
大且数据不易毁坏。本系统就是基于为运动会提供便利的原则,不仅可以对运动会赛事
的数据进行记录,还可以进行统筹与安排,节省人力,物力,为参赛人员和管理人提供
便利。
本系统首先分析了国内外赛事管理系统的特点,结合了实际的需求以及报名、成绩
录入过程数据信息的全面分析,使用
IDEA
作为开发工具和
MySQL
最为后台数据库,
然后在对整个赛事进行需求分析的基础上,运动软件工程的方法,对系统进行了分析与
设计,然后给出系统结构图,实体关系图,数据库各个表的设计,通过截图来显示界面
设计,数据库设计以及系统的开发与操作,它不但能完成赛事管理中的基本操作,具有
程序设计合理、利于操作、运行不易出错、安全等特征.
sql文件:
/*
Navicat Premium Data Transfer
Source Server : localhost_3306
Source Server Type : MySQL
Source Server Version : 50625
Source Host : localhost:3306
Source Schema : fm_cems
Target Server Type : MySQL
Target Server Version : 50625
File Encoding : 65001
Date: 04/01/2022 09:48:07
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for bus
-- ----------------------------
DROP TABLE IF EXISTS `bus`;
CREATE TABLE `bus` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增id',
`place_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '地点名称',
`time` bigint(20) NOT NULL COMMENT '班车时间',
`arrangement` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '车辆安排',
`comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '行程备注',
`dbctime` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
`dbutime` datetime(3) NULL DEFAULT CURRENT_TIMESTAMP(3),
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 24 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '班车表' ROW_FORMAT = Compact;
-- ----------------------------
-- Records of bus
-- ----------------------------
INSERT INTO `bus` VALUES (16, '市北车站', 1622550480000, '2辆大巴', '从东赛场往返市北车站', '2022-03-13 20:28:51.227', '2022-03-13 20:28:51.227');
INSERT INTO `bus` VALUES (17, '城南车站', 1621820108118, '3辆20座大巴', '往返赛场与城南', '2022-03-24 09:35:28.881', '2022-03-24 09:35:28.881');
INSERT INTO `bus` VALUES (18, '城市机场', 1621820256827, '1辆2座大巴', '往返城市机场与东赛场', '2022-03-24 09:38:00.123', '2022-03-24 09:38:00.123');
INSERT INTO `bus` VALUES (19, '城市机场', 1621820284018, '1辆20座大巴', '往返城市机场与西赛场', '2022-03-24 09:38:22.432', '2022-03-24 09:38:22.432');
INSERT INTO `bus` VALUES (20, '格林豪泰酒店', 1621824000000, '3辆大巴', '往返格林豪泰酒店与西赛场', '2022-03-24 09:39:16.854', '2022-03-24 09:39:16.854');
INSERT INTO `bus` VALUES (21, '东赛场', 1621823400000, '3辆30座大巴', '往返东赛场与城市机场', '2022-03-24 09:48:40.472', '2022-03-24 09:48:40.472');
INSERT INTO `bus` VALUES (22, '南赛场', 1621820922503, '3辆30座大巴', '往返南赛场与城市客运中心', '2022-03-24 09:49:04.508', '2022-03-24 09:49:04.508');
INSERT INTO `bus` VALUES (23, '西赛场', 1621820948829, '2辆30座大巴', '往返西赛场与城市客运中心', '2022-03-24 09:49:28.736', '2022-03-24 09:49:28.736');
-- ----------------------------
-- Table structure for competition_info
-- ----------------------------
DROP TABLE IF EXISTS `competition_info`;
CREATE TABLE `competition_info` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '赛项id\n',
`name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '赛项名称',
`start_time` bigint(20) NOT NULL COMMENT '比赛开始时间',
`end_time` bigint(20) NOT NULL COMMENT '比赛结束时间',
`place_id` bigint(20) NOT NULL COMMENT '比赛场地id',
`dbctime` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
`dbutime` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 16 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '赛项表' ROW_FORMAT = Compact;
-- ----------------------------
-- Records of competition_info
-- ----------------------------
INSERT INTO `competition_info` VALUES (1, '机器人足球赛', 1620180000000, 1620187200000, 1, '2022-03-05 09:59:48.981', '2022-03-05 09:59:48.981');
INSERT INTO `competition_info` VALUES (2, '机器人竞速赛', 1620180000000, 1620187200000, 2, '2022-03-05 09:59:59.740', '2022-03-05 09:59:59.740');
INSERT INTO `competition_info` VALUES (3, '机器人服务赛', 1620180000000, 1620187200000, 3, '2022-03-05 10:00:03.465', '2022-03-05 10:00:03.465');
INSERT INTO `competition_info` VALUES (4, '光电比赛', 1620884342201, 1620884342201, 6, '2022-03-13 13:47:10.353', '2022-03-13 13:47:10.353');
INSERT INTO `competition_info` VALUES (5, '机器人拳击赛', 1620905520000, 1620905520000, 2, '2022-03-13 19:32:12.010', '2022-03-13 19:32:12.010');
INSERT INTO `competition_info` VALUES (6, '水中探物赛', 1620994800000, 1621081200000, 3, '2022-03-13 20:21:06.908', '2022-03-13 20:21:06.908');
INSERT INTO `competition_info` VALUES (8, '家庭服务机器人赛-实物', 1621816321000, 1621819921264, 2, '2022-03-24 09:32:27.569', '2022-03-24 09:32:27.569');
INSERT INTO `competition_info` VALUES (9, '家庭仿真比赛', 1621823400000, 1621827151000, 2, '2022-03-24 09:33:08.549', '2022-03-24 09:33:08.549');
INSERT INTO `competition_info` VALUES (10, '水中救援赛', 1621906391000, 1621909991000, 1, '2022-03-24 09:33:41.803', '2022-03-24 09:33:41.803');
INSERT INTO `competition_info` VALUES (11, '2D机器人赛', 1621913624000, 1621917224000, 3, '2022-03-24 09:34:17.964', '2022-03-24 09:34:17.964');
INSERT INTO `competition_info` VALUES (12, '3D足球赛', 1622165677000, 1622172877000, 2, '2022-03-24 09:34:58.141', '2022-03-24 09:34:58.141');
INSERT INTO `competition_info` VALUES (13, '2D救援机器人赛', 1621850400000, 1621857600000, 2, '2022-03-24 21:31:18.944', '2022-03-24 21:31:18.944');
INSERT INTO `competition_info` VALUES (14, '机器人搏击半决赛', 1622023200000, 1622030400000, 1, '2022-03-25 20:23:30.600', '2022-03-25 20:23:30.600');
-- ----------------------------
-- Table structure for healthyinfo
-- ----------------------------
DROP TABLE IF EXISTS `healthyinfo`;
CREATE TABLE `healthyinfo` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增id\n',
`user_id` bigint(20) NOT NULL COMMENT '用户id',
`temperature` double NOT NULL COMMENT '体温',
`is_cough` tinyint(1) NOT NULL COMMENT '是否咳嗽',
`is_history` tinyint(1) NULL DEFAULT NULL COMMENT '是否有患病史',
`is_touch` tinyint(1) NOT NULL COMMENT '是否有接触史',
`time` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '登记时间',
`dbctime` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
`dbutime` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 20 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '健康信息上报表\n' ROW_FORMAT = Compact;
-- ----------------------------
-- Records of healthyinfo
-- ----------------------------
INSERT INTO `healthyinfo` VALUES (1, 1, 36.7, 0, 0, 0, '1620106105000', '2022-03-04 13:24:31.605', '2022-03-04 13:24:31.605');
INSERT INTO `healthyinfo` VALUES (2, 5, 36.7, 0, 0, 0, '1620106105000', '2022-03-04 13:24:41.754', '2022-03-04 13:24:41.754');
INSERT INTO `healthyinfo` VALUES (3, 3, 38, 0, 0, 1, '1620106530162', '2022-03-04 13:35:30.528', '2022-03-04 13:35:30.528');
INSERT INTO `healthyinfo` VALUES (4, 4, 38, 0, 0, 1, '1620106535185', '2022-03-04 13:35:35.186', '2022-03-04 13:35:35.186');
INSERT INTO `healthyinfo` VALUES (6, 1, 36.2, 0, 0, 0, '1620632088201', '2022-03-10 15:34:48.202', '2022-03-10 15:34:48.202');
INSERT INTO `healthyinfo` VALUES (7, 5, 36.6, 1, 0, 0, '1620632135053', '2022-03-10 15:35:35.446', '2022-03-10 15:35:35.446');
INSERT INTO `healthyinfo` VALUES (9, 1, 37, 0, 0, 0, '1621517333253', '2022-03-20 21:28:53.254', '2022-03-20 21:28:53.254');
INSERT INTO `healthyinfo` VALUES (10, 1, 37.3, 1, 0, 0, '1621738281900', '2022-03-23 10:51:21.902', '2022-03-23 10:51:21.902');
INSERT INTO `healthyinfo` VALUES (11, 1, 37.1, 0, 1, 0, '1621738642358', '2022-03-23 10:57:22.359', '2022-03-23 10:57:22.359');
INSERT INTO `healthyinfo` VALUES (12, 1, 36.9, 0, 1, 0, '1621738704141', '2022-03-23 10:58:24.142', '2022-03-23 10:58:24.142');
INSERT INTO `healthyinfo` VALUES (13, 3, 37.4, 0, 0, 0, '1621773452695', '2022-03-23 20:37:32.696', '2022-03-23 20:37:32.696');
INSERT INTO `healthyinfo` VALUES (14, 3, 36.9, 1, 0, 0, '1621773493840', '2022-03-23 20:38:13.840', '2022-03-23 20:38:13.840');
INSERT INTO `healthyinfo` VALUES (15, 3, 36.7, 0, 0, 0, '1621774029385', '2022-03-23 20:47:09.385', '2022-03-23 20:47:09.385');
INSERT INTO `healthyinfo` VALUES (16, 11, 37.1, 0, 0, 0, '1621774221726', '2022-03-23 20:50:21.726', '2022-03-23 20:50:21.726');
INSERT INTO `healthyinfo` VALUES (17, 18, 36, 0, 0, 1, '1621774662588', '2022-03-23 20:57:42.588', '2022-03-23 20:57:42.588');
INSERT INTO `healthyinfo` VALUES (18, 18, 36.9, 1, 0, 0, '1621819005207', '2022-03-24 09:16:45.207', '2022-03-24 09:16:45.207');
INSERT INTO `healthyinfo` VALUES (19, 1, 37, 0, 0, 1, '1621945284665', '2022-03-25 20:21:24.666', '2022-03-25 20:21:24.666');
-- ----------------------------
-- Table structure for notice
-- ----------------------------
DROP TABLE IF EXISTS `notice`;
CREATE TABLE `notice` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`notice` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL,
`time` bigint(20) NOT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of notice
-- ----------------------------
INSERT INTO `notice` VALUES (1, '来自安徽大学的李亚州健康状态发生异常,请管理人员及时处理突发状况!', 1621738620407);
INSERT INTO `notice` VALUES (2, '来自安徽大学的李亚州健康状态发生异常,请管理人员及时处理突发状况!', 1621738704152);
INSERT INTO `notice` VALUES (3, '来自安徽大学的方勇健康状态发生异常,请管理人员及时处理突发状况!', 1621773493846);
INSERT INTO `notice` VALUES (4, '来自东南大学的谢思宇健康状态发生异常,请管理人员及时处理突发状况!', 1621774662595);
INSERT INTO `notice` VALUES (5, '来自东南大学的谢思宇健康状态发生异常,请管理人员及时处理突发状况!', 1621819005212);
INSERT INTO `notice` VALUES (6, '来自安徽大学的李亚州健康状态发生异常,请管理人员及时处理突发状况!', 1621945284684);
-- ----------------------------
-- Table structure for organize_arrangement
-- ----------------------------
DROP TABLE IF EXISTS `organize_arrangement`;
CREATE TABLE `organize_arrangement` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增id',
`userId` bigint(20) NOT NULL COMMENT '组织人员id',
`place_id` bigint(20) NOT NULL COMMENT '场地id',
`start_time` bigint(20) NULL DEFAULT NULL COMMENT '组织活动开始时间',
`end_time` bigint(20) NOT NULL COMMENT '组织活动结束时间',
`dbctime` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
`dbutime` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '组织活动安排' ROW_FORMAT = Compact;
-- ----------------------------
-- Records of organize_arrangement
-- ----------------------------
INSERT INTO `organize_arrangement` VALUES (1, 15, 2, 1621675399000, 1621682599129, '2022-03-22 19:23:28.619', '2022-03-22 19:23:28.619');
INSERT INTO `organize_arrangement` VALUES (6, 15, 6, 1620215836000, 1621684636653, '2022-03-22 19:57:26.010', '2022-03-22 19:57:26.010');
INSERT INTO `organize_arrangement` VALUES (7, 16, 3, 1620907048000, 1621684648928, '2022-03-22 19:57:36.253', '2022-03-22 19:57:36.253');
INSERT INTO `organize_arrangement` VALUES (8, 21, 6, 1621814439000, 1621821039172, '2022-03-24 09:50:59.461', '2022-03-24 09:50:59.461');
INSERT INTO `organize_arrangement` VALUES (9, 21, 3, 1621908000000, 1621915200000, '2022-03-24 09:51:28.672', '2022-03-24 09:51:28.672');
INSERT INTO `organize_arrangement` VALUES (10, 15, 6, 1621731600000, 1621738800000, '2022-03-24 09:52:06.012', '2022-03-24 09:52:06.012');
INSERT INTO `organize_arrangement` VALUES (11, 16, 2, 1621990800000, 1621825200000, '2022-03-24 09:52:47.572', '2022-03-24 09:52:47.572');
-- ----------------------------
-- Table structure for participants_info
-- ----------------------------
DROP TABLE IF EXISTS `participants_info`;
CREATE TABLE `participants_info` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增id',
`user_id` bigint(20) UNSIGNED NOT NULL COMMENT '用户id',
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户姓名',
`unit` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '所属单位',
`id_number` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '身份证号',
`come_from` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '来源地',
`dbctime` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) COMMENT '创建时间',
`dbutime` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) COMMENT '更新时间',
PRIMARY KEY (`user_id`) USING BTREE,
UNIQUE INDEX `ID_number`(`id_number`) USING BTREE,
UNIQUE INDEX `participants_info_user_id_uindex`(`user_id`) USING BTREE,
UNIQUE INDEX `participants_info_id_uindex`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 20 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '参赛人员表' ROW_FORMAT = Compact;
-- ----------------------------
-- Records of participants_info
-- ----------------------------
INSERT INTO `participants_info` VALUES (2, 1, '李亚州', '安徽大学', '342921199811062712', '广州', '2022-04-22 23:30:02.974', '2022-04-22 23:30:02.974');
INSERT INTO `participants_info` VALUES (1, 3, '方勇', '安徽大学', '342921199811062711', '安徽', '2022-04-22 23:29:31.062', '2022-04-22 23:29:31.062');
INSERT INTO `participants_info` VALUES (3, 4, '陈欣', '北京大学', '342921199811062722', '北京', '2022-03-03 22:28:50.129', '2022-03-03 22:28:50.129');
INSERT INTO `participants_info` VALUES (5, 5, '方伦', '西安电子科技大学', '342921199811062732', '西安', '2022-03-03 22:32:01.662', '2022-03-03 22:32:01.662');
INSERT INTO `participants_info` VALUES (6, 10, '文伟', '安徽大学', '342921199811062733', '广西', '2022-03-10 10:33:02.836', '2022-03-10 10:33:02.836');
INSERT INTO `participants_info` VALUES (7, 11, '高云庆', '安徽大学', '342921199812062722', '河南', '2022-03-10 10:35:03.506', '2022-03-10 10:35:03.506');
INSERT INTO `participants_info` VALUES (8, 12, '紫川清明', '安徽大学赛事委员会', '34292119980507271X', '安徽', '2022-03-18 13:12:03.774', '2022-03-18 13:12:03.774');
INSERT INTO `participants_info` VALUES (11, 15, '高庆', '安徽大学志愿者中心', '342921199812062729', '云南', '2022-03-22 19:12:56.139', '2022-03-22 19:12:56.139');
INSERT INTO `participants_info` VALUES (12, 16, '梓潼', '安徽大学志愿者中心', '342921199812062770', '上海', '2022-03-22 19:44:56.079', '2022-03-22 19:44:56.079');
INSERT INTO `participants_info` VALUES (14, 18, '谢思宇', '东南大学', '34199119990408271X', '安徽', '2022-03-22 20:27:43.376', '2022-03-22 20:27:43.376');
INSERT INTO `participants_info` VALUES (15, 19, '鲍峰', '东南大学', '31199119960203271', '广东', '2022-03-22 20:33:46.762', '2022-03-22 20:33:46.762');
INSERT INTO `participants_info` VALUES (16, 20, '诸葛锋', '浙江大学', '3419970601271X', '安徽', '2022-03-23 20:22:25.518', '2022-03-23 20:22:25.518');
INSERT INTO `participants_info` VALUES (17, 21, '许彬', '安徽大学志愿者中心', '34192119990708211', '贵州', '2022-03-24 09:50:32.886', '2022-03-24 09:50:32.886');
INSERT INTO `participants_info` VALUES (18, 22, '诸葛平', '安徽大学', '34212119960408291', '浙江', '2022-03-25 20:20:13.266', '2022-03-25 20:20:13.266');
-- ----------------------------
-- Table structure for place_info
-- ----------------------------
DROP TABLE IF EXISTS `place_info`;
CREATE TABLE `place_info` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '场地id\n',
`name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '场地名称',
`dbctime` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
`dbutime` datetime(3) NULL DEFAULT CURRENT_TIMESTAMP(3),
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `place_info_name_uindex`(`name`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '场地表信息' ROW_FORMAT = Compact;
-- ----------------------------
-- Records of place_info
-- ----------------------------
INSERT INTO `place_info` VALUES (1, '东赛场', '2022-03-05 09:57:09.145', '2022-03-05 09:57:09.145');
INSERT INTO `place_info` VALUES (2, '西赛场', '2022-03-05 09:57:15.570', '2022-03-05 09:57:15.570');
INSERT INTO `place_info` VALUES (3, '南赛场', '2022-03-05 09:57:21.102', '2022-03-05 09:57:21.102');
INSERT INTO `place_info` VALUES (6, '北赛场', '2022-03-10 16:03:14.711', '2022-03-10 16:03:14.711');
-- ----------------------------
-- Table structure for registry
-- ----------------------------
DROP TABLE IF EXISTS `registry`;
CREATE TABLE `registry` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增id\n',
`user_id` bigint(20) NOT NULL COMMENT '用户id',
`competition_id` bigint(20) NOT NULL COMMENT '赛项id',
`dbctime` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
`dbutime` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 38 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '报名表' ROW_FORMAT = Compact;
-- ----------------------------
-- Records of registry
-- ----------------------------
INSERT INTO `registry` VALUES (1, 1, 2, '2022-03-05 10:15:50.603', '2022-03-05 10:15:50.603');
INSERT INTO `registry` VALUES (2, 3, 1, '2022-03-05 10:15:57.711', '2022-03-05 10:15:57.711');
INSERT INTO `registry` VALUES (3, 4, 2, '2022-03-05 10:16:04.496', '2022-03-05 10:16:04.496');
INSERT INTO `registry` VALUES (5, 1, 3, '2022-03-21 09:35:25.601', '2022-03-21 09:35:25.601');
INSERT INTO `registry` VALUES (12, 1, 6, '2022-03-24 09:35:49.314', '2022-03-24 09:35:49.314');
INSERT INTO `registry` VALUES (13, 3, 6, '2022-03-24 09:35:55.862', '2022-03-24 09:35:55.862');
INSERT INTO `registry` VALUES (14, 3, 8, '2022-03-24 09:36:00.047', '2022-03-24 09:36:00.047');
INSERT INTO `registry` VALUES (15, 4, 9, '2022-03-24 09:37:08.865', '2022-03-24 09:37:08.865');
INSERT INTO `registry` VALUES (16, 4, 1, '2022-03-24 09:37:13.060', '2022-03-24 09:37:13.060');
INSERT INTO `registry` VALUES (17, 4, 2, '2022-03-24 09:37:16.627', '2022-03-24 09:37:16.627');
INSERT INTO `registry` VALUES (18, 4, 3, '2022-03-24 09:37:21.080', '2022-03-24 09:37:21.080');
INSERT INTO `registry` VALUES (19, 4, 4, '2022-03-24 09:37:25.824', '2022-03-24 09:37:25.824');
INSERT INTO `registry` VALUES (31, 18, 1, '2022-03-25 15:59:51.527', '2022-03-25 15:59:51.527');
INSERT INTO `registry` VALUES (35, 18, 9, '2022-03-25 16:23:26.028', '2022-03-25 16:23:26.028');
INSERT INTO `registry` VALUES (36, 22, 1, '2022-03-26 12:45:35.388', '2022-03-26 12:45:35.388');
INSERT INTO `registry` VALUES (37, 3, 6, '2022-01-04 09:30:45.988', '2022-01-04 09:30:45.988');
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '用户id',
`phone_number` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '电话号码',
`password` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '密码',
`type` tinyint(3) UNSIGNED NOT NULL COMMENT '用户类型',
`dbctime` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) COMMENT '创建时间',
`dbutime` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) COMMENT '更新时间',
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `user_phone_number_uindex`(`phone_number`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 24 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of user
-- ----------------------------
INSERT INTO `user` VALUES (1, '18854456785', '123456', 1, '2022-03-05 19:30:15.076', '2022-03-05 19:30:15.076');
INSERT INTO `user` VALUES (3, '18992333112', '123456', 1, '2022-03-14 17:19:52.845', '2022-03-14 17:19:52.845');
INSERT INTO `user` VALUES (4, '18992333113', '11110', 1, '2022-03-03 12:17:36.389', '2022-03-03 12:17:36.389');
INSERT INTO `user` VALUES (5, '18992333114', '11111', 1, '2022-03-03 12:17:46.254', '2022-03-03 12:17:46.254');
INSERT INTO `user` VALUES (6, '18992333115', '11113', 2, '2022-03-03 12:17:53.493', '2022-03-03 12:17:53.493');
INSERT INTO `user` VALUES (7, '18992333116', '11114', 1, '2022-03-03 12:18:01.516', '2022-03-03 12:18:01.516');
INSERT INTO `user` VALUES (8, '18992333117', '11115', 1, '2022-03-03 12:18:06.488', '2022-03-03 12:18:06.488');
INSERT INTO `user` VALUES (9, '18992333118', '11116', 1, '2022-03-03 12:18:12.320', '2022-03-03 12:18:12.320');
INSERT INTO `user` VALUES (10, '18992333119', '1111111', 1, '2022-03-10 10:33:02.808', '2022-03-10 10:33:02.808');
INSERT INTO `user` VALUES (11, '18992333120', '222222', 1, '2022-03-10 10:35:03.498', '2022-03-10 10:35:03.498');
INSERT INTO `user` VALUES (12, '18100555555', '123456', 3, '2022-03-18 13:11:08.342', '2022-03-18 13:11:08.342');
INSERT INTO `user` VALUES (15, '18992333111', '123456', 2, '2022-03-22 19:12:56.130', '2022-03-22 19:12:56.130');
INSERT INTO `user` VALUES (16, '123456789', '123456', 3, '2022-03-22 19:44:56.073', '2022-03-22 19:44:56.073');
INSERT INTO `user` VALUES (18, '18922211111', '123456', 1, '2022-03-22 20:27:43.364', '2022-03-22 20:27:43.364');
INSERT INTO `user` VALUES (19, '18955550908', '123456', 1, '2022-03-22 20:33:46.755', '2022-03-22 20:33:46.755');
INSERT INTO `user` VALUES (20, '13955608968', '123456', 1, '2022-03-23 20:22:25.499', '2022-03-23 20:22:25.499');
INSERT INTO `user` VALUES (21, '18722291312', '123456', 2, '2022-03-24 09:50:32.884', '2022-03-24 09:50:32.884');
INSERT INTO `user` VALUES (22, '18297956220', '123456', 1, '2022-03-25 20:20:13.248', '2022-03-25 20:20:13.248');
-- ----------------------------
-- Table structure for warn_info
-- ----------------------------
DROP TABLE IF EXISTS `warn_info`;
CREATE TABLE `warn_info` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) NOT NULL,
`is_cough` tinyint(1) NOT NULL,
`is_history` tinyint(1) NOT NULL,
`is_touch` tinyint(1) NOT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `warn_info_user_id_uindex`(`user_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of warn_info
-- ----------------------------
INSERT INTO `warn_info` VALUES (2, 3, 1, 0, 0);
INSERT INTO `warn_info` VALUES (4, 18, 1, 0, 0);
SET FOREIGN_KEY_CHECKS = 1;
本系统主要作用是帮助管理员对运动会赛事进行统筹与安排,减少各种环节上的花
费的时间和精力,能够让不同用户登录同时登录,同时对于不同的用户身份分配了不同
的操作权限。系统功能实现操作员管理、运动员管理、项目分类管理、赛程管理、登记
参赛、成绩录入和成绩统计功能。方便管理员对成绩的录入,方便管理员和运动员对运
动会的信息查询以及修改。
对系统设计来说至关重要的是设计一个比较简介易懂的操作界面。系统设计的不但
系统功能要有实用性,而且操作页面还要简单方便,这样才能够真正的发挥本系统的优
越性,提高工作效率。而在一个系统中,数据库的作用也相当重要,数据库如果结构能
够设计地好,可以很大程度上提高系统效率,反之亦然。而由于本赛事管理系统涉及到
操作员
信息、运动员信息、赛程信息、成绩信息等等,关联的表格比较多,这样数据库
结构设计将是一个难点。一个合理的结构设计,能使其存储的效率得以升高,更为数据
连续而且关系的一致提供了重要的保障。