Skip to content

Commit

Permalink
更新配置
Browse files Browse the repository at this point in the history
  • Loading branch information
dolyw committed Apr 4, 2019
1 parent 298455f commit 1ee6d01
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 25 deletions.
53 changes: 29 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# SpringBootGenerator(1.5版)
## SpringBootGenerator(1.5版)

[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/wang926454/SpringBootGenerator/pulls)
[![GitHub stars](https://img.shields.io/github/stars/wang926454/SpringBootGenerator.svg?style=social&label=Stars)](https://github.com/wang926454/SpringBootGenerator)
[![GitHub forks](https://img.shields.io/github/forks/wang926454/SpringBootGenerator.svg?style=social&label=Fork)](https://github.com/wang926454/SpringBootGenerator)

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

版本 | 操作 | 链接
----|------|----
SpringBoot1.5版 | Test类生成代码 | 当前
SpringBoot2.1版 | Test类生成代码 | [https://github.com/wang926454/SpringBootGenerator](https://github.com/wang926454/SpringBootGenerator)
SpringBoot1.5版 | 可视化界面操作生成代码 | [https://github.com/wang926454/SpringBootGenerator](https://github.com/wang926454/SpringBootGenerator)
SpringBoot1.5 | Test类生成代码 | 当前
SpringBoot2.1 | Test类生成代码 | [https://github.com/wang926454/SpringBootGenerator](https://github.com/wang926454/SpringBootGenerator)
SpringBoot1.5 | 可视化界面生成代码 | [https://github.com/wang926454/SpringBootGenerator/tree/viewgenerator](https://github.com/wang926454/SpringBootGenerator/tree/viewgenerator)

#### 项目介绍

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

``` lua
src
├─main -- main运行主体代码
├─java
└─resources
└─test -- test单元测试
├─java
└─com
├─example
│ │ ├─base -- 通用单元测试基础类
│ │ ├─generator -- 代码生成器第一版,第二版执行Main函数
│ │ └─test -- test代码
└─uframe -- 代码生成器第二版核心代码
└─generator -- 代码生成器第二版核心代码
└─resources -- test resources
├─config -- 代码生成器第二版配置代码
├─sql -- SQL文件示例
└─template
├─one -- 代码生成器第一版模板
└─two -- 代码生成器第二版模板
├─LayUI -- 代码生成器第二版LayUI模板示例
└─RESTful -- 代码生成器第二版RESTful模板示例
├─ main -- main运行主体代码
├─ java
└─ resources
└─ test -- test单元测试
├─ java
└─ com
├─ example
├─ base -- 通用单元测试基础类
├─ generator -- 代码生成器第一版,第二版执行Main函数
└─ test -- test代码
└─ uframe -- 代码生成器第二版核心代码
└─ generator -- 代码生成器第二版核心代码
└─ resources -- test resources
├─ config -- 代码生成器第二版配置代码
├─ sql -- SQL文件示例
└─ template
├─ one -- 代码生成器第一版模板
└─ two -- 代码生成器第二版模板
├─ LayUI -- 代码生成器第二版LayUI模板示例
└─ RESTful -- 代码生成器第二版RESTful模板示例
```

#### 安装教程
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/config/generator.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jdbc.url=jdbc:mysql://127.0.0.1:3306/dev?useUnicode=true&characterEncoding=U
jdbc.driver=com.mysql.jdbc.Driver
jdbc.username=root
jdbc.password=root
jdbc.catalog=dev
# oracle需要指定jdbc.schema,并且要大写,其它数据库忽略此项配置
jdbc.schema=
jdbc.catalog=

# basepackage属性,包路径
basepackage=com.example
Expand Down

0 comments on commit 1ee6d01

Please sign in to comment.