Bootstrap

基于微信小程序的学生公寓生活管理系统+后台管理系统(SSM+mysql)-JAVA.VUE【毕业设计、论文、源码、开题报告】

功能介绍

管理员:首页、个人中心、学生管理、宿管管理、商户管理、公告信息管理、宿舍管理、舍长信息管理、 晚归记录管理、报修申请管理、缴费信息管理、商品中心管理、订单信息管理、系统管理等

普通用户:登录注册、首页,我的(舍长信息、晚归记录、报修申请、缴费信息、订单信息、我的收藏)等

数据库脚本

-- MySQL dump 10.13  Distrib 5.7.31, for Linux (x86_64)
--
-- Host: localhost    Database: ssmopq82
-- ------------------------------------------------------
-- Server version	5.7.31

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Current Database: `ssmopq82`
--

/*!40000 DROP DATABASE IF EXISTS `ssmopq82`*/;

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `ssmopq82` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;

USE `ssmopq82`;

--
-- Table structure for table `baoxiushenqing`
--

DROP TABLE IF EXISTS `baoxiushenqing`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `baoxiushenqing` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `baoxiumingcheng` varchar(200) NOT NULL COMMENT '报修名称',
  `shangbaoshijian` datetime DEFAULT NULL COMMENT '上报时间',
  `xuehao` varchar(200) DEFAULT NULL COMMENT '学号',
  `xueshengxingming` varchar(200) DEFAULT NULL COMMENT '学生姓名',
  `fangjianhao` varchar(200) DEFAULT NULL COMMENT '房间号',
  `sfsh` varchar(200) DEFAULT '否' COMMENT '是否审核',
  `shhf` longtext COMMENT '审核回复',
  `userid` bigint(20) DEFAULT NULL COMMENT '用户id',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=87 DEFAULT CHARSET=utf8 COMMENT='报修申请';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `baoxiushenqing`
--

LOCK TABLES `baoxiushenqing` WRITE;
/*!40000 ALTER TABLE `baoxiushenqing` DISABLE KEYS */;
INSERT INTO `baoxiushenqing` VALUES (81,'2022-04-15 07:56:51','报修名称1','2022-04-15 15:56:51','学号1','学生姓名1','房间号1','是','',1),(82,'2022-04-15 07:56:51','报修名称2','2022-04-15 15:56:51','学号2','学生姓名2','房间号2','是','',2),(83,'2022-04-15 07:56:51','报修名称3','2022-04-15 15:56:51','学号3','学生姓名3','房间号3','是','',3),(84,'2022-04-15 07:56:51','报修名称4','2022-04-15 15:56:51','学号4','学生姓名4','房间号4','是','',4),(85,'2022-04-15 07:56:51','报修名称5','2022-04-15 15:56:51','学号5','学生姓名5','房间号5','是','',5),(86,'2022-04-15 07:56:51','报修名称6','2022-04-15 15:56:51','学号6','学生姓名6','房间号6','是','',6);
/*!40000 ALTER TABLE `baoxiushenqing` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `config`
--

DROP TABLE IF EXISTS `config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `config` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `name` varchar(100) NOT NULL COMMENT '配置参数名称',
  `value` varchar(100) DEFAULT NULL COMMENT '配置参数值',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='配置文件';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `config`
--

LOCK TABLES `config` WRITE;
/*!40000 ALTER TABLE `config` DISABLE KEYS */;
INSERT INTO `config` VALUES (1,'picture1','upload/picture1.jpg'),(2,'picture2','upload/picture2.jpg'),(3,'picture3','upload/picture3.jpg');
/*!40000 ALTER TABLE `config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `dingdanxinxi`
--

DROP TABLE IF EXISTS `dingdanxinxi`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `dingdanxinxi` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `dingdanhao` varchar(200) DEFAULT NULL COMMENT '订单号',
  `tongzhuangshuimingcheng` varchar(200) NOT NULL COMMENT '桶装水名称',
  `fengmian` varchar(200) DEFAULT NULL COMMENT '封面',
  `guigerongliang` varchar(200) NOT NULL COMMENT '规格容量',
  `pinpai` varchar(200) NOT NULL COMMENT '品牌',
  `shanghuzhanghao` varchar(200) DEFAULT NULL COMMENT '商户账号',
  `shanghumingcheng` varchar(200) DEFAULT NULL COMMENT '商户名称',
  `shanghudizhi` varchar(200) DEFAULT NULL COMMENT '商户地址',
  `shanghuhaoma` varchar(200) DEFAULT NULL COMMENT '商户号码',
  `xuehao` varchar(200) DEFAULT NULL COMMENT '学号',
  `xueshengxingming` varchar(200) DEFAULT NULL COMMENT '学生姓名',
  `fangjianhao` varchar(200) DEFAULT NULL COMMENT '房间号',
  `xiadanshijian` datetime DEFAULT NULL COMMENT '下单时间',
  `danjia` int(11) DEFAULT NULL COMMENT '单价',
  `tongshu` int(11) NOT NULL COMMENT '桶数',
  `jine` float DEFAULT NULL COMMENT '金额',
  `sfsh` varchar(200) DEFAULT '否' COMMENT '是否审核',
  `shhf` longtext COMMENT '审核回复',
  `ispay` varchar(200) DEFAULT '未支付' COMMENT '是否支付',
  `userid` bigint(20) DEFAULT NULL COMMENT '用户id',
  PRIMARY KEY (`id`),
  UNIQUE KEY `dingdanhao` (`dingdanhao`)
) ENGINE=InnoDB AUTO_INCREMENT=117 DEFAULT CHARSET=utf8 COMMENT='订单信息';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `dingdanxinxi`
--

LOCK TABLES `dingdanxinxi` WRITE;
/*!40000 ALTER TABLE `dingdanxinxi` DISABLE KEYS */;
INSERT INTO `dingdanxinxi` VALUES (111,'2022-04-15 07:56:51','1111111111','桶装水名称1','upload/dingdanxinxi_fengmian1.jpg','规格容量1','品牌1','商户账号1','商户名称1','商户地址1','商户号码1','学号1','学生姓名1','房间号1','2022-04-15 15:56:51',1,1,1,'是','','未支付',1),(112,'2022-04-15 07:56:51','2222222222','桶装水名称2','upload/dingdanxinxi_fengmian2.jpg','规格容量2','品牌2','商户账号2','商户名称2','商户地址2','商户号码2','学号2','学生姓名2','房间号2','2022-04-15 15:56:51',2,2,2,'是','','未支付',2),(113,'2022-04-15 07:56:51','3333333333','桶装水名称3','upload/dingdanxinxi_fengmian3.jpg','规格容量3','品牌3','商户账号3','商户名称3','商户地址3','商户号码3','学号3','学生姓名3','房间号3','2022-04-15 15:56:51',3,3,3,'是','','未支付',3),(114,'2022-04-15 07:56:51','4444444444','桶装水名称4','upload/dingdanxinxi_fengmian4.jpg','规格容量4','品牌4','商户账号4','商户名称4','商户地址4','商户号码4','学号4','学生姓名4','房间号4','2022-04-15 15:56:51',4,4,4,'是','','未支付',4),(115,'2022-04-15 07:56:51','5555555555','桶装水名称5','upload/dingdanxinxi_fengmian5.jpg','规格容量5','品牌5','商户账号5','商户名称5','商户地址5','商户号码5','学号5','学生姓名5','房间号5','2022-04-15 15:56:51',5,5,5,'是','','未支付',5),(116,'2022-04-15 07:56:51','6666666666','桶装水名称6','upload/dingdanxinxi_fengmian6.jpg','规格容量6','品牌6','商户账号6','商户名称6','商户地址6','商户号码6','学号6','学生姓名6','房间号6','2022-04-15 15:56:51',6,6,6,'是','','未支付',6);
/*!40000 ALTER TABLE `dingdanxinxi` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `discussgonggaoxinxi`
--

DROP TABLE IF EXISTS `discussgonggaoxinxi`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `discussgonggaoxinxi` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `refid` bigint(20) NOT NULL COMMENT '关联表id',
  `userid` bigint(20) NOT NULL COMMENT '用户id',
  `nickname` varchar(200) DEFAULT NULL COMMENT '用户名',
  `content` longtext NOT NULL COMMENT '评论内容',
  `reply` longtext COMMENT '回复内容',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=137 DEFAULT CHARSET=utf8 COMMENT='公告信息评论表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `discussgonggaoxinxi`
--

LOCK TABLES `discussgonggaoxinxi` WRITE;
/*!40000 ALTER TABLE `discussgonggaoxinxi` DISABLE KEYS */;
INSERT INTO `discussgonggaoxinxi` VALUES (131,'2022-04-15 07:56:51',1,1,'用户名1','评论内容1','回复内容1'),(132,'2022-04-15 07:56:51',2,2,'用户名2','评论内容2','回复内容2'),(133,'2022-04-15 07:56:51',3,3,'用户名3','评论内容3','回复内容3'),(134,'2022-04-15 07:56:51',4,4,'用户名4','评论内容4','回复内容4'),(135,'2022-04-15 07:56:51',5,5,'用户名5','评论内容5','回复内容5'),(136,'2022-04-15 07:56:51',6,6,'用户名6','评论内容6','回复内容6');
/*!40000 ALTER TABLE `discussgonggaoxinxi` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `discussshangpinzhongxin`
--

DROP TABLE IF EXISTS `discussshangpinzhongxin`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `discussshangpinzhongxin` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `refid` bigint(20) NOT NULL COMMENT '关联表id',
  `userid` bigint(20) NOT NULL COMMENT '用户id',
  `nickname` varchar(200) DEFAULT NULL COMMENT '用户名',
  `content` longtext NOT NULL COMMENT '评论内容',
  `reply` longtext COMMENT '回复内容',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=147 DEFAULT CHARSET=utf8 COMMENT='商品中心评论表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `discussshangpinzhongxin`
--

LOCK TABLES `discussshangpinzhongxin` WRITE;
/*!40000 ALTER TABLE `discussshangpinzhongxin` DISABLE KEYS */;
INSERT INTO `discussshangpinzhongxin` VALUES (141,'2022-04-15 07:56:51',1,1,'用户名1','评论内容1','回复内容1'),(142,'2022-04-15 07:56:51',2,2,'用户名2','评论内容2','回复内容2'),(143,'2022-04-15 07:56:51',3,3,'用户名3','评论内容3','回复内容3'),(144,'2022-04-15 07:56:51',4,4,'用户名4','评论内容4','回复内容4'),(145,'2022-04-15 07:56:51',5,5,'用户名5','评论内容5','回复内容5'),(146,'2022-04-15 07:56:51',6,6,'用户名6','评论内容6','回复内容6');
/*!40000 ALTER TABLE `discussshangpinzhongxin` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `gonggaoxinxi`
--

DROP TABLE IF EXISTS `gonggaoxinxi`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `gonggaoxinxi` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gonggaomingcheng` varchar(200) DEFAULT NULL COMMENT '公告名称',
  `gonggaoneirong` longtext COMMENT '公告内容',
  `fengmian` varchar(200) DEFAULT NULL COMMENT '封面',
  `faburiqi` date DEFAULT NULL COMMENT '发布日期',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=utf8 COMMENT='公告信息';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `gonggaoxinxi`
--

LOCK TABLES `gonggaoxinxi` WRITE;
/*!40000 ALTER TABLE `gonggaoxinxi` DISABLE KEYS */;
INSERT INTO `gonggaoxinxi` VALUES (41,'2022-04-15 07:56:51','公告名称1','公告内容1','upload/gonggaoxinxi_fengmian1.jpg','2022-04-15'),(42,'2022-04-15 07:56:51','公告名称2','公告内容2','upload/gonggaoxinxi_fengmian2.jpg','2022-04-15'),(43,'2022-04-15 07:56:51','公告名称3','公告内容3','upload/gonggaoxinxi_fengmian3.jpg','2022-04-15'),(44,'2022-04-15 07:56:51','公告名称4','公告内容4','upload/gonggaoxinxi_fengmian4.jpg','2022-04-15'),(45,'2022-04-15 07:56:51','公告名称5','公告内容5','upload/gonggaoxinxi_fengmian5.jpg','2022-04-15'),(46,'2022-04-15 07:56:51','公告名称6','公告内容6','upload/gonggaoxinxi_fengmian6.jpg','2022-04-15');
/*!40000 ALTER TABLE `gonggaoxinxi` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `jiaofeixinxi`
--

DROP TABLE IF EXISTS `jiaofeixinxi`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `jiaofeixinxi` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `jiaofeihao` varchar(200) DEFAULT NULL COMMENT '缴费号',
  `fangjianhao` varchar(200) DEFAULT NULL COMMENT '房间号',
  `xuehao` varchar(200) DEFAULT NULL COMMENT '学号',
  `xueshengxingming` varchar(200) DEFAULT NULL COMMENT '学生姓名',
  `touxiang` varchar(200) DEFAULT NULL COMMENT '头像',
  `gonghao` varchar(200) DEFAULT NULL COMMENT '工号',
  `suguanxingming` varchar(200) DEFAULT NULL COMMENT '宿管姓名',
  `feiyongming` varchar(200) NOT NULL COMMENT '费用名',
  `qingdan` longtext NOT NULL COMMENT '清单',
  `tijiaoriqi` date DEFAULT NULL COMMENT '提交日期',
  `feiyong` float NOT NULL COMMENT '费用',
  `sfsh` varchar(200) DEFAULT '否' COMMENT '是否审核',
  `shhf` longtext COMMENT '审核回复',
  `ispay` varchar(200) DEFAULT '未支付' COMMENT '是否支付',
  `userid` bigint(20) DEFAULT NULL COMMENT '用户id',
  PRIMARY KEY (`id`),
  UNIQUE KEY `jiaofeihao` (`jiaofeihao`)
) ENGINE=InnoDB AUTO_INCREMENT=97 DEFAULT CHARSET=utf8 COMMENT='缴费信息';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `jiaofeixinxi`
--

LOCK TABLES `jiaofeixinxi` WRITE;
/*!40000 ALTER TABLE `jiaofeixinxi` DISABLE KEYS */;
INSERT INTO `jiaofeixinxi` VALUES (91,'2022-04-15 07:56:51','1111111111','房间号1','学号1','学生姓名1','upload/jiaofeixinxi_touxiang1.jpg','工号1','宿管姓名1','费用名1','清单1','2022-04-15',1,'是','','未支付',1),(92,'2022-04-15 07:56:51','2222222222','房间号2','学号2','学生姓名2','upload/jiaofeixinxi_touxiang2.jpg','工号2','宿管姓名2','费用名2','清单2','2022-04-15',2,'是','','未支付',2),(93,'2022-04-15 07:56:51','3333333333','房间号3','学号3','学生姓名3','upload/jiaofeixinxi_touxiang3.jpg','工号3','宿管姓名3','费用名3','清单3','2022-04-15',3,'是','','未支付',3),(94,'2022-04-15 07:56:51','4444444444','房间号4','学号4','学生姓名4','upload/jiaofeixinxi_touxiang4.jpg','工号4','宿管姓名4','费用名4','清单4','2022-04-15',4,'是','','未支付',4),(95,'2022-04-15 07:56:51','5555555555','房间号5','学号5','学生姓名5','upload/jiaofeixinxi_touxiang5.jpg','工号5','宿管姓名5','费用名5','清单5','2022-04-15',5,'是','','未支付',5),(96,'2022-04-15 07:56:51','6666666666','房间号6','学号6','学生姓名6','upload/jiaofeixinxi_touxiang6.jpg','工号6','宿管姓名6','费用名6','清单6','2022-04-15',6,'是','','未支付',6);
/*!40000 ALTER TABLE `jiaofeixinxi` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `shanghu`
--

DROP TABLE IF EXISTS `shanghu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `shanghu` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `shanghuzhanghao` varchar(200) NOT NULL COMMENT '商户账号',
  `shanghumingcheng` varchar(200) NOT NULL COMMENT '商户名称',
  `mima` varchar(200) NOT NULL COMMENT '密码',
  `shanghuhaoma` varchar(200) DEFAULT NULL COMMENT '商户号码',
  `shanghudizhi` varchar(200) DEFAULT NULL COMMENT '商户地址',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8 COMMENT='商户';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `shanghu`
--

LOCK TABLES `shanghu` WRITE;
/*!40000 ALTER TABLE `shanghu` DISABLE KEYS */;
INSERT INTO `shanghu` VALUES (31,'2022-04-15 07:56:51','商户账号1','商户名称1','123456','13823888881','商户地址1'),(32,'2022-04-15 07:56:51','商户账号2','商户名称2','123456','13823888882','商户地址2'),(33,'2022-04-15 07:56:51','商户账号3','商户名称3','123456','13823888883','商户地址3'),(34,'2022-04-15 07:56:51','商户账号4','商户名称4','123456','13823888884','商户地址4'),(35,'2022-04-15 07:56:51','商户账号5','商户名称5','123456','13823888885','商户地址5'),(36,'2022-04-15 07:56:51','商户账号6','商户名称6','123456','13823888886','商户地址6');
/*!40000 ALTER TABLE `shanghu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `shangpinzhongxin`
--

DROP TABLE IF EXISTS `shangpinzhongxin`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `shangpinzhongxin` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `tongzhuangshuimingcheng` varchar(200) NOT NULL COMMENT '桶装水名称',
  `fengmian` varchar(200) DEFAULT NULL COMMENT '封面',
  `guigerongliang` varchar(200) NOT NULL COMMENT '规格容量',
  `pinpai` varchar(200) NOT NULL COMMENT '品牌',
  `danjia` float NOT NULL COMMENT '单价',
  `tongshu` int(11) DEFAULT NULL COMMENT '桶数',
  `xiangqing` longtext COMMENT '详情',
  `shanghuzhanghao` varchar(200) DEFAULT NULL COMMENT '商户账号',
  `shanghumingcheng` varchar(200) DEFAULT NULL COMMENT '商户名称',
  `shanghudizhi` varchar(200) DEFAULT NULL COMMENT '商户地址',
  `shanghuhaoma` varchar(200) DEFAULT NULL COMMENT '商户号码',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=107 DEFAULT CHARSET=utf8 COMMENT='商品中心';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `shangpinzhongxin`
--

LOCK TABLES `shangpinzhongxin` WRITE;
/*!40000 ALTER TABLE `shangpinzhongxin` DISABLE KEYS */;
INSERT INTO `shangpinzhongxin` VALUES (101,'2022-04-15 07:56:51','桶装水名称1','upload/shangpinzhongxin_fengmian1.jpg','规格容量1','品牌1',1,1,'详情1','商户账号1','商户名称1','商户地址1','商户号码1'),(102,'2022-04-15 07:56:51','桶装水名称2','upload/shangpinzhongxin_fengmian2.jpg','规格容量2','品牌2',2,2,'详情2','商户账号2','商户名称2','商户地址2','商户号码2'),(103,'2022-04-15 07:56:51','桶装水名称3','upload/shangpinzhongxin_fengmian3.jpg','规格容量3','品牌3',3,3,'详情3','商户账号3','商户名称3','商户地址3','商户号码3'),(104,'2022-04-15 07:56:51','桶装水名称4','upload/shangpinzhongxin_fengmian4.jpg','规格容量4','品牌4',4,4,'详情4','商户账号4','商户名称4','商户地址4','商户号码4'),(105,'2022-04-15 07:56:51','桶装水名称5','upload/shangpinzhongxin_fengmian5.jpg','规格容量5','品牌5',5,5,'详情5','商户账号5','商户名称5','商户地址5','商户号码5'),(106,'2022-04-15 07:56:51','桶装水名称6','upload/shangpinzhongxin_fengmian6.jpg','规格容量6','品牌6',6,6,'详情6','商户账号6','商户名称6','商户地址6','商户号码6');
/*!40000 ALTER TABLE `shangpinzhongxin` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `shezhangxinxi`
--

DROP TABLE IF EXISTS `shezhangxinxi`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `shezhangxinxi` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `fangjianhao` varchar(200) DEFAULT NULL COMMENT '房间号',
  `xuehao` varchar(200) DEFAULT NULL COMMENT '学号',
  `xueshengxingming` varchar(200) DEFAULT NULL COMMENT '学生姓名',
  `touxiang` varchar(200) DEFAULT NULL COMMENT '头像',
  `gonghao` varchar(200) DEFAULT NULL COMMENT '工号',
  `suguanxingming` varchar(200) DEFAULT NULL COMMENT '宿管姓名',
  `userid` bigint(20) DEFAULT NULL COMMENT '用户id',
  PRIMARY KEY (`id`),
  UNIQUE KEY `fangjianhao` (`fangjianhao`)
) ENGINE=InnoDB AUTO_INCREMENT=67 DEFAULT CHARSET=utf8 COMMENT='舍长信息';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `shezhangxinxi`
--

LOCK TABLES `shezhangxinxi` WRITE;
/*!40000 ALTER TABLE `shezhangxinxi` DISABLE KEYS */;
INSERT INTO `shezhangxinxi` VALUES (61,'2022-04-15 07:56:51','房间号1','学号1','学生姓名1','upload/shezhangxinxi_touxiang1.jpg','工号1','宿管姓名1',1),(62,'2022-04-15 07:56:51','房间号2','学号2','学生姓名2','upload/shezhangxinxi_touxiang2.jpg','工号2','宿管姓名2',2),(63,'2022-04-15 07:56:51','房间号3','学号3','学生姓名3','upload/shezhangxinxi_touxiang3.jpg','工号3','宿管姓名3',3),(64,'2022-04-15 07:56:51','房间号4','学号4','学生姓名4','upload/shezhangxinxi_touxiang4.jpg','工号4','宿管姓名4',4),(65,'2022-04-15 07:56:51','房间号5','学号5','学生姓名5','upload/shezhangxinxi_touxiang5.jpg','工号5','宿管姓名5',5),(66,'2022-04-15 07:56:51','房间号6','学号6','学生姓名6','upload/shezhangxinxi_touxiang6.jpg','工号6','宿管姓名6',6);
/*!40000 ALTER TABLE `shezhangxinxi` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `storeup`
--

DROP TABLE IF EXISTS `storeup`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `storeup` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `userid` bigint(20) NOT NULL COMMENT '用户id',
  `refid` bigint(20) DEFAULT NULL COMMENT '收藏id',
  `tablename` varchar(200) DEFAULT NULL COMMENT '表名',
  `name` varchar(200) NOT NULL COMMENT '收藏名称',
  `picture` varchar(200) NOT NULL COMMENT '收藏图片',
  `type` varchar(200) DEFAULT '1' COMMENT '类型(1:收藏,21:赞,22:踩)',
  `inteltype` varchar(200) DEFAULT NULL COMMENT '推荐类型',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='收藏表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `storeup`
--

LOCK TABLES `storeup` WRITE;
/*!40000 ALTER TABLE `storeup` DISABLE KEYS */;
/*!40000 ALTER TABLE `storeup` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `suguan`
--

DROP TABLE IF EXISTS `suguan`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `suguan` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `gonghao` varchar(200) NOT NULL COMMENT '工号',
  `suguanxingming` varchar(200) NOT NULL COMMENT '宿管姓名',
  `mima` varchar(200) NOT NULL COMMENT '密码',
  `suguanshouji` varchar(200) DEFAULT NULL COMMENT '宿管手机',
  `xingbie` varchar(200) DEFAULT NULL COMMENT '性别',
  `sfsh` varchar(200) DEFAULT '否' COMMENT '是否审核',
  `shhf` longtext COMMENT '审核回复',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8 COMMENT='宿管';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `suguan`
--

LOCK TABLES `suguan` WRITE;
/*!40000 ALTER TABLE `suguan` DISABLE KEYS */;
INSERT INTO `suguan` VALUES (21,'2022-04-15 07:56:51','工号1','宿管姓名1','123456','13823888881','男','是',''),(22,'2022-04-15 07:56:51','工号2','宿管姓名2','123456','13823888882','男','是',''),(23,'2022-04-15 07:56:51','工号3','宿管姓名3','123456','13823888883','男','是',''),(24,'2022-04-15 07:56:51','工号4','宿管姓名4','123456','13823888884','男','是',''),(25,'2022-04-15 07:56:51','工号5','宿管姓名5','123456','13823888885','男','是',''),(26,'2022-04-15 07:56:51','工号6','宿管姓名6','123456','13823888886','男','是','');
/*!40000 ALTER TABLE `suguan` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sushe`
--

DROP TABLE IF EXISTS `sushe`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sushe` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `fangjianhao` varchar(200) NOT NULL COMMENT '房间号',
  `susheweizhi` varchar(200) NOT NULL COMMENT '宿舍位置',
  `susheneibu` longtext NOT NULL COMMENT '宿舍内部',
  `rongnarenshu` int(11) NOT NULL COMMENT '容纳人数',
  PRIMARY KEY (`id`),
  UNIQUE KEY `fangjianhao` (`fangjianhao`)
) ENGINE=InnoDB AUTO_INCREMENT=57 DEFAULT CHARSET=utf8 COMMENT='宿舍';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sushe`
--

LOCK TABLES `sushe` WRITE;
/*!40000 ALTER TABLE `sushe` DISABLE KEYS */;
INSERT INTO `sushe` VALUES (51,'2022-04-15 07:56:51','房间号1','宿舍位置1','宿舍内部1',1),(52,'2022-04-15 07:56:51','房间号2','宿舍位置2','宿舍内部2',2),(53,'2022-04-15 07:56:51','房间号3','宿舍位置3','宿舍内部3',3),(54,'2022-04-15 07:56:51','房间号4','宿舍位置4','宿舍内部4',4),(55,'2022-04-15 07:56:51','房间号5','宿舍位置5','宿舍内部5',5),(56,'2022-04-15 07:56:51','房间号6','宿舍位置6','宿舍内部6',6);
/*!40000 ALTER TABLE `sushe` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `token`
--

DROP TABLE IF EXISTS `token`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `token` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `userid` bigint(20) NOT NULL COMMENT '用户id',
  `username` varchar(100) NOT NULL COMMENT '用户名',
  `tablename` varchar(100) DEFAULT NULL COMMENT '表名',
  `role` varchar(100) DEFAULT NULL COMMENT '角色',
  `token` varchar(200) NOT NULL COMMENT '密码',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '新增时间',
  `expiratedtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '过期时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='token表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `token`
--

LOCK TABLES `token` WRITE;
/*!40000 ALTER TABLE `token` DISABLE KEYS */;
/*!40000 ALTER TABLE `token` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `users`
--

DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `users` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `username` varchar(100) NOT NULL COMMENT '用户名',
  `password` varchar(100) NOT NULL COMMENT '密码',
  `role` varchar(100) DEFAULT '管理员' COMMENT '角色',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '新增时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='用户表';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `users`
--

LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` VALUES (1,'itrjxxs','itrjxxs','管理员','2022-04-15 07:56:51');
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wanguijilu`
--

DROP TABLE IF EXISTS `wanguijilu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wanguijilu` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `xuehao` varchar(200) DEFAULT NULL COMMENT '学号',
  `xueshengxingming` varchar(200) DEFAULT NULL COMMENT '学生姓名',
  `touxiang` varchar(200) DEFAULT NULL COMMENT '头像',
  `shenfenzheng` varchar(200) DEFAULT NULL COMMENT '身份证',
  `fangjianhao` varchar(200) DEFAULT NULL COMMENT '房间号',
  `wanguishijian` datetime DEFAULT NULL COMMENT '晚归时间',
  `wanguiyuanyin` longtext COMMENT '晚归原因',
  `gonghao` varchar(200) DEFAULT NULL COMMENT '工号',
  `suguanxingming` varchar(200) DEFAULT NULL COMMENT '宿管姓名',
  `userid` bigint(20) DEFAULT NULL COMMENT '用户id',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=77 DEFAULT CHARSET=utf8 COMMENT='晚归记录';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wanguijilu`
--

LOCK TABLES `wanguijilu` WRITE;
/*!40000 ALTER TABLE `wanguijilu` DISABLE KEYS */;
INSERT INTO `wanguijilu` VALUES (71,'2022-04-15 07:56:51','学号1','学生姓名1','upload/wanguijilu_touxiang1.jpg','身份证1','房间号1','2022-04-15 15:56:51','晚归原因1','工号1','宿管姓名1',1),(72,'2022-04-15 07:56:51','学号2','学生姓名2','upload/wanguijilu_touxiang2.jpg','身份证2','房间号2','2022-04-15 15:56:51','晚归原因2','工号2','宿管姓名2',2),(73,'2022-04-15 07:56:51','学号3','学生姓名3','upload/wanguijilu_touxiang3.jpg','身份证3','房间号3','2022-04-15 15:56:51','晚归原因3','工号3','宿管姓名3',3),(74,'2022-04-15 07:56:51','学号4','学生姓名4','upload/wanguijilu_touxiang4.jpg','身份证4','房间号4','2022-04-15 15:56:51','晚归原因4','工号4','宿管姓名4',4),(75,'2022-04-15 07:56:51','学号5','学生姓名5','upload/wanguijilu_touxiang5.jpg','身份证5','房间号5','2022-04-15 15:56:51','晚归原因5','工号5','宿管姓名5',5),(76,'2022-04-15 07:56:51','学号6','学生姓名6','upload/wanguijilu_touxiang6.jpg','身份证6','房间号6','2022-04-15 15:56:51','晚归原因6','工号6','宿管姓名6',6);
/*!40000 ALTER TABLE `wanguijilu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `xuesheng`
--

DROP TABLE IF EXISTS `xuesheng`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xuesheng` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `xuehao` varchar(200) NOT NULL COMMENT '学号',
  `xueshengxingming` varchar(200) NOT NULL COMMENT '学生姓名',
  `mima` varchar(200) NOT NULL COMMENT '密码',
  `xueshengshouji` varchar(200) DEFAULT NULL COMMENT '学生手机',
  `xingbie` varchar(200) DEFAULT NULL COMMENT '性别',
  `shenfenzheng` varchar(200) DEFAULT NULL COMMENT '身份证',
  `fangjianhao` varchar(200) DEFAULT NULL COMMENT '房间号',
  `touxiang` varchar(200) DEFAULT NULL COMMENT '头像',
  `sfsh` varchar(200) DEFAULT '否' COMMENT '是否审核',
  `shhf` longtext COMMENT '审核回复',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8 COMMENT='学生';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `xuesheng`
--

LOCK TABLES `xuesheng` WRITE;
/*!40000 ALTER TABLE `xuesheng` DISABLE KEYS */;
INSERT INTO `xuesheng` VALUES (11,'2022-04-15 07:56:51','学号1','学生姓名1','123456','13823888881','男','440300199101010001','房间号1','upload/xuesheng_touxiang1.jpg','是',''),(12,'2022-04-15 07:56:51','学号2','学生姓名2','123456','13823888882','男','440300199202020002','房间号2','upload/xuesheng_touxiang2.jpg','是',''),(13,'2022-04-15 07:56:51','学号3','学生姓名3','123456','13823888883','男','440300199303030003','房间号3','upload/xuesheng_touxiang3.jpg','是',''),(14,'2022-04-15 07:56:51','学号4','学生姓名4','123456','13823888884','男','440300199404040004','房间号4','upload/xuesheng_touxiang4.jpg','是',''),(15,'2022-04-15 07:56:51','学号5','学生姓名5','123456','13823888885','男','440300199505050005','房间号5','upload/xuesheng_touxiang5.jpg','是',''),(16,'2022-04-15 07:56:51','学号6','学生姓名6','123456','13823888886','男','440300199606060006','房间号6','upload/xuesheng_touxiang6.jpg','是','');
/*!40000 ALTER TABLE `xuesheng` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2022-04-19 10:44:15


项目截图

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

;