Skip to content

Commit 1ee6d01

Browse files
committed
更新配置
1 parent 298455f commit 1ee6d01

File tree

2 files changed

+30
-25
lines changed

2 files changed

+30
-25
lines changed

README.md

Lines changed: 29 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
1-
# SpringBootGenerator(1.5版)
1+
## SpringBootGenerator(1.5版)
2+
3+
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
4+
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/wang926454/SpringBootGenerator/pulls)
5+
[![GitHub stars](https://img.shields.io/github/stars/wang926454/SpringBootGenerator.svg?style=social&label=Stars)](https://github.com/wang926454/SpringBootGenerator)
6+
[![GitHub forks](https://img.shields.io/github/forks/wang926454/SpringBootGenerator.svg?style=social&label=Fork)](https://github.com/wang926454/SpringBootGenerator)
27

38
> SpringBoot1.5版(Test类生成代码)
49
510
#### 项目相关
611

712
版本 | 操作 | 链接
813
----|------|----
9-
SpringBoot1.5版 | Test类生成代码 | 当前
10-
SpringBoot2.1版 | Test类生成代码 | [https://github.com/wang926454/SpringBootGenerator](https://github.com/wang926454/SpringBootGenerator)
11-
SpringBoot1.5版 | 可视化界面操作生成代码 | [https://github.com/wang926454/SpringBootGenerator](https://github.com/wang926454/SpringBootGenerator)
14+
SpringBoot1.5 | Test类生成代码 | 当前
15+
SpringBoot2.1 | Test类生成代码 | [https://github.com/wang926454/SpringBootGenerator](https://github.com/wang926454/SpringBootGenerator)
16+
SpringBoot1.5 | 可视化界面生成代码 | [https://github.com/wang926454/SpringBootGenerator/tree/viewgenerator](https://github.com/wang926454/SpringBootGenerator/tree/viewgenerator)
1217

1318
#### 项目介绍
1419

@@ -28,26 +33,26 @@ SpringBoot + Mybatis + PageHelper + 通用Mapper
2833

2934
``` lua
3035
src
31-
├─main -- main运行主体代码
32-
├─java
33-
└─resources
34-
└─test -- test单元测试
35-
├─java
36-
└─com
37-
├─example
38-
│ │ ├─base -- 通用单元测试基础类
39-
│ │ ├─generator -- 代码生成器第一版,第二版执行Main函数
40-
│ │ └─test -- test代码
41-
└─uframe -- 代码生成器第二版核心代码
42-
└─generator -- 代码生成器第二版核心代码
43-
└─resources -- test resources
44-
├─config -- 代码生成器第二版配置代码
45-
├─sql -- SQL文件示例
46-
└─template
47-
├─one -- 代码生成器第一版模板
48-
└─two -- 代码生成器第二版模板
49-
├─LayUI -- 代码生成器第二版LayUI模板示例
50-
└─RESTful -- 代码生成器第二版RESTful模板示例
36+
├─ main -- main运行主体代码
37+
├─ java
38+
└─ resources
39+
└─ test -- test单元测试
40+
├─ java
41+
└─ com
42+
├─ example
43+
├─ base -- 通用单元测试基础类
44+
├─ generator -- 代码生成器第一版,第二版执行Main函数
45+
└─ test -- test代码
46+
└─ uframe -- 代码生成器第二版核心代码
47+
└─ generator -- 代码生成器第二版核心代码
48+
└─ resources -- test resources
49+
├─ config -- 代码生成器第二版配置代码
50+
├─ sql -- SQL文件示例
51+
└─ template
52+
├─ one -- 代码生成器第一版模板
53+
└─ two -- 代码生成器第二版模板
54+
├─ LayUI -- 代码生成器第二版LayUI模板示例
55+
└─ RESTful -- 代码生成器第二版RESTful模板示例
5156
```
5257

5358
#### 安装教程

src/test/resources/config/generator.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jdbc.url=jdbc:mysql://127.0.0.1:3306/dev?useUnicode=true&characterEncoding=U
1111
jdbc.driver=com.mysql.jdbc.Driver
1212
jdbc.username=root
1313
jdbc.password=root
14+
jdbc.catalog=dev
1415
# oracle需要指定jdbc.schema,并且要大写,其它数据库忽略此项配置
1516
jdbc.schema=
16-
jdbc.catalog=
1717

1818
# basepackage属性,包路径
1919
basepackage=com.example

0 commit comments

Comments
 (0)