Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5397cd1

Browse files
| 2024年04月21日 | 修复CDN版本cdn.staticfile.org域名备份失败问题,已同步更新到cdn.staticfile.net(本地版本则不受影响) | 2024年01月26日 | 修复大写下滑线列名转驼峰问题(感谢@Nisus-Liu 的PR)
| 2024年04月21日 | 修复CDN版本cdn.staticfile.org域名备份失败问题,已同步更新到cdn.staticfile.net(本地版本则不受影响) | 2024年01月26日 | 修复大写下滑线列名转驼峰问题(感谢@Nisus-Liu 的PR)
1 parent 6d1f29b commit 5397cd1

File tree

7 files changed

+52
-45
lines changed

7 files changed

+52
-45
lines changed

‎README.md

Lines changed: 32 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SpringBootCodeGenerator
22
----
3-
又名`JAVA在线代码生成平台``sql转java``大狼狗代码生成器``mybatis在线生成器``SQL转Java JPA、MYBATIS实现类代码生成平台`<br>
3+
又名`Java代码生成器``JAVA在线代码生成平台``sql转java``大狼狗代码生成器``mybatis在线生成器``SQL转Java JPA、MYBATIS实现类代码生成平台`<br>
44
![image](https://img.shields.io/badge/SpringBoot2-%E2%98%85%E2%98%85%E2%98%85%E2%98%85%E2%98%85-blue.svg)
55
![image](https://img.shields.io/badge/Freemarker-%E2%98%85%E2%98%85%E2%98%85%E2%98%85%E2%98%85-blue.svg)
66
![image](https://img.shields.io/badge/CodeGenerator-%E2%98%85%E2%98%85%E2%98%85%E2%98%85%E2%98%85-blue.svg)
@@ -16,38 +16,28 @@
1616
>For reducing the repetitive CRUD work<br>
1717
> #以解放双手为目的,减少大量的`重复CRUD工作`
1818
>
19-
>mainly support mysql, support oracle and pgsql as well<br>
19+
>Support mysql, oracle and pgsql<br>
2020
> #支持`MySQL`、Oracle、PgSQL三大主流数据库
2121
>
22-
>generate to many popular templates by ddl-sql/insert-sql/simple json<br>
23-
> 可通过`建表SQL语句``INSERT语句`或者`简单JSON`生成`JPA/JdbcTemplate/Mybatis/MybatisPlus/BeetlSQL/CommonMapper`相关模板代码.
22+
>Generate to many predefined popular templates by DDL-SQL/Insert-SQL/Simple JSON<br>
23+
> 可通过`建表SQL语句``INSERT语句`或者`简单JSON`生成预设的`JPA/JdbcTemplate/Mybatis/MybatisPlus/BeetlSQL/CommonMapper`相关模板代码.
2424
>
25-
>thanks for your using and feedback,I'm inspired by the 600PV every day and github more than 900 stars <br>
26-
> 感谢大家的使用和反馈,每天六百的PV和获得超过九百多的星星是我前进和继续做下去的动力
25+
>Thanks for your using and feedback,I'm inspired by the 1500+PV (AVG) every day and github more than 1.9K stars <br>
26+
> 感谢大家的使用和反馈,每天1500的PV和获得超过九百多的星星是我前进和继续做下去的动力
2727
>
28-
>hope everyone can keep good balance on work and life , stay health and safety , be smooth on work as well<br>
29-
> 愿大家可以维持生活和工作平衡,保持健康和安全,祝大家工作顺利!
28+
>Hope everyone can keep good balance on work and life , stay health and safety . I wish you success in your new position and get promoted step by step. <br>
29+
> 愿大家可以维持生活和工作平衡,保持健康和安全,祝大家工作顺利,步步高升!
30+
>Please submit your issue and template , or pull your good idea into the PR <br>
31+
> 提交你的问题和生成模板,或者提交你的好主意到PR。
3032
31-
# Tips or Features
32-
- 支持`DDL SQL`/`INSERT SQL`/`SIMPLE JSON`三种生成模式
33-
- `自动记忆`最近生成的内容,最多保留9个
34-
- 提供众多`通用模板`,易于使用,复制粘贴加简单修改即可完成CRUD操作
35-
- 支持`特殊字符`模板(`#`请用``代替;`$`请用`\`代替)
36-
- `Util集合`提供一些基本对象的使用方法供方便COPY,如对应的CRUD SQL语句、setMap、getMap、get属性等等
37-
- 关于`类名注释`,可根据`comment=(mysql)`或者`comment on table(pgsql/oracle)`生成
38-
- 可设置是否`自动引包`(java中的import)及`引入包路径`(java类中的package),建议取消并配合IDEA的自动引包更智能(Settings→Editor→General→Auto Import,勾选Add unambiguous imports on the fly以及Optimize imports on the fly)。
39-
- 可设置`表名前缀`,例如sys_user前缀为sys_之后可以正确生成user类
40-
- 可在`applicaltion.yml`中的`OEM.mode`设置`js/css引入模式``local`(本地模式,默认)/`CDN`(云CDN模式,在线网站推荐,省流量)
41-
- OEM信息可以在`applicaltion.yml`中的`OEM`中更改
42-
- *支持公共js/css的Local/CDN模式切换,方便`本地`或者`工具站`进行部署,可以在`application.yml``OEM.Mode=`进行设置,之后请在`header-CDN.html`/`header-local.html`中检查对应js/css配置是否正确。
4333

4434
# Url
4535

46-
感谢`卡卡`将他部署在[BEJSON](https://java.bejson.com/generator)上,目前是besjon专供的金牌工具(线上版本不一定是最新的,会有延迟,请谅解,谢谢).<br>
47-
感谢`jully.top`部署的副本 [https://jully.top/generator/](https://jully.top/generator/)。<br>
48-
感谢`三叔`将他部署在[DEVTOOLS](https://java.devtools.cn/) (Demised)上,继续作为Golden Tool开放给大家使用。<br>
49-
感谢`七牛`提供的云js/css免费加速服务,它尽可能全面收录优秀的开源库,并免费为之提供 CDN 加速服务,使之有更好的访问速度和稳定的环境。
50-
Thanks for `JetBrains` providing us the `Licenses for Open Source Development` ,[Get free access to all JetBrains tools for developing your open source project!](https://www.jetbrains.com/community/opensource/#support) .<br>
36+
-感谢`卡卡`将他部署在[BEJSON](https://java.bejson.com/generator)上,目前是besjon专供的`金牌工具`(线上版本不一定是最新的,会有延迟,请谅解,谢谢).<br>
37+
-感谢`jully.top`部署的副本 [https://jully.top/generator/](https://jully.top/generator/)。<br>
38+
-感谢`三叔`将他部署在[DEVTOOLS](https://java.devtools.cn/) (Demised)上,继续作为Golden Tool开放给大家使用。<br>
39+
-感谢`七牛`提供的云js/css免费加速服务,它尽可能全面收录优秀的开源库,并免费为之提供 CDN 加速服务,使之有更好的访问速度和稳定的环境。
40+
-Thanks for `JetBrains` providing us the `Licenses for Open Source Development` ,[Get free access to all JetBrains tools for developing your open source project!](https://www.jetbrains.com/community/opensource/#support) .<br>
5141

5242
| 访问地址 | http://localhost:1234/generator |
5343
|:-----------------------|:--------------------------------------------------------------|
@@ -58,10 +48,26 @@ Thanks for `JetBrains` providing us the `Licenses for Open Source Development`
5848
| GITEE仓库 | https://gitee.com/moshowgame/SpringBootCodeGenerator/releases |
5949
| GITHUB仓库 | https://github.com/moshowgame/SpringBootCodeGenerator |
6050

51+
# Tips or Features
52+
- 支持`DDL SQL`/`INSERT SQL`/`SIMPLE JSON`三种生成模式
53+
- `自动记忆`最近生成的内容,最多保留9个
54+
- 提供众多`通用模板`,易于使用,复制粘贴加简单修改即可完成CRUD操作
55+
- 支持`特殊字符`模板(`#`请用``代替;`$`请用`\`代替)
56+
- `Util集合`提供一些基本对象的使用方法供方便COPY,如对应的CRUD SQL语句、setMap、getMap、get属性等等
57+
- 关于`类名注释`,可根据`comment=(mysql)`或者`comment on table(pgsql/oracle)`生成
58+
- 可设置是否`自动引包`(java中的import)及`引入包路径`(java类中的package),建议取消并配合IDEA的自动引包更智能(Settings→Editor→General→Auto Import,勾选Add unambiguous imports on the fly以及Optimize imports on the fly)。
59+
- 可设置`表名前缀`,例如sys_user前缀为sys_之后可以正确生成user类
60+
- 可在`applicaltion.yml`中的`OEM.mode`设置`js/css引入模式``local`(本地模式,默认)/`CDN`(云CDN模式,在线网站推荐,省流量)
61+
- OEM信息可以在`applicaltion.yml`中的`OEM`中更改
62+
- *支持公共js/css的Local/CDN模式切换,方便`本地`或者`工具站`进行部署,可以在`application.yml``OEM.Mode=`进行设置,之后请在`header-CDN.html`/`header-local.html`中检查对应js/css配置是否正确。
63+
6164

6265
# Update Logs
6366
| 更新日期 | 更新内容 |
6467
|:-----------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
68+
| 2024年04月21日 | 修复CDN版本cdn.staticfile.org域名备份失败问题,已同步更新到cdn.staticfile.net(本地版本则不受影响)
69+
| 2024年01月26日 | 修复大写下滑线列名转驼峰问题(感谢@Nisus-Liu
70+
的PR) |
6571
| 2023年10月22日 | 工具站CDN更新。 |
6672
| 2023年08月31日 | (感谢@Nisus-Liu的PR)<br>fix 驼峰列名转命名风格错误问题<br>增强转下划线命名风格, 对原始风格不敏感. 支持各种命名风格的列名 to 下划线<br>增加 NonCaseString 大小写不敏感字符串包装类, 简化编码<br>几点代码小优化。 |
6773
| 2023年07月11日 | 安全更新,正式支持SpringBoot3,javax升级到jakarta。 |
@@ -161,6 +167,7 @@ Thanks for `JetBrains` providing us the `Licenses for Open Source Development`
161167

162168
<img src="./codegenerator1.png">
163169
<img src="./codegenerator2.png">
170+
<img src="./site_analysis-2024.png">
164171
<img src="./site_analysis.png">
165172
<img src="./donate.png">
166173

‎generator-web/src/main/resources/application-bejson.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ spring:
4747
#mvc:
4848
# static-path-pattern: /statics/**
4949
OEM:
50-
version: 2023.10
50+
version: 2024.4
5151
header: SQL转Java JPA、MYBATIS实现类代码生成平台
5252
keywords: sql转实体类,sql转DAO,SQL转service,SQL转JPA实现,SQL转MYBATIS实现
5353
title: JAVA在线代码生成

‎generator-web/src/main/resources/application-dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ spring:
4747
#mvc:
4848
# static-path-pattern: /statics/**
4949
OEM:
50-
version: 2023.10
50+
version: 2024.4
5151
header: SQL转Java JPA、MYBATIS实现类代码生成平台
5252
keywords: sql转实体类,sql转DAO,SQL转service,SQL转JPA实现,SQL转MYBATIS实现
5353
title: JAVA代码生成平台

‎generator-web/src/main/resources/application-devtools.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ spring:
4747
#mvc:
4848
# static-path-pattern: /statics/**
4949
OEM:
50-
version: 2023.10
50+
version: 2024.4
5151
header: SQL转Java JPA、MYBATIS实现类代码生成平台
5252
keywords: sql转实体类,sql转DAO,SQL转service,SQL转JPA实现,SQL转MYBATIS实现
5353
title: JAVA在线代码生成
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
spring:
22
profiles:
3-
active: dev
3+
active: bejson

‎generator-web/src/main/resources/templates/header-CDN.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,31 @@
33
<!--#################-->
44

55
<!--jquery | vue | element-ui | axios-->
6-
<script src="//cdn.staticfile.org/jquery/3.5.1/jquery.min.js"></script>
7-
<script src="//cdn.staticfile.org/vue/2.6.12/vue.min.js"></script>
8-
<script src="//cdn.staticfile.org/element-ui/2.15.14/index.min.js"></script>
9-
<link rel="stylesheet" href="//cdn.staticfile.org/element-ui/2.15.0/theme-chalk/index.min.css">
10-
<script src="//cdn.staticfile.org/axios/0.1.0/axios.min.js"></script>
6+
<script src="//cdn.staticfile.net/jquery/3.5.1/jquery.min.js"></script>
7+
<script src="//cdn.staticfile.net/vue/2.6.12/vue.min.js"></script>
8+
<script src="//cdn.staticfile.net/element-ui/2.15.14/index.min.js"></script>
9+
<link rel="stylesheet" href="//cdn.staticfile.net/element-ui/2.15.0/theme-chalk/index.min.css">
10+
<script src="//cdn.staticfile.net/axios/0.1.0/axios.min.js"></script>
1111

1212
<script src="${request.contextPath}/statics/js/common.js"></script>
1313
<link rel="stylesheet" href="${request.contextPath}/statics/css/main.css">
1414

1515
<!--[if lt IE 9]>
16-
<script src="//cdn.staticfile.org/html5shiv/3.7.3/html5shiv.min.js"></script>
17-
<script src="//cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
16+
<script src="//cdn.staticfile.net/html5shiv/3.7.3/html5shiv.min.js"></script>
17+
<script src="//cdn.staticfile.net/respond.js/1.4.2/respond.min.js"></script>
1818
<![endif]-->
1919

2020

2121
<!-- import codemirror -->
22-
<script src="//cdn.staticfile.org/codemirror/6.65.7/codemirror.min.js"></script>
23-
<script src="//cdn.staticfile.org/codemirror/6.65.7/mode/sql/sql.min.js"></script>
24-
<script src="//cdn.staticfile.org/codemirror/6.65.7/mode/xml/xml.min.js"></script>
25-
<script src="//cdn.staticfile.org/codemirror/6.65.7/mode/clike/clike.min.js"></script>
26-
<script src="//cdn.staticfile.org/codemirror/6.65.7/mode/javascript/javascript.min.js"></script>
27-
<link rel="stylesheet" href="//cdn.staticfile.org/codemirror/6.65.7/codemirror.min.css">
28-
<link rel="stylesheet" href="//cdn.staticfile.org/codemirror/6.65.7/theme/idea.min.css">
22+
<script src="//cdn.staticfile.net/codemirror/6.65.7/codemirror.min.js"></script>
23+
<script src="//cdn.staticfile.net/codemirror/6.65.7/mode/sql/sql.min.js"></script>
24+
<script src="//cdn.staticfile.net/codemirror/6.65.7/mode/xml/xml.min.js"></script>
25+
<script src="//cdn.staticfile.net/codemirror/6.65.7/mode/clike/clike.min.js"></script>
26+
<script src="//cdn.staticfile.net/codemirror/6.65.7/mode/javascript/javascript.min.js"></script>
27+
<link rel="stylesheet" href="//cdn.staticfile.net/codemirror/6.65.7/codemirror.min.css">
28+
<link rel="stylesheet" href="//cdn.staticfile.net/codemirror/6.65.7/theme/idea.min.css">
2929

3030
<!--bootsrap -->
3131
<link rel="stylesheet" href="${request.contextPath}/statics/css/all-skins.min.css">
32-
<link rel="stylesheet" href="//cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
33-
<link rel="stylesheet" href="//cdn.staticfile.org/admin-lte/2.3.11/css/AdminLTE.min.css">
32+
<link rel="stylesheet" href="//cdn.staticfile.net/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
33+
<link rel="stylesheet" href="//cdn.staticfile.net/admin-lte/2.3.11/css/AdminLTE.min.css">

‎site_analysis-2024.png

239 KB
Loading[フレーム]

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /