博主介绍:✌从事软件开发10年之余,专注于Java技术领域、Python人工智能及数据挖掘、小程序项目开发和Android项目开发等。CSDN、掘金、华为云、InfoQ、阿里云等平台优质作者✌
文末获取源码联系
精彩专栏推荐订阅 不然下次找不到哟
————————————————
计算机毕业设计《1000套》✌
目录
1、项目介绍及开发技术
1.1 项目介绍
1.2 开发技术
2、系统功能设计结构图
3、功能截图
3.1 管理员模块
3.2 物业管理模块
3.3 业主模块
3.4 维修员模块
4、数据库表结构设计
5、关键代码
5.1 物业管理Controller模块
5.2 物业管理Service模块
5.3 物业管理ServiceImpl模块
5.4 物业管理Dao模块
6、论文目录结构
7、源码获取
1、项目介绍及开发技术
对于当今社会的人们来说,物业管理系统是必不可少的,随着经济和技术的不断发展,计算机已经深入到各个领域。物业管理系统将人们的时间需求与计算机技术结合起来,架起一座桥梁,使物业管理更加方便快捷。物业管理系统主要为人们提供系统化、个性化、专业化的服务,以提高人们的愉悦感。互联网发展的越来越快了,在当下社会节点,人们也开始越来越喜爱物业管理。通过互联网可以对小区信息、车位信息、缴费信息等方式全面加强管理,极大地满足物业管理系统在现代管理中的要求。如果想实现简单快捷方便的物业管理,即时生效,无需重新打印。这时仅仅需要在背景中单击鼠标,它将立刻更新点击处一整行的所有内容。物业管理系统使用了B/S模式,并且不需要安装第四方插件,他们甚至能直接在手机上随机随地实现物业管理,还能实现更加准确的提供物业管理系统。而网络却并不会像电话那样一次只能传输一次,效率低下还间连不断,每当处于高峰时段,用网络来处理信息也就会更加的容易。我们甚至可以通过宣传让更多的潜在用户知道。
Java开发语言、SpringBoot、MyBatisPlus、MySQL数据库、Maven、IDEA开发工具、JDK1.8+、Vue、HTML、CSS、JS。
2、系统功能设计结构图
3、功能截图
系统登录,在登录页面选择权限,在正确输入用户名、密码后,进入操作系统进行操作。
管理员进入主页面,主要功能包括对系统首页、个人中心、物业管理、业主管理、维修员管理、小区公告管理、小区信息管理、房产信息管理、车位信息管理、停车位管理、停车信息管理、缴费信息管理、投诉分类管理、投诉信息管理、投诉处理管理、报修信息管理、维修处理管理、服务评价管理、活动信息管理等进行操作。
管理员点击物业管理。在物业管理页面输入账号可以查询,新增或删除物业管理列表,并根据需要对物业管理详情信息进行查看详情、修改或删除操作。
管理员点击业主管理。在业主页面输入用户名可以查询、新增或删除业主列表,并根据需要对业主详情信息进行查看详情、修改或删除操作。
管理员点击维修员管理。在维修员页面输入工号、姓名和性别可以查询、新增或删除维修员列表,并根据需要对维修员详情信息进行查看详情、修改或删除操作。
管理员点击小区信息管理。在小区信息页面输入小区名称、小区类型和物业名称可以查询或删除小区信息列表,并根据需要对小区信息详情信息进行查看详情、修改或删除操作。
管理员点击车位信息管理。在车位信息页面输入车位区号、车位编号和类型可以查询或删除车位信息列表,并根据需要对车位信息详情信息进行查看详情、修改或删除操作。
管理员点击停车位管理。在停车位页面输入车场名称、车位区号、车位编号、车场类型和状态可以查询或删除停车位列表,并根据需要对停车位详情信息进行查看详情、修改或删除操作。
管理员点击缴费信息管理。在缴费信息页面输入订单编号、缴费名称和业主姓名可以查询或删除缴费信息列表,并根据需要对缴费信息详情信息进行查看详情、修改或删除操作。
管理员点击服务评价管理。在服务评价页面输入名称、姓名和服务评价可以查询或删除服务评价列表,并根据需要对服务评价详情信息进行查看详情、修改或删除操作。
物业管理进入主页面,主要功能包括对系统首页、个人中心、业主管理、小区公告管理、小区信息管理、房产信息管理、车位信息管理、停车位管理、停车信息管理、缴费信息管理、投诉信息管理、投诉处理管理、报修信息管理、维修处理管理、服务评价管理、活动信息管理等功能进行操作。
物业管理点击小区公告管理。在小区公告页面输入标题、类型和发布时间可以查询、新增或删除小区公告列表,并根据需要对小区公告详情信息进行查看详情、修改或删除操作。
物业管理点击房产信息管理。在房产信息页面输入房产名、房屋类型、单元号、楼栋和房屋状态可以查询、新增或删除房产信息列表,并根据需要对房产信息详情信息进行查看详情、修改、发货或删除操作。
物业管理点击停车信息管理。在停车信息页面输入车位区号和车位编号可以查询或删除停车信息列表,并根据需要对停车信息详情信息进行查看详情或删除操作。
物业管理点击投诉处理管理。在投诉处理页面输入投诉分类、处理时间和业主姓名可以查询或删除投诉处理列表,并根据需要对投诉处理详情信息进行查看详情、修改或删除操作。
物业管理点击活动信息管理。在活动信息页面输入活动名称和活动类型可以查询、新增或删除活动信息列表,并根据需要对活动信息详情信息进行查看详情、修改或删除操作。
业主进入主页面,主要功能包括对系统首页、个人中心、小区公告管理、小区信息管理、车位信息管理、停车位管理、停车信息管理、缴费信息管理、投诉信息管理、投诉处理管理、报修信息管理、维修处理管理、服务评价管理、活动信息管理等功能进行操作。
业主点击停车位管理。在停车位页面输入车场名称、车位区号、车位编号、车场类型和状态可以查询停车位列表,并根据需要对停车位详情信息进行查看详情或停车操作。
业主点击投诉信息管理。在投诉信息页面输入投诉分类、投诉时间、业主姓名和处理状态可以查询、新增或删除投诉信息列表,并根据需要对投诉信息详情信息进行查看详情、修改或删除操作。
维修员进入主页面,主要功能包括对系统首页、个人中心、报修信息管理、维修处理管理、服务评价管理等功能进行操作。
维修员点击报修信息管理。在报修信息页面输入报修物品、报修日期和处理状态可以查询报修信息列表,并根据需要对报修信息详情信息进行查看详情或处理操作。
维修员点击维修处理管理。在维修处理页面输入报修物品、业主姓名和处理时间可以查询或删除维修处理列表,并根据需要对维修处理详情信息进行查看详情、修改、评价或删除操作。
4、数据库表结构设计
-- MySQL dump 10.13 Distrib 5.7.31, for Linux (x86_64)
--
-- Host: localhost Database: springboot78ahx
-- ------------------------------------------------------
-- 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: `springboot78ahx`
--
/*!40000 DROP DATABASE IF EXISTS `springboot78ahx`*/;
CREATE DATABASE /*!32312 IF NOT EXISTS*/ `springboot78ahx` /*!40100 DEFAULT CHARACTER SET utf8mb4 */;
USE `springboot78ahx`;
--
-- Table structure for table `baoxiuxinxi`
--
DROP TABLE IF EXISTS `baoxiuxinxi`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `baoxiuxinxi` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`mingcheng` varchar(200) NOT NULL COMMENT '名称',
`baoxiuwupin` varchar(200) NOT NULL COMMENT '报修物品',
`baoxiuwenti` longtext COMMENT '报修问题',
`baoxiuriqi` date DEFAULT NULL COMMENT '报修日期',
`yonghuming` varchar(200) DEFAULT NULL COMMENT '用户名',
`yezhuxingming` varchar(200) DEFAULT NULL COMMENT '业主姓名',
`suoshuxiaoqu` varchar(200) DEFAULT NULL COMMENT '所属小区',
`chulizhuangtai` varchar(200) DEFAULT NULL COMMENT '处理状态',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=139 DEFAULT CHARSET=utf8 COMMENT='报修信息';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `baoxiuxinxi`
--
LOCK TABLES `baoxiuxinxi` WRITE;
/*!40000 ALTER TABLE `baoxiuxinxi` DISABLE KEYS */;
INSERT INTO `baoxiuxinxi` VALUES (131,'2023-03-31 05:56:12','名称1','报修物品1','报修问题1','2023-03-31','用户名1','业主姓名1','所属小区1','已处理'),(132,'2023-03-31 05:56:12','名称2','报修物品2','报修问题2','2023-03-31','用户名2','业主姓名2','所属小区2','已处理'),(133,'2023-03-31 05:56:12','名称3','报修物品3','报修问题3','2023-03-31','用户名3','业主姓名3','所属小区3','已处理'),(134,'2023-03-31 05:56:12','名称4','报修物品4','报修问题4','2023-03-31','用户名4','业主姓名4','所属小区4','已处理'),(135,'2023-03-31 05:56:12','名称5','报修物品5','报修问题5','2023-03-31','用户名5','业主姓名5','所属小区5','已处理'),(136,'2023-03-31 05:56:12','名称6','报修物品6','报修问题6','2023-03-31','用户名6','业主姓名6','所属小区6','已处理'),(137,'2023-03-31 05:56:12','名称7','报修物品7','报修问题7','2023-03-31','用户名7','业主姓名7','所属小区7','已处理'),(138,'2023-03-31 05:56:12','名称8','报修物品8','报修问题8','2023-03-31','用户名8','业主姓名8','所属小区8','已处理');
/*!40000 ALTER TABLE `baoxiuxinxi` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `cheweixinxi`
--
DROP TABLE IF EXISTS `cheweixinxi`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cheweixinxi` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`cheweiquhao` varchar(200) NOT NULL COMMENT '车位区号',
`cheweibianhao` varchar(200) NOT NULL COMMENT '车位编号',
`leixing` varchar(200) NOT NULL COMMENT '类型',
`yonghuming` varchar(200) NOT NULL COMMENT '用户名',
`yezhuxingming` varchar(200) DEFAULT NULL COMMENT '业主姓名',
`cheweifei` float NOT NULL COMMENT '车位费',
`suoshuxiaoqu` varchar(200) NOT NULL COMMENT '所属小区',
`beizhushuoming` longtext NOT NULL COMMENT '备注说明',
PRIMARY KEY (`id`),
UNIQUE KEY `cheweibianhao` (`cheweibianhao`)
) ENGINE=InnoDB AUTO_INCREMENT=79 DEFAULT CHARSET=utf8 COMMENT='车位信息';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `cheweixinxi`
--
LOCK TABLES `cheweixinxi` WRITE;
/*!40000 ALTER TABLE `cheweixinxi` DISABLE KEYS */;
INSERT INTO `cheweixinxi` VALUES (71,'2023-03-31 05:56:12','车位区号1','车位编号1','购买','用户名1','业主姓名1',1,'所属小区1','备注说明1'),(72,'2023-03-31 05:56:12','车位区号2','车位编号2','购买','用户名2','业主姓名2',2,'所属小区2','备注说明2'),(73,'2023-03-31 05:56:12','车位区号3','车位编号3','购买','用户名3','业主姓名3',3,'所属小区3','备注说明3'),(74,'2023-03-31 05:56:12','车位区号4','车位编号4','购买','用户名4','业主姓名4',4,'所属小区4','备注说明4'),(75,'2023-03-31 05:56:12','车位区号5','车位编号5','购买','用户名5','业主姓名5',5,'所属小区5','备注说明5'),(76,'2023-03-31 05:56:12','车位区号6','车位编号6','购买','用户名6','业主姓名6',6,'所属小区6','备注说明6'),(77,'2023-03-31 05:56:12','车位区号7','车位编号7','购买','用户名7','业主姓名7',7,'所属小区7','备注说明7'),(78,'2023-03-31 05:56:12','车位区号8','车位编号8','购买','用户名8','业主姓名8',8,'所属小区8','备注说明8');
/*!40000 ALTER TABLE `cheweixinxi` 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 `fangchanxinxi`
--
DROP TABLE IF EXISTS `fangchanxinxi`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `fangchanxinxi` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`fangwubianhao` varchar(200) DEFAULT NULL COMMENT '房屋编号',
`fangchanming` varchar(200) NOT NULL COMMENT '房产名',
`fangwuleixing` varchar(200) DEFAULT NULL COMMENT '房屋类型',
`danyuanhao` varchar(200) DEFAULT NULL COMMENT '单元号',
`loudong` varchar(200) DEFAULT NULL COMMENT '楼栋',
`shoujia` float DEFAULT NULL COMMENT '售价',
`jianzhunianfen` varchar(200) DEFAULT NULL COMMENT '建筑年份',
`fengge` varchar(200) DEFAULT NULL COMMENT '风格',
`fangwumianji` varchar(200) NOT NULL COMMENT '房屋面积',
`fangwuchaoxiang` varchar(200) DEFAULT NULL COMMENT '房屋朝向',
`fangwudizhi` varchar(200) DEFAULT NULL COMMENT '房屋地址',
`suoshuxiaoqu` varchar(200) DEFAULT NULL COMMENT '所属小区',
`fangwuzhuangtai` varchar(200) NOT NULL COMMENT '房屋状态',
PRIMARY KEY (`id`),
UNIQUE KEY `fangwubianhao` (`fangwubianhao`)
) ENGINE=InnoDB AUTO_INCREMENT=69 DEFAULT CHARSET=utf8 COMMENT='房产信息';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `fangchanxinxi`
--
LOCK TABLES `fangchanxinxi` WRITE;
/*!40000 ALTER TABLE `fangchanxinxi` DISABLE KEYS */;
INSERT INTO `fangchanxinxi` VALUES (61,'2023-03-31 05:56:12','1111111111','房产名1','房屋类型1','单元号1','楼栋1',1,'建筑年份1','风格1','房屋面积1','房屋朝向1','房屋地址1','所属小区1','房屋状态1'),(62,'2023-03-31 05:56:12','2222222222','房产名2','房屋类型2','单元号2','楼栋2',2,'建筑年份2','风格2','房屋面积2','房屋朝向2','房屋地址2','所属小区2','房屋状态2'),(63,'2023-03-31 05:56:12','3333333333','房产名3','房屋类型3','单元号3','楼栋3',3,'建筑年份3','风格3','房屋面积3','房屋朝向3','房屋地址3','所属小区3','房屋状态3'),(64,'2023-03-31 05:56:12','4444444444','房产名4','房屋类型4','单元号4','楼栋4',4,'建筑年份4','风格4','房屋面积4','房屋朝向4','房屋地址4','所属小区4','房屋状态4'),(65,'2023-03-31 05:56:12','5555555555','房产名5','房屋类型5','单元号5','楼栋5',5,'建筑年份5','风格5','房屋面积5','房屋朝向5','房屋地址5','所属小区5','房屋状态5'),(66,'2023-03-31 05:56:12','6666666666','房产名6','房屋类型6','单元号6','楼栋6',6,'建筑年份6','风格6','房屋面积6','房屋朝向6','房屋地址6','所属小区6','房屋状态6'),(67,'2023-03-31 05:56:12','7777777777','房产名7','房屋类型7','单元号7','楼栋7',7,'建筑年份7','风格7','房屋面积7','房屋朝向7','房屋地址7','所属小区7','房屋状态7'),(68,'2023-03-31 05:56:12','8888888888','房产名8','房屋类型8','单元号8','楼栋8',8,'建筑年份8','风格8','房屋面积8','房屋朝向8','房屋地址8','所属小区8','房屋状态8');
/*!40000 ALTER TABLE `fangchanxinxi` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `fuwupingjia`
--
DROP TABLE IF EXISTS `fuwupingjia`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `fuwupingjia` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`mingcheng` varchar(200) DEFAULT NULL COMMENT '名称',
`gonghao` varchar(200) DEFAULT NULL COMMENT '工号',
`xingming` varchar(200) DEFAULT NULL COMMENT '姓名',
`fuwupingjia` varchar(200) NOT NULL COMMENT '服务评价',
`yijianpingjia` longtext NOT NULL COMMENT '意见评价',
`pingjiashijian` datetime DEFAULT NULL COMMENT '评价时间',
`yonghuming` varchar(200) DEFAULT NULL COMMENT '用户名',
`yezhuxingming` varchar(200) DEFAULT NULL COMMENT '业主姓名',
`suoshuxiaoqu` varchar(200) DEFAULT NULL COMMENT '所属小区',
`crossuserid` bigint(20) DEFAULT NULL COMMENT '跨表用户id',
`crossrefid` bigint(20) DEFAULT NULL COMMENT '跨表主键id',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=159 DEFAULT CHARSET=utf8 COMMENT='服务评价';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `fuwupingjia`
--
LOCK TABLES `fuwupingjia` WRITE;
/*!40000 ALTER TABLE `fuwupingjia` DISABLE KEYS */;
INSERT INTO `fuwupingjia` VALUES (151,'2023-03-31 05:56:12','名称1','工号1','姓名1','很不满意','意见评价1','2023-03-31 13:56:12','用户名1','业主姓名1','所属小区1',1,1),(152,'2023-03-31 05:56:12','名称2','工号2','姓名2','很不满意','意见评价2','2023-03-31 13:56:12','用户名2','业主姓名2','所属小区2',2,2),(153,'2023-03-31 05:56:12','名称3','工号3','姓名3','很不满意','意见评价3','2023-03-31 13:56:12','用户名3','业主姓名3','所属小区3',3,3),(154,'2023-03-31 05:56:12','名称4','工号4','姓名4','很不满意','意见评价4','2023-03-31 13:56:12','用户名4','业主姓名4','所属小区4',4,4),(155,'2023-03-31 05:56:12','名称5','工号5','姓名5','很不满意','意见评价5','2023-03-31 13:56:12','用户名5','业主姓名5','所属小区5',5,5),(156,'2023-03-31 05:56:12','名称6','工号6','姓名6','很不满意','意见评价6','2023-03-31 13:56:12','用户名6','业主姓名6','所属小区6',6,6),(157,'2023-03-31 05:56:12','名称7','工号7','姓名7','很不满意','意见评价7','2023-03-31 13:56:12','用户名7','业主姓名7','所属小区7',7,7),(158,'2023-03-31 05:56:12','名称8','工号8','姓名8','很不满意','意见评价8','2023-03-31 13:56:12','用户名8','业主姓名8','所属小区8',8,8);
/*!40000 ALTER TABLE `fuwupingjia` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `huodongxinxi`
--
DROP TABLE IF EXISTS `huodongxinxi`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `huodongxinxi` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`huodongmingcheng` varchar(200) NOT NULL COMMENT '活动名称',
`huodongleixing` varchar(200) NOT NULL COMMENT '活动类型',
`huodongshijian` varchar(200) DEFAULT NULL COMMENT '活动时间',
`suoshuxiaoqu` varchar(200) DEFAULT NULL COMMENT '所属小区',
`huodongdizhi` varchar(200) DEFAULT NULL COMMENT '活动地址',
`huodongjieguo` longtext COMMENT '活动结果',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=169 DEFAULT CHARSET=utf8 COMMENT='活动信息';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `huodongxinxi`
--
LOCK TABLES `huodongxinxi` WRITE;
/*!40000 ALTER TABLE `huodongxinxi` DISABLE KEYS */;
INSERT INTO `huodongxinxi` VALUES (161,'2023-03-31 05:56:12','活动名称1','活动类型1','活动时间1','所属小区1','活动地址1','活动结果1'),(162,'2023-03-31 05:56:12','活动名称2','活动类型2','活动时间2','所属小区2','活动地址2','活动结果2'),(163,'2023-03-31 05:56:12','活动名称3','活动类型3','活动时间3','所属小区3','活动地址3','活动结果3'),(164,'2023-03-31 05:56:12','活动名称4','活动类型4','活动时间4','所属小区4','活动地址4','活动结果4'),(165,'2023-03-31 05:56:12','活动名称5','活动类型5','活动时间5','所属小区5','活动地址5','活动结果5'),(166,'2023-03-31 05:56:12','活动名称6','活动类型6','活动时间6','所属小区6','活动地址6','活动结果6'),(167,'2023-03-31 05:56:12','活动名称7','活动类型7','活动时间7','所属小区7','活动地址7','活动结果7'),(168,'2023-03-31 05:56:12','活动名称8','活动类型8','活动时间8','所属小区8','活动地址8','活动结果8');
/*!40000 ALTER TABLE `huodongxinxi` 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 '创建时间',
`dingdanbianhao` varchar(200) DEFAULT NULL COMMENT '订单编号',
`jiaofeimingcheng` varchar(200) DEFAULT NULL COMMENT '缴费名称',
`yonghuming` varchar(200) NOT NULL COMMENT '用户名',
`yezhuxingming` varchar(200) DEFAULT NULL COMMENT '业主姓名',
`suoshuxiaoqu` varchar(200) DEFAULT NULL COMMENT '所属小区',
`jiaofeileixing` varchar(200) DEFAULT NULL COMMENT '缴费类型',
`jiaofeimingxi` longtext NOT NULL COMMENT '缴费明细',
`xujiaojine` float NOT NULL COMMENT '需缴金额',
`fabushijian` datetime DEFAULT NULL COMMENT '发布时间',
`ispay` varchar(200) DEFAULT '未支付' COMMENT '是否支付',
PRIMARY KEY (`id`),
UNIQUE KEY `dingdanbianhao` (`dingdanbianhao`)
) ENGINE=InnoDB AUTO_INCREMENT=99 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,'2023-03-31 05:56:12','1111111111','缴费名称1','用户名1','业主姓名1','所属小区1','物业费','',1,'2023-03-31 13:56:12','未支付'),(92,'2023-03-31 05:56:12','2222222222','缴费名称2','用户名2','业主姓名2','所属小区2','物业费','',2,'2023-03-31 13:56:12','未支付'),(93,'2023-03-31 05:56:12','3333333333','缴费名称3','用户名3','业主姓名3','所属小区3','物业费','',3,'2023-03-31 13:56:12','未支付'),(94,'2023-03-31 05:56:12','4444444444','缴费名称4','用户名4','业主姓名4','所属小区4','物业费','',4,'2023-03-31 13:56:12','未支付'),(95,'2023-03-31 05:56:12','5555555555','缴费名称5','用户名5','业主姓名5','所属小区5','物业费','',5,'2023-03-31 13:56:12','未支付'),(96,'2023-03-31 05:56:12','6666666666','缴费名称6','用户名6','业主姓名6','所属小区6','物业费','',6,'2023-03-31 13:56:12','未支付'),(97,'2023-03-31 05:56:12','7777777777','缴费名称7','用户名7','业主姓名7','所属小区7','物业费','',7,'2023-03-31 13:56:12','未支付'),(98,'2023-03-31 05:56:12','8888888888','缴费名称8','用户名8','业主姓名8','所属小区8','物业费','',8,'2023-03-31 13:56:12','未支付');
/*!40000 ALTER TABLE `jiaofeixinxi` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tingchewei`
--
DROP TABLE IF EXISTS `tingchewei`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tingchewei` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`chechangmingcheng` varchar(200) NOT NULL COMMENT '车场名称',
`cheweiquhao` varchar(200) NOT NULL COMMENT '车位区号',
`cheweibianhao` varchar(200) NOT NULL COMMENT '车位编号',
`chechangleixing` varchar(200) NOT NULL COMMENT '车场类型',
`suoshuxiaoqu` varchar(200) DEFAULT NULL COMMENT '所属小区',
`zhuangtai` varchar(200) DEFAULT NULL COMMENT '状态',
PRIMARY KEY (`id`),
UNIQUE KEY `cheweibianhao` (`cheweibianhao`)
) ENGINE=InnoDB AUTO_INCREMENT=89 DEFAULT CHARSET=utf8 COMMENT='停车位';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tingchewei`
--
LOCK TABLES `tingchewei` WRITE;
/*!40000 ALTER TABLE `tingchewei` DISABLE KEYS */;
INSERT INTO `tingchewei` VALUES (81,'2023-03-31 05:56:12','车场名称1','车位区号1','车位编号1','车场类型1','所属小区1','已出售'),(82,'2023-03-31 05:56:12','车场名称2','车位区号2','车位编号2','车场类型2','所属小区2','已出售'),(83,'2023-03-31 05:56:12','车场名称3','车位区号3','车位编号3','车场类型3','所属小区3','已出售'),(84,'2023-03-31 05:56:12','车场名称4','车位区号4','车位编号4','车场类型4','所属小区4','已出售'),(85,'2023-03-31 05:56:12','车场名称5','车位区号5','车位编号5','车场类型5','所属小区5','已出售'),(86,'2023-03-31 05:56:12','车场名称6','车位区号6','车位编号6','车场类型6','所属小区6','已出售'),(87,'2023-03-31 05:56:12','车场名称7','车位区号7','车位编号7','车场类型7','所属小区7','已出售'),(88,'2023-03-31 05:56:12','车场名称8','车位区号8','车位编号8','车场类型8','所属小区8','已出售');
/*!40000 ALTER TABLE `tingchewei` 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 AUTO_INCREMENT=2 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 */;
INSERT INTO `token` VALUES (1,1,'admin','users','管理员','1gevtm86ibhzr1gjj1i0shak5jao79ur','2023-03-31 05:57:26','2023-03-31 06:57:27');
/*!40000 ALTER TABLE `token` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tousuchuli`
--
DROP TABLE IF EXISTS `tousuchuli`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tousuchuli` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`biaoti` varchar(200) NOT NULL COMMENT '标题',
`tousufenlei` varchar(200) NOT NULL COMMENT '投诉分类',
`chulijieguo` longtext COMMENT '处理结果',
`chulishijian` date DEFAULT NULL COMMENT '处理时间',
`yonghuming` varchar(200) DEFAULT NULL COMMENT '用户名',
`yezhuxingming` varchar(200) DEFAULT NULL COMMENT '业主姓名',
`suoshuxiaoqu` varchar(200) DEFAULT NULL COMMENT '所属小区',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=129 DEFAULT CHARSET=utf8 COMMENT='投诉处理';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tousuchuli`
--
LOCK TABLES `tousuchuli` WRITE;
/*!40000 ALTER TABLE `tousuchuli` DISABLE KEYS */;
INSERT INTO `tousuchuli` VALUES (121,'2023-03-31 05:56:12','标题1','投诉分类1','处理结果1','2023-03-31','用户名1','业主姓名1','所属小区1'),(122,'2023-03-31 05:56:12','标题2','投诉分类2','处理结果2','2023-03-31','用户名2','业主姓名2','所属小区2'),(123,'2023-03-31 05:56:12','标题3','投诉分类3','处理结果3','2023-03-31','用户名3','业主姓名3','所属小区3'),(124,'2023-03-31 05:56:12','标题4','投诉分类4','处理结果4','2023-03-31','用户名4','业主姓名4','所属小区4'),(125,'2023-03-31 05:56:12','标题5','投诉分类5','处理结果5','2023-03-31','用户名5','业主姓名5','所属小区5'),(126,'2023-03-31 05:56:12','标题6','投诉分类6','处理结果6','2023-03-31','用户名6','业主姓名6','所属小区6'),(127,'2023-03-31 05:56:12','标题7','投诉分类7','处理结果7','2023-03-31','用户名7','业主姓名7','所属小区7'),(128,'2023-03-31 05:56:12','标题8','投诉分类8','处理结果8','2023-03-31','用户名8','业主姓名8','所属小区8');
/*!40000 ALTER TABLE `tousuchuli` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tousufenlei`
--
DROP TABLE IF EXISTS `tousufenlei`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tousufenlei` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`tousufenlei` varchar(200) NOT NULL COMMENT '投诉分类',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=109 DEFAULT CHARSET=utf8 COMMENT='投诉分类';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tousufenlei`
--
LOCK TABLES `tousufenlei` WRITE;
/*!40000 ALTER TABLE `tousufenlei` DISABLE KEYS */;
INSERT INTO `tousufenlei` VALUES (101,'2023-03-31 05:56:12','投诉分类1'),(102,'2023-03-31 05:56:12','投诉分类2'),(103,'2023-03-31 05:56:12','投诉分类3'),(104,'2023-03-31 05:56:12','投诉分类4'),(105,'2023-03-31 05:56:12','投诉分类5'),(106,'2023-03-31 05:56:12','投诉分类6'),(107,'2023-03-31 05:56:12','投诉分类7'),(108,'2023-03-31 05:56:12','投诉分类8');
/*!40000 ALTER TABLE `tousufenlei` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tousuxinxi`
--
DROP TABLE IF EXISTS `tousuxinxi`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tousuxinxi` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`biaoti` varchar(200) NOT NULL COMMENT '标题',
`tousufenlei` varchar(200) NOT NULL COMMENT '投诉分类',
`tousuneirong` longtext COMMENT '投诉内容',
`tousushijian` date DEFAULT NULL COMMENT '投诉时间',
`yonghuming` varchar(200) DEFAULT NULL COMMENT '用户名',
`yezhuxingming` varchar(200) DEFAULT NULL COMMENT '业主姓名',
`suoshuxiaoqu` varchar(200) DEFAULT NULL COMMENT '所属小区',
`chulizhuangtai` varchar(200) DEFAULT NULL COMMENT '处理状态',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=119 DEFAULT CHARSET=utf8 COMMENT='投诉信息';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tousuxinxi`
--
LOCK TABLES `tousuxinxi` WRITE;
/*!40000 ALTER TABLE `tousuxinxi` DISABLE KEYS */;
INSERT INTO `tousuxinxi` VALUES (111,'2023-03-31 05:56:12','标题1','投诉分类1','投诉内容1','2023-03-31','用户名1','业主姓名1','所属小区1','已处理'),(112,'2023-03-31 05:56:12','标题2','投诉分类2','投诉内容2','2023-03-31','用户名2','业主姓名2','所属小区2','已处理'),(113,'2023-03-31 05:56:12','标题3','投诉分类3','投诉内容3','2023-03-31','用户名3','业主姓名3','所属小区3','已处理'),(114,'2023-03-31 05:56:12','标题4','投诉分类4','投诉内容4','2023-03-31','用户名4','业主姓名4','所属小区4','已处理'),(115,'2023-03-31 05:56:12','标题5','投诉分类5','投诉内容5','2023-03-31','用户名5','业主姓名5','所属小区5','已处理'),(116,'2023-03-31 05:56:12','标题6','投诉分类6','投诉内容6','2023-03-31','用户名6','业主姓名6','所属小区6','已处理'),(117,'2023-03-31 05:56:12','标题7','投诉分类7','投诉内容7','2023-03-31','用户名7','业主姓名7','所属小区7','已处理'),(118,'2023-03-31 05:56:12','标题8','投诉分类8','投诉内容8','2023-03-31','用户名8','业主姓名8','所属小区8','已处理');
/*!40000 ALTER TABLE `tousuxinxi` 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,'admin','admin','管理员','2023-03-31 05:56:12');
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `weixiuchuli`
--
DROP TABLE IF EXISTS `weixiuchuli`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `weixiuchuli` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`mingcheng` varchar(200) NOT NULL COMMENT '名称',
`baoxiuwupin` varchar(200) NOT NULL COMMENT '报修物品',
`yonghuming` varchar(200) DEFAULT NULL COMMENT '用户名',
`yezhuxingming` varchar(200) DEFAULT NULL COMMENT '业主姓名',
`suoshuxiaoqu` varchar(200) DEFAULT NULL COMMENT '所属小区',
`chulijieguo` longtext COMMENT '处理结果',
`chulishijian` date DEFAULT NULL COMMENT '处理时间',
`gonghao` varchar(200) DEFAULT NULL COMMENT '工号',
`xingming` varchar(200) DEFAULT NULL COMMENT '姓名',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=149 DEFAULT CHARSET=utf8 COMMENT='维修处理';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `weixiuchuli`
--
LOCK TABLES `weixiuchuli` WRITE;
/*!40000 ALTER TABLE `weixiuchuli` DISABLE KEYS */;
INSERT INTO `weixiuchuli` VALUES (141,'2023-03-31 05:56:12','名称1','报修物品1','用户名1','业主姓名1','所属小区1','处理结果1','2023-03-31','工号1','姓名1'),(142,'2023-03-31 05:56:12','名称2','报修物品2','用户名2','业主姓名2','所属小区2','处理结果2','2023-03-31','工号2','姓名2'),(143,'2023-03-31 05:56:12','名称3','报修物品3','用户名3','业主姓名3','所属小区3','处理结果3','2023-03-31','工号3','姓名3'),(144,'2023-03-31 05:56:12','名称4','报修物品4','用户名4','业主姓名4','所属小区4','处理结果4','2023-03-31','工号4','姓名4'),(145,'2023-03-31 05:56:12','名称5','报修物品5','用户名5','业主姓名5','所属小区5','处理结果5','2023-03-31','工号5','姓名5'),(146,'2023-03-31 05:56:12','名称6','报修物品6','用户名6','业主姓名6','所属小区6','处理结果6','2023-03-31','工号6','姓名6'),(147,'2023-03-31 05:56:12','名称7','报修物品7','用户名7','业主姓名7','所属小区7','处理结果7','2023-03-31','工号7','姓名7'),(148,'2023-03-31 05:56:12','名称8','报修物品8','用户名8','业主姓名8','所属小区8','处理结果8','2023-03-31','工号8','姓名8');
/*!40000 ALTER TABLE `weixiuchuli` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `weixiuyuan`
--
DROP TABLE IF EXISTS `weixiuyuan`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `weixiuyuan` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`gonghao` varchar(200) NOT NULL COMMENT '工号',
`mima` varchar(200) NOT NULL COMMENT '密码',
`xingming` varchar(200) DEFAULT NULL COMMENT '姓名',
`xingbie` varchar(200) DEFAULT NULL COMMENT '性别',
`nianling` varchar(200) DEFAULT NULL COMMENT '年龄',
`suoshuxiaoqu` varchar(200) DEFAULT NULL COMMENT '所属小区',
`youxiang` varchar(200) DEFAULT NULL COMMENT '邮箱',
`dianhua` varchar(200) DEFAULT NULL COMMENT '电话',
PRIMARY KEY (`id`),
UNIQUE KEY `gonghao` (`gonghao`)
) ENGINE=InnoDB AUTO_INCREMENT=39 DEFAULT CHARSET=utf8 COMMENT='维修员';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `weixiuyuan`
--
LOCK TABLES `weixiuyuan` WRITE;
/*!40000 ALTER TABLE `weixiuyuan` DISABLE KEYS */;
INSERT INTO `weixiuyuan` VALUES (31,'2023-03-31 05:56:12','工号1','e10adc3949ba59abbe56e057f20f883e','姓名1','男','年龄1','所属小区1','[email protected]','13823888881'),(32,'2023-03-31 05:56:12','工号2','e10adc3949ba59abbe56e057f20f883e','姓名2','男','年龄2','所属小区2','[email protected]','13823888882'),(33,'2023-03-31 05:56:12','工号3','e10adc3949ba59abbe56e057f20f883e','姓名3','男','年龄3','所属小区3','[email protected]','13823888883'),(34,'2023-03-31 05:56:12','工号4','e10adc3949ba59abbe56e057f20f883e','姓名4','男','年龄4','所属小区4','[email protected]','13823888884'),(35,'2023-03-31 05:56:12','工号5','e10adc3949ba59abbe56e057f20f883e','姓名5','男','年龄5','所属小区5','[email protected]','13823888885'),(36,'2023-03-31 05:56:12','工号6','e10adc3949ba59abbe56e057f20f883e','姓名6','男','年龄6','所属小区6','[email protected]','13823888886'),(37,'2023-03-31 05:56:12','工号7','e10adc3949ba59abbe56e057f20f883e','姓名7','男','年龄7','所属小区7','[email protected]','13823888887'),(38,'2023-03-31 05:56:12','工号8','e10adc3949ba59abbe56e057f20f883e','姓名8','男','年龄8','所属小区8','[email protected]','13823888888');
/*!40000 ALTER TABLE `weixiuyuan` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `wuyeguanli`
--
DROP TABLE IF EXISTS `wuyeguanli`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `wuyeguanli` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`zhanghao` varchar(200) NOT NULL COMMENT '账号',
`mima` varchar(200) NOT NULL COMMENT '密码',
`xingming` varchar(200) DEFAULT NULL COMMENT '姓名',
`xingbie` varchar(200) DEFAULT NULL COMMENT '性别',
`nianling` varchar(200) DEFAULT NULL COMMENT '年龄',
`suoshuxiaoqu` varchar(200) DEFAULT NULL COMMENT '所属小区',
`youxiang` varchar(200) DEFAULT NULL COMMENT '邮箱',
`dianhua` varchar(200) DEFAULT NULL COMMENT '电话',
PRIMARY KEY (`id`),
UNIQUE KEY `zhanghao` (`zhanghao`)
) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8 COMMENT='物业管理';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `wuyeguanli`
--
LOCK TABLES `wuyeguanli` WRITE;
/*!40000 ALTER TABLE `wuyeguanli` DISABLE KEYS */;
INSERT INTO `wuyeguanli` VALUES (11,'2023-03-31 05:56:12','账号1','e10adc3949ba59abbe56e057f20f883e','姓名1','男','年龄1','所属小区1','[email protected]','13823888881'),(12,'2023-03-31 05:56:12','账号2','e10adc3949ba59abbe56e057f20f883e','姓名2','男','年龄2','所属小区2','[email protected]','13823888882'),(13,'2023-03-31 05:56:12','账号3','e10adc3949ba59abbe56e057f20f883e','姓名3','男','年龄3','所属小区3','[email protected]','13823888883'),(14,'2023-03-31 05:56:12','账号4','e10adc3949ba59abbe56e057f20f883e','姓名4','男','年龄4','所属小区4','[email protected]','13823888884'),(15,'2023-03-31 05:56:12','账号5','e10adc3949ba59abbe56e057f20f883e','姓名5','男','年龄5','所属小区5','[email protected]','13823888885'),(16,'2023-03-31 05:56:12','账号6','e10adc3949ba59abbe56e057f20f883e','姓名6','男','年龄6','所属小区6','[email protected]','13823888886'),(17,'2023-03-31 05:56:12','账号7','e10adc3949ba59abbe56e057f20f883e','姓名7','男','年龄7','所属小区7','[email protected]','13823888887'),(18,'2023-03-31 05:56:12','账号8','e10adc3949ba59abbe56e057f20f883e','姓名8','男','年龄8','所属小区8','[email protected]','13823888888');
/*!40000 ALTER TABLE `wuyeguanli` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `xiaoqugonggao`
--
DROP TABLE IF EXISTS `xiaoqugonggao`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xiaoqugonggao` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`biaoti` varchar(200) NOT NULL COMMENT '标题',
`leixing` varchar(200) NOT NULL COMMENT '类型',
`tupian` longtext COMMENT '图片',
`suoshuxiaoqu` varchar(200) DEFAULT NULL COMMENT '所属小区',
`gonggaoneirong` longtext COMMENT '公告内容',
`fabushijian` date DEFAULT NULL COMMENT '发布时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=utf8 COMMENT='小区公告';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `xiaoqugonggao`
--
LOCK TABLES `xiaoqugonggao` WRITE;
/*!40000 ALTER TABLE `xiaoqugonggao` DISABLE KEYS */;
INSERT INTO `xiaoqugonggao` VALUES (41,'2023-03-31 05:56:12','标题1','公告','upload/xiaoqugonggao_tupian1.jpg,upload/xiaoqugonggao_tupian2.jpg,upload/xiaoqugonggao_tupian3.jpg','所属小区1','公告内容1','2023-03-31'),(42,'2023-03-31 05:56:12','标题2','公告','upload/xiaoqugonggao_tupian2.jpg,upload/xiaoqugonggao_tupian3.jpg,upload/xiaoqugonggao_tupian4.jpg','所属小区2','公告内容2','2023-03-31'),(43,'2023-03-31 05:56:12','标题3','公告','upload/xiaoqugonggao_tupian3.jpg,upload/xiaoqugonggao_tupian4.jpg,upload/xiaoqugonggao_tupian5.jpg','所属小区3','公告内容3','2023-03-31'),(44,'2023-03-31 05:56:12','标题4','公告','upload/xiaoqugonggao_tupian4.jpg,upload/xiaoqugonggao_tupian5.jpg,upload/xiaoqugonggao_tupian6.jpg','所属小区4','公告内容4','2023-03-31'),(45,'2023-03-31 05:56:12','标题5','公告','upload/xiaoqugonggao_tupian5.jpg,upload/xiaoqugonggao_tupian6.jpg,upload/xiaoqugonggao_tupian7.jpg','所属小区5','公告内容5','2023-03-31'),(46,'2023-03-31 05:56:12','标题6','公告','upload/xiaoqugonggao_tupian6.jpg,upload/xiaoqugonggao_tupian7.jpg,upload/xiaoqugonggao_tupian8.jpg','所属小区6','公告内容6','2023-03-31'),(47,'2023-03-31 05:56:12','标题7','公告','upload/xiaoqugonggao_tupian7.jpg,upload/xiaoqugonggao_tupian8.jpg,upload/xiaoqugonggao_tupian9.jpg','所属小区7','公告内容7','2023-03-31'),(48,'2023-03-31 05:56:12','标题8','公告','upload/xiaoqugonggao_tupian8.jpg,upload/xiaoqugonggao_tupian9.jpg,upload/xiaoqugonggao_tupian10.jpg','所属小区8','公告内容8','2023-03-31');
/*!40000 ALTER TABLE `xiaoqugonggao` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `xiaoquxinxi`
--
DROP TABLE IF EXISTS `xiaoquxinxi`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `xiaoquxinxi` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`xiaoqumingcheng` varchar(200) NOT NULL COMMENT '小区名称',
`xiaoquleixing` varchar(200) NOT NULL COMMENT '小区类型',
`wuyemingcheng` varchar(200) DEFAULT NULL COMMENT '物业名称',
`xiaoqurenshu` int(11) DEFAULT NULL COMMENT '小区人数',
`xiaoquweizhi` varchar(200) DEFAULT NULL COMMENT '小区位置',
`xiaoqujianjie` longtext COMMENT '小区简介',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=59 DEFAULT CHARSET=utf8 COMMENT='小区信息';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `xiaoquxinxi`
--
LOCK TABLES `xiaoquxinxi` WRITE;
/*!40000 ALTER TABLE `xiaoquxinxi` DISABLE KEYS */;
INSERT INTO `xiaoquxinxi` VALUES (51,'2023-03-31 05:56:12','小区名称1','小区类型1','物业名称1',1,'小区位置1','小区简介1'),(52,'2023-03-31 05:56:12','小区名称2','小区类型2','物业名称2',2,'小区位置2','小区简介2'),(53,'2023-03-31 05:56:12','小区名称3','小区类型3','物业名称3',3,'小区位置3','小区简介3'),(54,'2023-03-31 05:56:12','小区名称4','小区类型4','物业名称4',4,'小区位置4','小区简介4'),(55,'2023-03-31 05:56:12','小区名称5','小区类型5','物业名称5',5,'小区位置5','小区简介5'),(56,'2023-03-31 05:56:12','小区名称6','小区类型6','物业名称6',6,'小区位置6','小区简介6'),(57,'2023-03-31 05:56:12','小区名称7','小区类型7','物业名称7',7,'小区位置7','小区简介7'),(58,'2023-03-31 05:56:12','小区名称8','小区类型8','物业名称8',8,'小区位置8','小区简介8');
/*!40000 ALTER TABLE `xiaoquxinxi` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `yezhu`
--
DROP TABLE IF EXISTS `yezhu`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `yezhu` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '主键',
`addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`yonghuming` varchar(200) NOT NULL COMMENT '用户名',
`mima` varchar(200) NOT NULL COMMENT '密码',
`yezhuxingming` varchar(200) NOT NULL COMMENT '业主姓名',
`xingbie` varchar(200) DEFAULT NULL COMMENT '性别',
`nianling` varchar(200) DEFAULT NULL COMMENT '年龄',
`suoshuxiaoqu` varchar(200) DEFAULT NULL COMMENT '所属小区',
`youxiang` varchar(200) DEFAULT NULL COMMENT '邮箱',
`shouji` varchar(200) DEFAULT NULL COMMENT '手机',
PRIMARY KEY (`id`),
UNIQUE KEY `yonghuming` (`yonghuming`)
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8 COMMENT='业主';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `yezhu`
--
LOCK TABLES `yezhu` WRITE;
/*!40000 ALTER TABLE `yezhu` DISABLE KEYS */;
INSERT INTO `yezhu` VALUES (21,'2023-03-31 05:56:12','用户名1','e10adc3949ba59abbe56e057f20f883e','业主姓名1','男','年龄1','所属小区1','[email protected]','13823888881'),(22,'2023-03-31 05:56:12','用户名2','e10adc3949ba59abbe56e057f20f883e','业主姓名2','男','年龄2','所属小区2','[email protected]','13823888882'),(23,'2023-03-31 05:56:12','用户名3','e10adc3949ba59abbe56e057f20f883e','业主姓名3','男','年龄3','所属小区3','[email protected]','13823888883'),(24,'2023-03-31 05:56:12','用户名4','e10adc3949ba59abbe56e057f20f883e','业主姓名4','男','年龄4','所属小区4','[email protected]','13823888884'),(25,'2023-03-31 05:56:12','用户名5','e10adc3949ba59abbe56e057f20f883e','业主姓名5','男','年龄5','所属小区5','[email protected]','13823888885'),(26,'2023-03-31 05:56:12','用户名6','e10adc3949ba59abbe56e057f20f883e','业主姓名6','男','年龄6','所属小区6','[email protected]','13823888886'),(27,'2023-03-31 05:56:12','用户名7','e10adc3949ba59abbe56e057f20f883e','业主姓名7','男','年龄7','所属小区7','[email protected]','13823888887'),(28,'2023-03-31 05:56:12','用户名8','e10adc3949ba59abbe56e057f20f883e','业主姓名8','男','年龄8','所属小区8','[email protected]','13823888888');
/*!40000 ALTER TABLE `yezhu` 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
5、关键代码
package com.controller;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;
import com.entity.WuyeguanliEntity;
import com.entity.view.WuyeguanliView;
import com.service.WuyeguanliService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.CommonUtil;
import java.io.IOException;
/**
* 物业管理
* 后端接口
* @author
* @email
* @date
*/
@RestController
@RequestMapping("/wuyeguanli")
public class WuyeguanliController {
@Autowired
private WuyeguanliService wuyeguanliService;
@Autowired
private TokenService tokenService;
/**
* 登录
*/
@IgnoreAuth
@RequestMapping(value = "/login")
public R login(String username, String password, String captcha, HttpServletRequest request) {
WuyeguanliEntity u = wuyeguanliService.selectOne(new EntityWrapper().eq("zhanghao", username));
if(u==null || !u.getMima().equals(MD5Util.md5(password))) {
return R.error("账号或密码不正确");
}
String token = tokenService.generateToken(u.getId(), username,"wuyeguanli", "物业管理" );
return R.ok().put("token", token);
}
/**
* 注册
*/
@IgnoreAuth
@RequestMapping("/register")
public R register(@RequestBody WuyeguanliEntity wuyeguanli){
//ValidatorUtils.validateEntity(wuyeguanli);
WuyeguanliEntity u = wuyeguanliService.selectOne(new EntityWrapper().eq("zhanghao", wuyeguanli.getZhanghao()));
if(u!=null) {
return R.error("注册用户已存在");
}
Long uId = new Date().getTime();
wuyeguanli.setId(uId);
wuyeguanli.setMima(MD5Util.md5(wuyeguanli.getMima()));
wuyeguanliService.insert(wuyeguanli);
return R.ok();
}
/**
* 退出
*/
@RequestMapping("/logout")
public R logout(HttpServletRequest request) {
request.getSession().invalidate();
return R.ok("退出成功");
}
/**
* 获取用户的session用户信息
*/
@RequestMapping("/session")
public R getCurrUser(HttpServletRequest request){
Long id = (Long)request.getSession().getAttribute("userId");
WuyeguanliEntity u = wuyeguanliService.selectById(id);
return R.ok().put("data", u);
}
/**
* 密码重置
*/
@IgnoreAuth
@RequestMapping(value = "/resetPass")
public R resetPass(String username, HttpServletRequest request){
WuyeguanliEntity u = wuyeguanliService.selectOne(new EntityWrapper().eq("zhanghao", username));
if(u==null) {
return R.error("账号不存在");
}
u.setMima(MD5Util.md5("123456"));
wuyeguanliService.updateById(u);
return R.ok("密码已重置为:123456");
}
/**
* 后端列表
*/
@RequestMapping("/page")
public R page(@RequestParam Map params,WuyeguanliEntity wuyeguanli,
HttpServletRequest request){
EntityWrapper ew = new EntityWrapper();
PageUtils page = wuyeguanliService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, wuyeguanli), params), params));
return R.ok().put("data", page);
}
/**
* 前端列表
*/
@IgnoreAuth
@RequestMapping("/list")
public R list(@RequestParam Map params,WuyeguanliEntity wuyeguanli,
HttpServletRequest request){
EntityWrapper ew = new EntityWrapper();
PageUtils page = wuyeguanliService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, wuyeguanli), params), params));
return R.ok().put("data", page);
}
/**
* 列表
*/
@RequestMapping("/lists")
public R list( WuyeguanliEntity wuyeguanli){
EntityWrapper ew = new EntityWrapper();
ew.allEq(MPUtil.allEQMapPre( wuyeguanli, "wuyeguanli"));
return R.ok().put("data", wuyeguanliService.selectListView(ew));
}
/**
* 查询
*/
@RequestMapping("/query")
public R query(WuyeguanliEntity wuyeguanli){
EntityWrapper< WuyeguanliEntity> ew = new EntityWrapper< WuyeguanliEntity>();
ew.allEq(MPUtil.allEQMapPre( wuyeguanli, "wuyeguanli"));
WuyeguanliView wuyeguanliView = wuyeguanliService.selectView(ew);
return R.ok("查询物业管理成功").put("data", wuyeguanliView);
}
/**
* 后端详情
*/
@RequestMapping("/info/{id}")
public R info(@PathVariable("id") Long id){
WuyeguanliEntity wuyeguanli = wuyeguanliService.selectById(id);
return R.ok().put("data", wuyeguanli);
}
/**
* 前端详情
*/
@IgnoreAuth
@RequestMapping("/detail/{id}")
public R detail(@PathVariable("id") Long id){
WuyeguanliEntity wuyeguanli = wuyeguanliService.selectById(id);
return R.ok().put("data", wuyeguanli);
}
/**
* 后端保存
*/
@RequestMapping("/save")
public R save(@RequestBody WuyeguanliEntity wuyeguanli, HttpServletRequest request){
wuyeguanli.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
//ValidatorUtils.validateEntity(wuyeguanli);
WuyeguanliEntity u = wuyeguanliService.selectOne(new EntityWrapper().eq("zhanghao", wuyeguanli.getZhanghao()));
if(u!=null) {
return R.error("用户已存在");
}
wuyeguanli.setId(new Date().getTime());
wuyeguanli.setMima(MD5Util.md5(wuyeguanli.getMima()));
wuyeguanliService.insert(wuyeguanli);
return R.ok();
}
/**
* 前端保存
*/
@RequestMapping("/add")
public R add(@RequestBody WuyeguanliEntity wuyeguanli, HttpServletRequest request){
wuyeguanli.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
//ValidatorUtils.validateEntity(wuyeguanli);
WuyeguanliEntity u = wuyeguanliService.selectOne(new EntityWrapper().eq("zhanghao", wuyeguanli.getZhanghao()));
if(u!=null) {
return R.error("用户已存在");
}
wuyeguanli.setId(new Date().getTime());
wuyeguanli.setMima(MD5Util.md5(wuyeguanli.getMima()));
wuyeguanliService.insert(wuyeguanli);
return R.ok();
}
/**
* 修改
*/
@RequestMapping("/update")
@Transactional
public R update(@RequestBody WuyeguanliEntity wuyeguanli, HttpServletRequest request){
//ValidatorUtils.validateEntity(wuyeguanli);
WuyeguanliEntity wuyeguanliEntity = wuyeguanliService.selectById(wuyeguanli.getId());
if(StringUtils.isNotBlank(wuyeguanli.getMima()) && !wuyeguanli.getMima().equals(wuyeguanliEntity.getMima())) {
wuyeguanli.setMima(MD5Util.md5(wuyeguanli.getMima()));
}
wuyeguanliService.updateById(wuyeguanli);//全部更新
return R.ok();
}
/**
* 删除
*/
@RequestMapping("/delete")
public R delete(@RequestBody Long[] ids){
wuyeguanliService.deleteBatchIds(Arrays.asList(ids));
return R.ok();
}
/**
* 提醒接口
*/
@RequestMapping("/remind/{columnName}/{type}")
public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request,
@PathVariable("type") String type,@RequestParam Map map) {
map.put("column", columnName);
map.put("type", type);
if(type.equals("2")) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
Calendar c = Calendar.getInstance();
Date remindStartDate = null;
Date remindEndDate = null;
if(map.get("remindstart")!=null) {
Integer remindStart = Integer.parseInt(map.get("remindstart").toString());
c.setTime(new Date());
c.add(Calendar.DAY_OF_MONTH,remindStart);
remindStartDate = c.getTime();
map.put("remindstart", sdf.format(remindStartDate));
}
if(map.get("remindend")!=null) {
Integer remindEnd = Integer.parseInt(map.get("remindend").toString());
c.setTime(new Date());
c.add(Calendar.DAY_OF_MONTH,remindEnd);
remindEndDate = c.getTime();
map.put("remindend", sdf.format(remindEndDate));
}
}
Wrapper wrapper = new EntityWrapper();
if(map.get("remindstart")!=null) {
wrapper.ge(columnName, map.get("remindstart"));
}
if(map.get("remindend")!=null) {
wrapper.le(columnName, map.get("remindend"));
}
int count = wuyeguanliService.selectCount(wrapper);
return R.ok().put("count", count);
}
}
package com.service;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.IService;
import com.utils.PageUtils;
import com.entity.WuyeguanliEntity;
import java.util.List;
import java.util.Map;
import com.entity.vo.WuyeguanliVO;
import org.apache.ibatis.annotations.Param;
import com.entity.view.WuyeguanliView;
/**
* 物业管理
*
* @author
* @email
* @date
*/
public interface WuyeguanliService extends IService {
PageUtils queryPage(Map params);
List selectListVO(Wrapper wrapper);
WuyeguanliVO selectVO(@Param("ew") Wrapper wrapper);
List selectListView(Wrapper wrapper);
WuyeguanliView selectView(@Param("ew") Wrapper wrapper);
PageUtils queryPage(Map params,Wrapper wrapper);
}
package com.service;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.IService;
import com.utils.PageUtils;
import com.entity.WuyeguanliEntity;
import java.util.List;
import java.util.Map;
import com.entity.vo.WuyeguanliVO;
import org.apache.ibatis.annotations.Param;
import com.entity.view.WuyeguanliView;
/**
* 物业管理
*
* @author
* @email
* @date
*/
public interface WuyeguanliService extends IService {
PageUtils queryPage(Map params);
List selectListVO(Wrapper wrapper);
WuyeguanliVO selectVO(@Param("ew") Wrapper wrapper);
List selectListView(Wrapper wrapper);
WuyeguanliView selectView(@Param("ew") Wrapper wrapper);
PageUtils queryPage(Map params,Wrapper wrapper);
}
package com.dao;
import com.entity.WuyeguanliEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import org.apache.ibatis.annotations.Param;
import com.entity.vo.WuyeguanliVO;
import com.entity.view.WuyeguanliView;
/**
* 物业管理
*
* @author
* @email
* @date
*/
public interface WuyeguanliDao extends BaseMapper {
List selectListVO(@Param("ew") Wrapper wrapper);
WuyeguanliVO selectVO(@Param("ew") Wrapper wrapper);
List selectListView(@Param("ew") Wrapper wrapper);
List selectListView(Pagination page,@Param("ew") Wrapper wrapper);
WuyeguanliView selectView(@Param("ew") Wrapper wrapper);
}
6、论文目录结构
7、源码获取
感谢大家的阅读,如有不懂的问题可以评论区交流或私聊!
喜欢文章可以点赞、收藏、关注、评论啦
→获取源码请私信←