# 物业管理系统
基于前后端分离开发
## 前端技术栈
1. vue cli + elementUI + Vuex
## 后端技术栈
1. springBoot+springSecurity+JPA+Redis
## 初始化脚本
使用JPA,项目启动自动创建表
```sql
INSERT INTO t_role(`id`, `create_time`, `delete_flag`, `update_time`, `name`, `remark`) VALUES (1, '2019-04-05 14:14:45', 0, '2019-04-05 14:14:45', '超级管理员', '权限最大,不建议分配,~~~');
INSERT INTO t_role(`id`, `create_time`, `delete_flag`, `update_time`, `name`, `remark`) VALUES (2, '2019-04-05 14:15:45', 0, '2019-04-05 14:15:45', '业主', '缴费,保修等功能');
-- 用户名:admin 密码:admin
INSERT INTO t_user(`id`, `create_time`, `delete_flag`, `update_time`, `email`, `password`, `phone`, `real_name`, `username`, `role_id`, `balance`, `use_status`)
VALUES ('1', '2019-03-23 19:55:36', '0', '2019-05-23 08:22:06', '1010101010@qq.com', '$2a$10$APNEPFSMvKglR0xTN8KijegsOQ9iHggiq63uW.40EX3T7XDnGAEdm', '18788779966', '物业总部', 'admin', '1', '0.00', 'ENABLED');
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (100,now(),0,now(),'Layout' ,'pms-icon-xitongguanli' ,'系统管理','/sysSteam',0 );
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (101,now(),0,now(),'Sys/User' ,'pms-icon-userguanli' ,'用户管理','/sysSteam/user',100 );
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (102,now(),0,now(),'Sys/Role' ,'pms-icon-jiaoseguanli' ,'角色管理','/sysSteam/role',100 );
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (200,now(),0,now(),'Layout' ,'pms-icon-shoufeiguanli' ,'收费管理','/cost',0 );
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (201,now(),0,now(),'Cost/Set' ,'pms-icon-feiyongshezhi' ,'费用设置','/cost/setting',200 );
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (202,now(),0,now(),'Cost/Recharge' ,'pms-icon-chongczhi' ,'充值缴费','/cost/recharge',200 );
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (203,now(),0,now(),'Cost/Settle' ,'pms-icon-jiesuan' ,'费用结算','/cost/settle',200 );
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (300,now(),0,now(),'Layout' ,'pms-icon-ziyuanguanli' ,'资源管理','/resource',0 );
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (301,now(),0,now(),'Resource/House' ,'pms-icon-fangchan' ,'房产管理','/resource/house',300 );
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (302,now(),0,now(),'Resource/Park' ,'pms-icon-chewei' ,'车位管理','/resource/park',300 );
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (303,now(),0,now(),'Resource/Door' ,'pms-icon-menjin' ,'门禁管理','/resource/door',300 );
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (400,now(),0,now(),'Layout' ,'pms-icon-baoxiu' ,'报修管理','/repairs',0 );
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (401,now(),0,now(),'Repairs/Apply' ,'pms-icon-weixiu' ,'报修申请','/repairs/apply',400 );
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (402,now(),0,now(),'Repairs/Center' ,'pms-icon-zongbu' ,'报修中心','/repairs/center',400 );
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (500,now(),0,now(),'Layout' ,'pms-icon-baobiao' ,'报表中心','/report',0 );
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (501,now(),0,now(),'Report/Payment' ,'pms-icon-chongzhi' ,'充值报表','/report/payment',500 );
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (502,now(),0,now(),'Report/Settle' ,'pms-icon-jiaofei' ,'缴费报表','/report/settle',500 );
INSERT INTO t_menu(id, create_time, delete_flag, update_time, component, icon, name, path, pid)VALUES (503,now(),0,now(),'Report/Maintain' ,'pms-icon-baoxiu1' ,'维修报表','/report/maintain',500 );
INSERT INTO roles_menus(role_id, menu_id) VALUES (1,100);
INSERT INTO roles_menus(role_id, menu_id) VALUES (1,101);
INSERT INTO roles_menus(role_id, menu_id) VALUES (1,102);
INSERT INTO roles_menus(role_id, menu_id) VALUES (1,200);
INSERT INTO roles_menus(role_id, menu_id) VALUES (1,201);
INSERT INTO roles_menus(role_id, menu_id) VALUES (1,202);
INSERT INTO roles_menus(role_id, menu_id) VALUES (1,300);
INSERT INTO roles_menus(role_id, menu_id) VALUES (1,301);
INSERT INTO roles_menus(role_id, menu_id) VALUES (1,302);
INSERT INTO roles_menus(role_id, menu_id) VALUES (1,400);
INSERT INTO roles_menus(role_id, menu_id) VALUES (1,401);
INSERT INTO roles_menus(role_id, menu_id) VALUES (1,402);
INSERT INTO roles_menus(role_id, menu_id) VALUES (1,500);
INSERT INTO roles_menus(role_id, menu_id) VALUES (1,501);
INSERT INTO roles_menus(role_id, menu_id) VALUES (1,502);
INSERT INTO roles_menus(role_id, menu_id) VALUES (1,503);
```
## 项目笔记
### Validator 常用的检验规则
- @NotNull 值不能为空
- @Null 值必须为空
- @pattern(regex=) 字符串必须匹配正则表达式
- @Size(min= max=) 集合元素的数量必须在min 和max之间
- @CreditCardNumber 字符串必须是信用卡
- @Email 字符串必须是Email地址
- @Length(min= max=) 字符串长度
- @NotBlank 字符串必须有字符
- @NotEmpty 字符串不为null 集合有元素
- @Range(min= max=) 数字必须大于等于 min 小于max
- @SafeHtml 字符串是安全的Html
- @URL 字符串是URL
- @AssertFalse 值是false
- @AssertTrue 值是true
- @DecimalMax(value inclusive) 可以放在字符串 小于等于value
- @DecimalMin(value inclusive) 可以放在字符串 大于等于value
- @past 必须是一个过去的日期
- @Digits(integer= inclusive=) 数字格式检查 integer 整数部分最大长度 inclusive小数部分最大长度
- @Max(value=) 值必须小于value,不能放在字符串上
- @Min(value=) 值必须大于value,不能放在字符串上
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
# 物业管理系统,项目经过严格测试,确保可以运行! 基于前后端分离开发 ## 前端技术栈 1. vue cli + elementUI + Vuex ## 后端技术栈 1. springBoot+springSecurity+JPA+Redis ## 初始化脚本 使用JPA,项目启动自动创建表 ```sql INSERT INTO t_role(`id`, `create_time`, `delete_flag`, `update_time`, `name`, `remark`) VALUES (1, '2019-04-05 14:14:45', 0, '2019-04-05 14:14:45', '超级管理员', '权限最大,不建议分配,~~~');
资源推荐
资源详情
资源评论
收起资源包目录
基于SpringBoot的物业管理系统设计与实现+springSecurity+JPA+Redis+vue+elementUI (124个子文件)
gradlew.bat 2KB
.gitignore 285B
build.gradle 2KB
settings.gradle 100B
gradlew 5KB
gradle-wrapper.jar 54KB
UserServiceImpl.java 6KB
RoleServiceImpl.java 4KB
UserController.java 4KB
WebSecurityConfig.java 4KB
MenuServiceImpl.java 4KB
JwtTokenUtil.java 3KB
JwtTokenFilter.java 3KB
ExceptionProcessor.java 3KB
CostSettingController.java 3KB
RepairsServiceImpl.java 3KB
HouseController.java 3KB
User.java 3KB
RepairsController.java 3KB
FileServiceImpl.java 3KB
RoleController.java 2KB
HouseServiceImpl.java 2KB
DoorController.java 2KB
RepairsRepository.java 2KB
House.java 2KB
AccountServiceImpl.java 2KB
AccountController.java 2KB
InterceptorConfig.java 2KB
ParkController.java 2KB
SettleServiceImpl.java 2KB
Repairs.java 2KB
Result.java 2KB
CostSettingServiceImpl.java 2KB
RedisConfig.java 2KB
MenuController.java 2KB
ParkRepository.java 2KB
DoorRepository.java 2KB
SwaggerConfig.java 2KB
Park.java 2KB
Door.java 2KB
CostSettingRepository.java 2KB
UserPwdTest.java 2KB
UserService.java 2KB
SecurityFailureHandler.java 2KB
Settle.java 1KB
Menu.java 1KB
CostSetting.java 1KB
AccountDetail.java 1KB
TokenCache.java 1KB
Role.java 1KB
UploadController.java 1KB
SecuritySuccessHandler.java 1KB
UserRepository.java 1KB
DoorServiceImpl.java 1KB
LoginUrlAuthentication.java 1KB
Base.java 1KB
JwtTokenTest.java 1KB
AccountDetailRepository.java 1KB
CalculatorUnit.java 1KB
ParkServiceImpl.java 1KB
TimeInterceptor.java 1KB
LogoutSuccessHandler.java 1KB
AuthController.java 1KB
RoleRepository.java 1KB
DownloadController.java 1KB
RepairsService.java 1KB
SettleController.java 997B
RoleService.java 962B
AccountService.java 958B
HouseRepository.java 955B
RestAccessDeniedHandler.java 935B
ResponseUtil.java 915B
MenuRepository.java 895B
QuartzConfig.java 870B
DoorTest.java 850B
RepairsReportDto.java 778B
RoleTest.java 771B
DoorService.java 752B
MenuTest.java 736B
MenuService.java 734B
DoorDto.java 717B
AccountDetailDto.java 700B
EntityMapper.java 685B
MenuDto.java 674B
SettleDto.java 654B
ParkDto.java 643B
RepairsDto.java 627B
UploadFileService.java 579B
BaseService.java 535B
RoleDto.java 517B
RestCode.java 514B
ParkService.java 505B
SystemErrorException.java 500B
UserVo.java 498B
UserDto.java 495B
CostSettingService.java 481B
BaseException.java 476B
HelloWordJob.java 453B
JwtToken.java 447B
FileManageService.java 436B
共 124 条
- 1
- 2
资源评论
白话机器学习
- 粉丝: 1w+
- 资源: 7671
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功