# bdf3
[![License](http://img.shields.io/:license-apache-brightgreen.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)
>bdf3基于spring-boot研发的开发框架。包含用户、角色、菜单、权限(最小粒度为组件)、数据导入、字典、日志、实时通讯、公众号、微程序、云数据库、个人中心、云数据源、用户个性化和一个或多个数据库实例的独立数据库模式的多租户功能模块。功能模块化,自动化,参考spring boot项目结构构建,提供一些列预定义依赖项目快。基于bdf3快速开发企业管理系统。
## BDF3文档教程
[BDF3文档教程](https://github.com/muxiangqiu/bdf3/wiki/01.bdf3-jpa)
## 演示地址
1. [传统风格多租户版](http://106.14.191.97:8081/bdf3.security.ui.view.Main.d) 公司ID/用户名/密码:master/admin/123456
2. [实时通讯+公众号+微程序风格非多租户版](http://106.14.191.97:8080/bdf3.notice.ui.view.Chat.d) 用户名/密码:admin/123456
3. [方块风格非多租户版](http://106.14.191.97:8080/bdf3.security.ui.view.Portal.d) 用户名/密码:admin/123456
4. [传统风格非多租户版](http://106.14.191.97:8080/bdf3.security.ui.view.Main.d) 用户名/密码:admin/123456
### 所有用户的密码都是123456
## 快速入门
>由于基于spring-boot,bdf3项目搭建和spring-boot几乎一样,不同的是依赖的jar包不一样。
1. 创建一个标准的Maven项目bdf3-sample,项目打包类型为jar,项目的父项目指向bdf3-starter-parent,最终生成项目的pom文件如下:
```xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!-- 继承的父项目 -->
<parent>
<groupId>com.bstek.bdf3</groupId>
<artifactId>bdf3-starter-parent</artifactId>
<version>1.1.0-SNAPSHOT</version>
</parent>
<artifactId>bdf3-sample</artifactId>
<dependencies>
<!-- bdf3预定义依赖,简化依赖的复杂度 -->
<dependency>
<groupId>com.bstek.bdf3</groupId>
<artifactId>bdf3-starter</artifactId>
</dependency>
<!-- 开发测试工具 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-devtools</artifactId>
<scope>provided</scope>
</dependency>
<!-- 数据库驱动 -->
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
</dependencies>
<!-- bdf3项目jar存放的maven私服 -->
<repositories>
<repository>
<id>bsdn-maven-repository</id>
<url>http://nexus.bsdn.org/content/groups/public/</url>
</repository>
</repositories>
</project>
```
2. 启动类
```java
package com.bstek.bdf3.sample;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
/**
* @author Kevin Yang (mailto:kevin.yang@bstek.com)
* @since 2016年12月10日
*/
@SpringBootApplication
@EnableCaching
public class SampleApplication {
public static void main(String[] args) throws Exception {
SpringApplication.run(SampleApplication.class, args);
}
}
```
>通过以上两个步骤,一个基本的bdf3项目就搭建好了。直接运行项目的主类(带main函数的类)[示例下载](https://github.com/muxiangqiu/bdf3/blob/master/sample/bdf3-sample.zip?raw=true)
## 配置文件说明
1.application.properties
```
#服务器端口设置
server.port = 8080
#项目路径
server.context-path=/bdf
#是否打印sql语句
spring.jpa.showSql=true
#hibernate反向创建表设置,update启动时更新表结构,create 启动时重新创建表结构,none 启动时不检查
spring.jpa.hibernate.ddl-auto=update
#springboot热部署设置,添加文件改动不重启目录。
spring.devtools.restart.additional-exclude=com/**
#数据库脚本的编码设置为UTF-8
spring.datasource.sql-script-encoding=UTF-8
#数据源配置,pom中需要引入对应的数据库jdbc依赖
spring.datasource.continue-on-error=true
spring.datasource.url=jdbc:mysql://localhost:3306/bdf3
spring.datasource.username=root
spring.datasource.password=root
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
#如果数据库为非嵌入式数据库,这个属性第一次启动的时候一定要设置为ALWAYS,用于初始化数据,初始化好后,可以关闭,也可以不关闭,有自己决定
spring.datasource.initialization-mode=ALWAYS
```
## Spring-Boot文档教程
[spring-boot文档教程](https://projects.spring.io/spring-boot/#quick-start)
## 界面截图
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/bdf3.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/2.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/3.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/4.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/5.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/6.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/7.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/8.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/9.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/10.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/11.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/12.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/13.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/14.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/15.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/16.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/17.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/18.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/19.png)
![](https://raw.githubusercontent.com/muxiangqiu/bdf3/master/screenshot/20.png)
没有合适的资源?快使用搜索试试~ 我知道了~
BDF3项目-基于dorado7
共725个文件
java:434个
xml:92个
properties:31个
需积分: 22 23 下载量 26 浏览量
2018-12-13
17:50:05
上传
评论
收藏 22.12MB ZIP 举报
温馨提示
BDF3项目-基于dorado7。基于springboot2。界面已经更新,扁平化。
资源推荐
资源详情
资源评论
收起资源包目录
BDF3项目-基于dorado7 (725个子文件)
semantic1.css 736KB
semantic.css 735KB
cola.css 142KB
font-awesome.css 37KB
font-awesome.min.css 30KB
common.css 16KB
quill.core.css 9KB
chat.css 8KB
Chat.css 8KB
Main.css 4KB
Portal.css 4KB
user.css 2KB
colors.css 2KB
nprogress.css 2KB
Login.css 1KB
Register.css 1KB
Login.css 984B
colors-support.css 162B
fontawesome-webfont.eot 162KB
icons.eot 59KB
icons.eot 39KB
spring.factories 1KB
.gitignore 367B
.gitignore 33B
.gitignore 33B
.gitignore 33B
.gitignore 33B
.gitignore 33B
.gitignore 32B
.gitignore 32B
.gitignore 32B
.gitignore 32B
.gitignore 32B
.gitignore 24B
.gitignore 24B
.gitignore 24B
.gitignore 24B
.gitignore 24B
.gitignore 24B
.gitignore 24B
.gitignore 24B
.gitignore 24B
.gitignore 24B
.gitignore 24B
.gitignore 24B
.gitignore 24B
.gitignore 24B
.gitignore 24B
.gitignore 24B
.gitignore 24B
.gitignore 14B
.gitignore 9B
user.html 11KB
w3c-html4-template.html 514B
w3c-html4-template.html 514B
w3c-html4-template.html 500B
w3c-html5-template.html 303B
w3c-html5-template.html 303B
w3c-html5-template.html 292B
favicon.ico 252KB
LinqImpl.java 20KB
JpaUtil.java 17KB
XLSX2CSV.java 14KB
AbstractReportModelGenerater.java 13KB
XLS2CSV.java 12KB
DbService.java 11KB
GridStyleBuilder.java 11KB
DbCommonServiceImpl.java 11KB
ExcelReportBuilder.java 11KB
GroupServiceImpl.java 10KB
AbstractPdfReportBuilder.java 9KB
Export2ReportController.java 9KB
DbConsoleController.java 9KB
Linq.java 8KB
NoticeServiceImpl.java 7KB
CriteriaUtils.java 7KB
Export2ReportAction.java 6KB
SQLServer2005Dialect.java 6KB
ImporterSolutionController.java 6KB
DataTabInterceptor.java 6KB
FilterSecurityInterceptor.java 5KB
PdfReportModelGenerater.java 5KB
XSSFSheetHandler.java 5KB
MappingRule.java 5KB
DmDialect.java 5KB
OracleDialect.java 5KB
DefaultLogger.java 4KB
LogUtils.java 4KB
DataGridProfileFilter.java 4KB
Group.java 4KB
AbstractExcelReportBuilder.java 4KB
DoradoAutoConfiguration.java 4KB
ComponentConfigServiceImpl.java 4KB
BackfillFilter.java 4KB
HsqlDialect.java 4KB
DbInfoConfig.java 4KB
ExcelReportModelGenerater.java 4KB
PdfToSwfConverter.java 4KB
ViewManager.java 4KB
DownloadReportResolver.java 4KB
共 725 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
reigneer
- 粉丝: 30
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- python-leetcode面试题解之第157题用Read4读取N个字符-题解.zip
- python-leetcode面试题解之第156题上下翻转二叉树-题解.zip
- python-leetcode面试题解之第155题最小栈-题解.zip
- python-leetcode面试题解之第153题寻找旋转排序数组中的最小值-题解.zip
- python-leetcode面试题解之第152题乘积最大子数组-题解.zip
- python-leetcode面试题解之第151题反转字符串中的单词-题解.zip
- python-leetcode面试题解之第150题逆波兰表达式求值-题解.zip
- python-leetcode面试题解之第149题直线上最多的点数-题解.zip
- python-leetcode面试题解之第148题排序链表-题解.zip
- python-leetcode面试题解之第147题对链表进行插入排序-题解.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功