Bootstrap

基于SpringBoot的宿舍管理系统【附源码】

基于SpringBoot的宿舍管理系统

  • 开发语言:Java
  • 数据库:mysql
  • 技术:SpringBoot+MyBatis
  • 工具:IDEA/Ecilpse+mysql+Navicat

角色:宿管、学生、管理员

  1. 管理员可以对本系统的学生、宿管信息进行管理、以及可以对楼栋、宿舍、入住等进行管理。
  2. 学生可以查看本系统的学生、宿舍,但是没有修改添加删除权限。
  3. 宿管登录本系统可以对本系统的宿舍、入住、学生等信息进行管理。

在这里插入图片描述

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

1 绪论

1.1研究背景

  随着网络不断的普及发展,宿舍管理系统依靠网络技术的支持得到了快速的发展,首先要从管理员和学生的实际需求出发,通过了解管理员和学生的需求开发出具有针对性的宿舍管理功能,利用目前网络给管理员和学生带来的方便快捷这一特点对系统进行调整,设计的系统让学生的使用起来更加方便,本系统的主要目的就是给管理员和学生带来方便,管理员足不出户只要通过计算机就可以进行宿舍管理。同时随着电子商务的发展宿舍管理系统已经受到广大院校的喜爱。

  互联网发展至今,已经解决了很多我们解决不了的难题,使得我们工作更加便捷,提高了我们的工作效率。目前各行各业都在运用网络信息管理程序,不同的人群也都接触到信息管理,特别是在各大电商行业广泛的应运起来。通过对当前网络环境发展的分析与总结,开发宿舍管理系统可以改变以往的宿舍管理方式,改变传统线下宿舍管理的状态,由于人群的不断增多,使用传统的宿舍管理模式已经远远不能满足于用户需求了,而且越来越多的学校也在开通线上管理,所以开发一个宿舍管理系统可以解决学校不利于线下管理的问题,同时学校可以利用网络对球类信息进行管理,设计的网站保证信息的完整安全,这样才能提高工作效率,保证系统安全正常的运行。

1.2研究现状

  在国外他们的信息技术的发展是我国的许多倍,从1946年诞生在美国的世界上第一台计算机开始,国外的信息技术就一直在飞速地发展,一些计算机应用软件也纷纷出现,软件技术也一直在不断完善和更新。软件行业早已遍布各个地方。

  在国内,我国信息技术发展起步比较晚,后期慢慢的不断地进行优化和改革,才让我们的信息技术上升到新的阶段。在现在软件开发的技术经过大量研究和生活实践基本能够达到独立开发系统应用的水平,生活中的各个行业也把软件操作替换成传统的记录模式。软件行业正是现在比较热门的行业。

  随着宿舍管理人数的不断增加,宿舍管理系统也在随着增加,由于宿舍信息的增多,宿舍管理系统能够对宿舍管理进行完整的规划和管理,而且学校也通过网络系统来完成日常管理信息中的各种需求,所以网上宿舍管理系统的开发给人们带来了足够的便利,人们通过系统来满足生活中的需求,因此,由于信息的增加,信息处理系统也随之增加,通过网络来满足现代人群需求。此次开发设计主要是实现宿舍管理系统,结合java技术以及mysql数据库进行设计,弥补目前在线球类购物网站中的不足,来开发出一款即方便又实用的宿舍管理系统,并且设计的程序具有界面整洁、功能强大等特性,从全局来说,宿舍管理系统的设计解决了信息零散、不利于宿舍管理的问题,该系统实现,可以投入到真实环境中,这样不仅能解决以上提及的问题,让信息管理更准则。

1.3研究内容

  该宿舍管理系统的开发和设计施根据用户的实际情况出发,对系统的需求进行了详细的分析,然后进行系统的整体设计,最后通过测试使得系统设计的更加完整,可以实现系统中所有的功能,在开始编写论文之前亲自到图书馆借阅相关书籍,mysql数据库书籍等编程书籍,然后针对开发的宿舍管理系统,去网上查找了很多别人做好的系统,参照他们的设计结果,来对自己的系统进行更加详细的系统的设计,将系统中所有的功能结果一一列举出来,然后进行需求分析,最后对所有的功能模块进行编码,最后完成系统的整体测试,实现系统的正常运行。
系统分析

3.1 可行性分析

在系统开发之初要进行系统可行分析,这样做的目的就是使用最小成本解决最大问题,一旦程序开发满足用户需要,带来的好处也是很多的。下面我们将从技术上、操作上、经济上等方面来考虑这个系统到底值不值得开发。

3.1.1 技术可行性

  本宿舍管理系统采用springboot框架、JAVA编程语言和mysql数据库进行开发设计,作为计算机专业学生,在学校期间就接触到许多关于编程方面的知识,当然也包括各种编程软件,对他们的了解度也比较系统,所以技术开发上面还是有一定把握。

3.1.2经济可行性

  我在设计该系统的时候主要是从节约成本出发,然后进行具体的系统的设计,在系统的设计过程中由于采用的所有工具以及技术支持全部都是免费的,因此不需要有任何的成本就可以进行该系统的设计。所用到的所有资源都是免费的,只要有网络就可以进行下载使用,不需要支付相应的费用,因此该项目在经济方面是完全可以实行的。

3.1.3操作可行性

  本人自己就是学生,程序开发经验不足,在界面设计上面不会设计太复杂,要讲究简单好看,操作上要方便,不能让用户觉得不流畅。用户一旦进入操作界面,界面上就会有相应提示,跟着操作提示就可以找到对应的功能操作模块,对于用户来说免培训就能使用。

  从上面几个部分的可行性分析得出,这次开发的宿舍管理系统在开发上面没有什么大问题,值得开发。

代码

package com.xyf.resolver;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.HandlerExceptionResolver;
import org.springframework.web.servlet.ModelAndView;

import com.xyf.utils.AjaxResult;
import com.xyf.utils.JsonUtils;

/**
 *
 * @author 徐塬峰
 */
@Component
public class XyfHandlerExceptionResolver implements HandlerExceptionResolver {
    private static final Logger logger = LogManager.getLogger(XyfHandlerExceptionResolver.class);

    @Override
    public ModelAndView resolveException(HttpServletRequest request, HttpServletResponse response, Object handler,
            Exception ex) {

        logger.error("服务器出错了!", ex);

        //如果是ajax请求,就返回�?个json格式的出错提示信�?
        if (request.getHeader("X-Requested-With") != null) {
            try {
                response.getWriter().println(JsonUtils.toJson(AjaxResult.errorInstance("服务器出错了")));
            } catch (IOException e) {
                logger.error("服务器响应失败", e);
            }
            //返回�?个空的ModelAndView表示已经手动生成响应
            //return null表示使用默认的处理方式,等于没处�?
            return new ModelAndView();
        } else {
            return new ModelAndView("500");
        }
    }
}

/*
 Navicat Premium Data Transfer

 Source Server         : mysql
 Source Server Type    : MySQL
 Source Server Version : 80027
 Source Host           : localhost:3306
 Source Schema         : ssmbuild

 Target Server Type    : MySQL
 Target Server Version : 80027
 File Encoding         : 65001

 Date: 09/06/2023 12:21:28
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for competition
-- ----------------------------
DROP TABLE IF EXISTS `competition`;
CREATE TABLE `competition`  (
  `competition_id` int NOT NULL,
  `competition_name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `competition_description` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `publication_date` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `submission_deadline` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `sponsor` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  `venue` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
  PRIMARY KEY (`competition_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of competition
-- ----------------------------
INSERT INTO `competition` VALUES (1, '计算机竞赛', '计算机', '2023-5-25', '2023-5-30', '学校', '机房');
INSERT INTO `competition` VALUES (2, 'Competition 2', 'Description 2', '2023-05-30', '2023-06-30', 'Sponsor 2', 'Venue 2');
INSERT INTO `competition` VALUES (3, 'Competition 3', 'Description 3', '2023-05-30', '2023-06-30', 'Sponsor 3', 'Venue 3');
INSERT INTO `competition` VALUES (4, 'Competition 4', 'Description 4', '2023-05-30', '2023-06-30', 'Sponsor 4', 'Venue 4');
INSERT INTO `competition` VALUES (5, 'Competition 5', 'Description 5', '2023-05-30', '2023-06-30', 'Sponsor 5', 'Venue 5');
INSERT INTO `competition` VALUES (6, 'Competition 6', 'Description 6', '2023-05-30', '2023-06-30', 'Sponsor 6', 'Venue 6');
INSERT INTO `competition` VALUES (7, 'Competition 7', 'Description 7', '2023-05-30', '2023-06-30', 'Sponsor 7', 'Venue 7');
INSERT INTO `competition` VALUES (8, 'Competition 8', 'Description 8', '2023-05-30', '2023-06-30', 'Sponsor 8', 'Venue 8');
INSERT INTO `competition` VALUES (9, 'Competition 9', 'Description 9', '2023-05-30', '2023-06-30', 'Sponsor 9', 'Venue 9');
INSERT INTO `competition` VALUES (10, 'Competition 10', 'Description 10', '2023-05-30', '2023-06-30', 'Sponsor 10', 'Venue 10');
INSERT INTO `competition` VALUES (11, 'Competition 11', 'Description 11', '2023-05-30', '2023-06-30', 'Sponsor 11', 'Venue 11');
INSERT INTO `competition` VALUES (12, 'Competition 12', 'Description 12', '2023-05-30', '2023-06-30', 'Sponsor 12', 'Venue 12');
INSERT INTO `competition` VALUES (13, 'Competition 13', 'Description 13', '2023-05-30', '2023-06-30', 'Sponsor 13', 'Venue 13');
INSERT INTO `competition` VALUES (14, 'Competition 14', 'Description 14', '2023-05-30', '2023-06-30', 'Sponsor 14', 'Venue 14');
INSERT INTO `competition` VALUES (15, 'Competition 15', 'Description 15', '2023-05-30', '2023-06-30', 'Sponsor 15', 'Venue 15');
INSERT INTO `competition` VALUES (16, 'Competition 16', 'Description 16', '2023-05-30', '2023-06-30', 'Sponsor 16', 'Venue 16');
INSERT INTO `competition` VALUES (17, 'Competition 17', 'Description 17', '2023-05-30', '2023-06-30', 'Sponsor 17', 'Venue 17');
INSERT INTO `competition` VALUES (18, 'Competition 18', 'Description 18', '2023-05-30', '2023-06-30', 'Sponsor 18', 'Venue 18');
INSERT INTO `competition` VALUES (19, 'Competition 19', 'Description 19', '2023-05-30', '2023-06-30', 'Sponsor 19', 'Venue 19');
INSERT INTO `competition` VALUES (20, 'Competition 20', 'Description 20', '2023-05-30', '2023-06-30', 'Sponsor 20', 'Venue 20');
INSERT INTO `competition` VALUES (21, 'Competition 21', 'Description 21', '2023-05-30', '2023-06-30', 'Sponsor 21', 'Venue 21');
INSERT INTO `competition` VALUES (22, 'Competition 22', 'Description 22', '2023-05-30', '2023-06-30', 'Sponsor 22', 'Venue 22');
INSERT INTO `competition` VALUES (23, 'Competition 23', 'Description 23', '2023-05-30', '2023-06-30', 'Sponsor 23', 'Venue 23');
INSERT INTO `competition` VALUES (24, 'Competition 24', 'Description 24', '2023-05-30', '2023-06-30', 'Sponsor 24', 'Venue 24');
INSERT INTO `competition` VALUES (25, 'Competition 25', 'Description 25', '2023-05-30', '2023-06-30', 'Sponsor 25', 'Venue 25');
INSERT INTO `competition` VALUES (26, 'Competition 26', 'Description 26', '2023-05-30', '2023-06-30', 'Sponsor 26', 'Venue 26');
INSERT INTO `competition` VALUES (27, 'Competition 27', 'Description 27', '2023-05-30', '2023-06-30', 'Sponsor 27', 'Venue 27');
INSERT INTO `competition` VALUES (28, 'Competition 28', 'Description 28', '2023-05-30', '2023-06-30', 'Sponsor 28', 'Venue 28');
INSERT INTO `competition` VALUES (29, 'Competition 29', 'Description 29', '2023-05-30', '2023-06-30', 'Sponsor 29', 'Venue 29');
INSERT INTO `competition` VALUES (30, 'Competition 30', 'Description 30', '2023-05-30', '2023-06-30', 'Sponsor 30', 'Venue 30');
INSERT INTO `competition` VALUES (31, 'Competition 31', 'Description 31', '2023-05-30', '2023-06-30', 'Sponsor 31', 'Venue 31');
INSERT INTO `competition` VALUES (32, 'Competition 32', 'Description 32', '2023-05-30', '2023-06-30', 'Sponsor 32', 'Venue 32');
INSERT INTO `competition` VALUES (33, 'Competition 33', 'Description 33', '2023-05-30', '2023-06-30', 'Sponsor 33', 'Venue 33');
INSERT INTO `competition` VALUES (34, 'Competition 34', 'Description 34', '2023-05-30', '2023-06-30', 'Sponsor 34', 'Venue 34');
INSERT INTO `competition` VALUES (35, 'Competition 35', 'Description 35', '2023-05-30', '2023-06-30', 'Sponsor 35', 'Venue 35');
INSERT INTO `competition` VALUES (36, 'Competition 36', 'Description 36', '2023-05-30', '2023-06-30', 'Sponsor 36', 'Venue 36');
INSERT INTO `competition` VALUES (37, 'Competition 37', 'Description 37', '2023-05-30', '2023-06-30', 'Sponsor 37', 'Venue 37');
INSERT INTO `competition` VALUES (38, 'Competition 38', 'Description 38', '2023-05-30', '2023-06-30', 'Sponsor 38', 'Venue 38');
INSERT INTO `competition` VALUES (39, 'Competition 39', 'Description 39', '2023-05-30', '2023-06-30', 'Sponsor 39', 'Venue 39');
INSERT INTO `competition` VALUES (40, 'Competition 40', 'Description 40', '2023-05-30', '2023-06-30', 'Sponsor 40', 'Venue 40');
INSERT INTO `competition` VALUES (41, 'Competition 41', 'Description 41', '2023-05-30', '2023-06-30', 'Sponsor 41', 'Venue 41');
INSERT INTO `competition` VALUES (42, 'Competition 42', 'Description 42', '2023-05-30', '2023-06-30', 'Sponsor 42', 'Venue 42');
INSERT INTO `competition` VALUES (43, 'Competition 43', 'Description 43', '2023-05-30', '2023-06-30', 'Sponsor 43', 'Venue 43');
INSERT INTO `competition` VALUES (44, 'Competition 44', 'Description 44', '2023-05-30', '2023-06-30', 'Sponsor 44', 'Venue 44');
INSERT INTO `competition` VALUES (45, 'Competition 45', 'Description 45', '2023-05-30', '2023-06-30', 'Sponsor 45', 'Venue 45');
INSERT INTO `competition` VALUES (46, 'Competition 46', 'Description 46', '2023-05-30', '2023-06-30', 'Sponsor 46', 'Venue 46');
INSERT INTO `competition` VALUES (47, 'Competition 47', 'Description 47', '2023-05-30', '2023-06-30', 'Sponsor 47', 'Venue 47');
INSERT INTO `competition` VALUES (48, 'Competition 48', 'Description 48', '2023-05-30', '2023-06-30', 'Sponsor 48', 'Venue 48');
INSERT INTO `competition` VALUES (49, 'Competition 49', 'Description 49', '2023-05-30', '2023-06-30', 'Sponsor 49', 'Venue 49');
INSERT INTO `competition` VALUES (50, 'Competition 50', 'Description 50', '2023-05-30', '2023-06-30', 'Sponsor 50', 'Venue 50');
INSERT INTO `competition` VALUES (51, 'Competition 51', 'Description 51', '2023-05-30', '2023-06-30', 'Sponsor 51', 'Venue 51');
INSERT INTO `competition` VALUES (52, 'Competition 52', 'Description 52', '2023-05-30', '2023-06-30', 'Sponsor 52', 'Venue 52');
INSERT INTO `competition` VALUES (53, 'Competition 53', 'Description 53', '2023-05-30', '2023-06-30', 'Sponsor 53', 'Venue 53');
INSERT INTO `competition` VALUES (54, 'Competition 54', 'Description 54', '2023-05-30', '2023-06-30', 'Sponsor 54', 'Venue 54');
INSERT INTO `competition` VALUES (55, 'Competition 55', 'Description 55', '2023-05-30', '2023-06-30', 'Sponsor 55', 'Venue 55');
INSERT INTO `competition` VALUES (56, 'Competition 56', 'Description 56', '2023-05-30', '2023-06-30', 'Sponsor 56', 'Venue 56');
INSERT INTO `competition` VALUES (57, 'Competition 57', 'Description 57', '2023-05-30', '2023-06-30', 'Sponsor 57', 'Venue 57');
INSERT INTO `competition` VALUES (58, 'Competition 58', 'Description 58', '2023-05-30', '2023-06-30', 'Sponsor 58', 'Venue 58');
INSERT INTO `competition` VALUES (59, 'Competition 59', 'Description 59', '2023-05-30', '2023-06-30', 'Sponsor 59', 'Venue 59');
INSERT INTO `competition` VALUES (60, 'Competition 60', 'Description 60', '2023-05-30', '2023-06-30', 'Sponsor 60', 'Venue 60');
INSERT INTO `competition` VALUES (61, 'Competition 61', 'Description 61', '2023-05-30', '2023-06-30', 'Sponsor 61', 'Venue 61');
INSERT INTO `competition` VALUES (62, 'Competition 62', 'Description 62', '2023-05-30', '2023-06-30', 'Sponsor 62', 'Venue 62');
INSERT INTO `competition` VALUES (63, 'Competition 63', 'Description 63', '2023-05-30', '2023-06-30', 'Sponsor 63', 'Venue 63');
INSERT INTO `competition` VALUES (64, 'Competition 64', 'Description 64', '2023-05-30', '2023-06-30', 'Sponsor 64', 'Venue 64');
INSERT INTO `competition` VALUES (65, 'Competition 65', 'Description 65', '2023-05-30', '2023-06-30', 'Sponsor 65', 'Venue 65');
INSERT INTO `competition` VALUES (66, 'Competition 66', 'Description 66', '2023-05-30', '2023-06-30', 'Sponsor 66', 'Venue 66');
INSERT INTO `competition` VALUES (67, 'Competition 67', 'Description 67', '2023-05-30', '2023-06-30', 'Sponsor 67', 'Venue 67');
INSERT INTO `competition` VALUES (68, 'Competition 68', 'Description 68', '2023-05-30', '2023-06-30', 'Sponsor 68', 'Venue 68');
INSERT INTO `competition` VALUES (69, 'Competition 69', 'Description 69', '2023-05-30', '2023-06-30', 'Sponsor 69', 'Venue 69');
INSERT INTO `competition` VALUES (70, 'Competition 70', 'Description 70', '2023-05-30', '2023-06-30', 'Sponsor 70', 'Venue 70');
INSERT INTO `competition` VALUES (71, 'Competition 71', 'Description 71', '2023-05-30', '2023-06-30', 'Sponsor 71', 'Venue 71');
INSERT INTO `competition` VALUES (72, 'Competition 72', 'Description 72', '2023-05-30', '2023-06-30', 'Sponsor 72', 'Venue 72');
INSERT INTO `competition` VALUES (73, 'Competition 73', 'Description 73', '2023-05-30', '2023-06-30', 'Sponsor 73', 'Venue 73');
INSERT INTO `competition` VALUES (74, 'Competition 74', 'Description 74', '2023-05-30', '2023-06-30', 'Sponsor 74', 'Venue 74');
INSERT INTO `competition` VALUES (75, 'Competition 75', 'Description 75', '2023-05-30', '2023-06-30', 'Sponsor 75', 'Venue 75');
INSERT INTO `competition` VALUES (76, 'Competition 76', 'Description 76', '2023-05-30', '2023-06-30', 'Sponsor 76', 'Venue 76');
INSERT INTO `competition` VALUES (77, 'Competition 77', 'Description 77', '2023-05-30', '2023-06-30', 'Sponsor 77', 'Venue 77');
INSERT INTO `competition` VALUES (78, 'Competition 78', 'Description 78', '2023-05-30', '2023-06-30', 'Sponsor 78', 'Venue 78');
INSERT INTO `competition` VALUES (79, 'Competition 79', 'Description 79', '2023-05-30', '2023-06-30', 'Sponsor 79', 'Venue 79');
INSERT INTO `competition` VALUES (80, 'Competition 80', 'Description 80', '2023-05-30', '2023-06-30', 'Sponsor 80', 'Venue 80');
INSERT INTO `competition` VALUES (81, 'Competition 81', 'Description 81', '2023-05-30', '2023-06-30', 'Sponsor 81', 'Venue 81');
INSERT INTO `competition` VALUES (82, 'Competition 82', 'Description 82', '2023-05-30', '2023-06-30', 'Sponsor 82', 'Venue 82');
INSERT INTO `competition` VALUES (83, 'Competition 83', 'Description 83', '2023-05-30', '2023-06-30', 'Sponsor 83', 'Venue 83');
INSERT INTO `competition` VALUES (84, 'Competition 84', 'Description 84', '2023-05-30', '2023-06-30', 'Sponsor 84', 'Venue 84');
INSERT INTO `competition` VALUES (85, 'Competition 85', 'Description 85', '2023-05-30', '2023-06-30', 'Sponsor 85', 'Venue 85');
INSERT INTO `competition` VALUES (86, 'Competition 86', 'Description 86', '2023-05-30', '2023-06-30', 'Sponsor 86', 'Venue 86');
INSERT INTO `competition` VALUES (87, 'Competition 87', 'Description 87', '2023-05-30', '2023-06-30', 'Sponsor 87', 'Venue 87');
INSERT INTO `competition` VALUES (88, 'Competition 88', 'Description 88', '2023-05-30', '2023-06-30', 'Sponsor 88', 'Venue 88');
INSERT INTO `competition` VALUES (89, 'Competition 89', 'Description 89', '2023-05-30', '2023-06-30', 'Sponsor 89', 'Venue 89');
INSERT INTO `competition` VALUES (90, 'Competition 90', 'Description 90', '2023-05-30', '2023-06-30', 'Sponsor 90', 'Venue 90');
INSERT INTO `competition` VALUES (91, 'Competition 91', 'Description 91', '2023-05-30', '2023-06-30', 'Sponsor 91', 'Venue 91');
INSERT INTO `competition` VALUES (92, 'Competition 92', 'Description 92', '2023-05-30', '2023-06-30', 'Sponsor 92', 'Venue 92');
INSERT INTO `competition` VALUES (93, 'Competition 93', 'Description 93', '2023-05-30', '2023-06-30', 'Sponsor 93', 'Venue 93');
INSERT INTO `competition` VALUES (94, 'Competition 94', 'Description 94', '2023-05-30', '2023-06-30', 'Sponsor 94', 'Venue 94');
INSERT INTO `competition` VALUES (95, 'Competition 95', 'Description 95', '2023-05-30', '2023-06-30', 'Sponsor 95', 'Venue 95');
INSERT INTO `competition` VALUES (96, 'Competition 96', 'Description 96', '2023-05-30', '2023-06-30', 'Sponsor 96', 'Venue 96');
INSERT INTO `competition` VALUES (97, 'Competition 97', 'Description 97', '2023-05-30', '2023-06-30', 'Sponsor 97', 'Venue 97');
INSERT INTO `competition` VALUES (98, 'Competition 98', 'Description 98', '2023-05-30', '2023-06-30', 'Sponsor 98', 'Venue 98');
INSERT INTO `competition` VALUES (99, 'Competition 99', 'Description 99', '2023-05-30', '2023-06-30', 'Sponsor 99', 'Venue 99');
INSERT INTO `competition` VALUES (100, 'Competition 100', 'Description 100', '2023-05-30', '2023-06-30', 'Sponsor 100', 'Venue 100');
INSERT INTO `competition` VALUES (101, 'Competition 101', 'Description 101', '2023-05-30', '2023-06-30', 'Sponsor 101', 'Venue 101');
INSERT INTO `competition` VALUES (102, 'Competition 102', 'Description 102', '2023-05-30', '2023-06-30', 'Sponsor 102', 'Venue 102');
INSERT INTO `competition` VALUES (103, 'Competition 103', 'Description 103', '2023-05-30', '2023-06-30', 'Sponsor 103', 'Venue 103');
INSERT INTO `competition` VALUES (104, 'Competition 104', 'Description 104', '2023-05-30', '2023-06-30', 'Sponsor 104', 'Venue 104');
INSERT INTO `competition` VALUES (105, 'Competition 105', 'Description 105', '2023-05-30', '2023-06-30', 'Sponsor 105', 'Venue 105');
INSERT INTO `competition` VALUES (106, 'Competition 106', 'Description 106', '2023-05-30', '2023-06-30', 'Sponsor 106', 'Venue 106');
INSERT INTO `competition` VALUES (107, 'Competition 107', 'Description 107', '2023-05-30', '2023-06-30', 'Sponsor 107', 'Venue 107');
INSERT INTO `competition` VALUES (108, 'Competition 108', 'Description 108', '2023-05-30', '2023-06-30', 'Sponsor 108', 'Venue 108');
INSERT INTO `competition` VALUES (109, 'Competition 109', 'Description 109', '2023-05-30', '2023-06-30', 'Sponsor 109', 'Venue 109');
INSERT INTO `competition` VALUES (110, 'Competition 110', 'Description 110', '2023-05-30', '2023-06-30', 'Sponsor 110', 'Venue 110');
INSERT INTO `competition` VALUES (111, 'Competition 111', 'Description 111', '2023-05-30', '2023-06-30', 'Sponsor 111', 'Venue 111');

SET FOREIGN_KEY_CHECKS = 1;

总结

  管理员可以对本系统的学生、宿管信息进行管理、以及可以对楼栋、宿舍、入住等进行管理。学生可以查看本系统的学生、宿舍,但是没有修改添加删除权限。宿管登录本系统可以对本系统的宿舍、入住、学生等信息进行管理。

;