Skip to content

Commit 2f1fd79

Browse files
committed
更换域名dolyw.com
1 parent a5fc04f commit 2f1fd79

30 files changed

+81
-83
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
## ViewGenerator
22

33
[![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)
4+
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/dolyw/ViewGenerator/pulls)
5+
[![GitHub stars](https://img.shields.io/github/stars/dolyw/ViewGenerator.svg?style=social&label=Stars)](https://github.com/dolyw/ViewGenerator)
6+
[![GitHub forks](https://img.shields.io/github/forks/dolyw/ViewGenerator.svg?style=social&label=Fork)](https://github.com/dolyw/ViewGenerator)
77

88
> 可视化自定义模板代码生成系统
99
1010
#### 项目相关
1111

1212
版本 | 操作 | 链接
1313
----|------|----
14-
SpringBoot1.5(第一版) | Test类生成代码 | [https://github.com/wang926454/SpringBootGenerator/releases](https://github.com/wang926454/SpringBootGenerator/releases)
15-
SpringBoot2.1(第二版) | Test类生成代码 | [https://github.com/wang926454/SpringBootGenerator/releases](https://github.com/wang926454/SpringBootGenerator/releases)
14+
SpringBoot1.5(第一版) | Test类生成代码 | [https://github.com/dolyw/ViewGenerator/releases](https://github.com/dolyw/ViewGenerator/releases)
15+
SpringBoot2.1(第二版) | Test类生成代码 | [https://github.com/dolyw/ViewGenerator/releases](https://github.com/dolyw/ViewGenerator/releases)
1616
SpringBoot1.5(第三版) | 可视化界面或Test类两种 | 当前
1717

1818
#### 项目介绍
@@ -43,23 +43,23 @@ SpringBoot + Mybatis + PageHelper + 通用Mapper + Thymeleaf(Amaze UI(布局) +
4343
```
4444
启动首页界面
4545
```
46-
![image text](https://docs.wang64.cn/Project/ViewGenerator/image/20190406001.png)
46+
![image text](https://docs.dolyw.com/Project/ViewGenerator/image/20190406001.png)
4747
```
4848
生成代码界面如下
4949
```
50-
![image text](https://docs.wang64.cn/Project/ViewGenerator/image/20190406002.png)
50+
![image text](https://docs.dolyw.com/Project/ViewGenerator/image/20190406002.png)
5151
```
5252
查看表详细信息界面如下
5353
```
54-
![image text](https://docs.wang64.cn/Project/ViewGenerator/image/20190406003.png)
54+
![image text](https://docs.dolyw.com/Project/ViewGenerator/image/20190406003.png)
5555
```
5656
输入表名生成代码界面如下
5757
```
58-
![image text](https://docs.wang64.cn/Project/ViewGenerator/image/20190406004.png)
58+
![image text](https://docs.dolyw.com/Project/ViewGenerator/image/20190406004.png)
5959
```
6060
配置更新界面如下
6161
```
62-
![image text](https://docs.wang64.cn/Project/ViewGenerator/image/20190406005.png)
62+
![image text](https://docs.dolyw.com/Project/ViewGenerator/image/20190406005.png)
6363

6464
#### 搭建参考
6565

src/main/java/com/example/Application.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/**
88
* Application
9-
* @author Wang926454
9+
* @author dolyw.com
1010
* @date 2018/11/16 19:29
1111
*/
1212
@SpringBootApplication

src/main/java/com/example/common/IBaseService.java

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
/**
99
* IBaseService
10-
* @author Wang926454
10+
* @author dolyw.com
1111
* @date 2018/8/9 15:45
1212
*/
1313
public interface IBaseService<T> {
@@ -17,7 +17,7 @@ public interface IBaseService<T> {
1717
* 根据实体中的属性值进行查询,查询条件使用等号
1818
* @param record
1919
* @return java.util.List<T>
20-
* @author Wang926454
20+
* @author dolyw.com
2121
* @date 2018/8/9 15:43
2222
*/
2323
List<T> select(T record);
@@ -26,7 +26,7 @@ public interface IBaseService<T> {
2626
* 根据主键字段进行查询,方法参数必须包含完整的主键属性,查询条件使用等号
2727
* @param key
2828
* @return T
29-
* @author Wang926454
29+
* @author dolyw.com
3030
* @date 2018/8/9 15:43
3131
*/
3232
T selectByPrimaryKey(Object key);
@@ -35,7 +35,7 @@ public interface IBaseService<T> {
3535
* 查询全部结果,select(null)方法能达到同样的效果
3636
* @param
3737
* @return java.util.List<T>
38-
* @author Wang926454
38+
* @author dolyw.com
3939
* @date 2018/8/9 15:43
4040
*/
4141
List<T> selectAll();
@@ -44,7 +44,7 @@ public interface IBaseService<T> {
4444
* 根据实体中的属性进行查询,只能有一个返回值,有多个结果是抛出异常,查询条件使用等号
4545
* @param record
4646
* @return T
47-
* @author Wang926454
47+
* @author dolyw.com
4848
* @date 2018/8/9 15:43
4949
*/
5050
T selectOne(T record);
@@ -53,7 +53,7 @@ public interface IBaseService<T> {
5353
* 根据实体中的属性查询总数,查询条件使用等号
5454
* @param record
5555
* @return int
56-
* @author Wang926454
56+
* @author dolyw.com
5757
* @date 2018/8/9 15:43
5858
*/
5959
int selectCount(T record);
@@ -63,7 +63,7 @@ public interface IBaseService<T> {
6363
* 保存一个实体,null的属性也会保存,不会使用数据库默认值
6464
* @param record
6565
* @return int
66-
* @author Wang926454
66+
* @author dolyw.com
6767
* @date 2018/8/9 15:43
6868
*/
6969
int insert(T record);
@@ -72,7 +72,7 @@ public interface IBaseService<T> {
7272
* 保存一个实体,null的属性不会保存,会使用数据库默认值
7373
* @param record
7474
* @return int
75-
* @author Wang926454
75+
* @author dolyw.com
7676
* @date 2018/8/9 15:43
7777
*/
7878
int insertSelective(T record);
@@ -82,7 +82,7 @@ public interface IBaseService<T> {
8282
* 根据主键更新实体全部字段,null值会被更新
8383
* @param record
8484
* @return int
85-
* @author Wang926454
85+
* @author dolyw.com
8686
* @date 2018/8/9 15:43
8787
*/
8888
int updateByPrimaryKey(T record);
@@ -91,7 +91,7 @@ public interface IBaseService<T> {
9191
* 根据主键更新属性不为null的值
9292
* @param record
9393
* @return int
94-
* @author Wang926454
94+
* @author dolyw.com
9595
* @date 2018/8/9 15:43
9696
*/
9797
int updateByPrimaryKeySelective(T record);
@@ -101,7 +101,7 @@ public interface IBaseService<T> {
101101
* 根据实体属性作为条件进行删除,查询条件使用等号
102102
* @param record
103103
* @return int
104-
* @author Wang926454
104+
* @author dolyw.com
105105
* @date 2018/8/9 15:43
106106
*/
107107
int delete(T record);
@@ -110,7 +110,7 @@ public interface IBaseService<T> {
110110
* 根据主键字段进行删除,方法参数必须包含完整的主键属性
111111
* @param key
112112
* @return int
113-
* @author Wang926454
113+
* @author dolyw.com
114114
* @date 2018/8/9 15:44
115115
*/
116116
int deleteByPrimaryKey(Object key);
@@ -120,7 +120,7 @@ public interface IBaseService<T> {
120120
* 根据Example条件进行查询,这个查询支持通过Example类指定查询列,通过selectProperties方法指定查询列
121121
* @param example
122122
* @return java.util.List<T>
123-
* @author Wang926454
123+
* @author dolyw.com
124124
* @date 2018/8/9 15:44
125125
*/
126126
List<T> selectByExample(Object example);
@@ -129,7 +129,7 @@ public interface IBaseService<T> {
129129
* 根据Example条件进行查询总数
130130
* @param example
131131
* @return int
132-
* @author Wang926454
132+
* @author dolyw.com
133133
* @date 2018/8/9 15:44
134134
*/
135135
int selectCountByExample(Object example);
@@ -139,7 +139,7 @@ public interface IBaseService<T> {
139139
* @param record
140140
* @param example
141141
* @return int
142-
* @author Wang926454
142+
* @author dolyw.com
143143
* @date 2018/8/9 15:44
144144
*/
145145
int updateByExample(@Param("record") T record, @Param("example") Object example);
@@ -149,7 +149,7 @@ public interface IBaseService<T> {
149149
* @param record
150150
* @param example
151151
* @return int
152-
* @author Wang926454
152+
* @author dolyw.com
153153
* @date 2018/8/9 15:44
154154
*/
155155
int updateByExampleSelective(@Param("record") T record, @Param("example") Object example);
@@ -158,7 +158,7 @@ public interface IBaseService<T> {
158158
* 根据Example条件删除数据
159159
* @param example
160160
* @return int
161-
* @author Wang926454
161+
* @author dolyw.com
162162
* @date 2018/8/9 15:44
163163
*/
164164
int deleteByExample(Object example);
@@ -169,7 +169,7 @@ public interface IBaseService<T> {
169169
* @param record
170170
* @param rowBounds
171171
* @return java.util.List<T>
172-
* @author Wang926454
172+
* @author dolyw.com
173173
* @date 2018/8/9 15:44
174174
*/
175175
List<T> selectByRowBounds(T record, RowBounds rowBounds);
@@ -179,7 +179,7 @@ public interface IBaseService<T> {
179179
* @param example
180180
* @param rowBounds
181181
* @return java.util.List<T>
182-
* @author Wang926454
182+
* @author dolyw.com
183183
* @date 2018/8/9 15:44
184184
*/
185185
List<T> selectByExampleAndRowBounds(Object example, RowBounds rowBounds);

src/main/java/com/example/common/ResponseBean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* ResponseBean
5-
* @author Wang926454
5+
* @author dolyw.com
66
* @date 2018/8/30 11:39
77
*/
88
public class ResponseBean {

src/main/java/com/example/common/impl/BaseServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
/**
1111
* BaseServiceImpl
12-
* @author Wang926454
12+
* @author dolyw.com
1313
* @date 2018/8/9 15:45
1414
*/
1515
public abstract class BaseServiceImpl<T> implements IBaseService<T> {

src/main/java/com/example/config/DataBaseConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
/**
1212
* Dao配置注入
13-
* @author Wang926454
13+
* @author dolyw.com
1414
* @date 2019/4/5 17:56
1515
*/
1616
@Configuration
@@ -36,7 +36,7 @@ public class DataBaseConfig {
3636
* @param
3737
* @throws
3838
* @return com.example.dao.GeneratorDao
39-
* @author Wang926454
39+
* @author dolyw.com
4040
* @date 2019/4/5 17:59
4141
*/
4242
@Bean

src/main/java/com/example/config/ExceptionAdvice.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
/**
1515
* 异常控制处理器
16-
* @author Wang926454
16+
* @author dolyw.com
1717
* @date 2018/8/30 14:02
1818
*/
1919
@RestControllerAdvice

src/main/java/com/example/config/WebMvcConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/**
88
* SpringBoot全局支持CORS(跨源请求)的配置
9-
* @author Wang926454
9+
* @author dolyw.com
1010
* @date 2018/8/9 17:28
1111
*/
1212
@Configuration

src/main/java/com/example/constant/Constant.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* Constant
5-
* @author Wang926454
5+
* @author dolyw.com
66
* @date 2019/4/6 19:50
77
*/
88
public interface Constant {

src/main/java/com/example/constant/DataBaseEnum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
/**
44
* 数据库类型
5-
* @author Wang926454
5+
* @author dolyw.com
66
* @date 2019/4/6 19:53
77
*/
88
public enum DataBaseEnum {

0 commit comments

Comments
 (0)