1 Star 7 Fork 0

郎有钱 / dataPump

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

dataPump

介绍

数据泵 用于研发以数据库为源头的模版文本生成器

模版引擎

模版引擎使用Beetle 3 模版使用文档

安装教程

注意由于依赖包限制目前仅支持java11及以上版本

下载jar包直接启动即可(有java环境变量),完成后点击退出即可。

使用步骤

STEP1 配置数据源 configDB STEP2 获取元数据 metaData

  • copyJson 按钮可以将元数据直接复制到剪贴板,Json格式的数据,可以在编写模版时参考提示。
  • packagePath是通用的一个变量可以在模版中使用具体例子可以参考Beetl目录中的模版
  • 每一张数据表对应一条数据,tableName旁边的漏斗图标可以筛选。
  • option按钮可以配置表内使用的字段,ifID和ifInBaseModel选项可以在模版中当做判读项使用 STEP3 生成文件 gen
使用注意

模版和输出目录需要以\结尾,不然会拼接到文件名中。 按照模版生成需要配置模版目录,如果只需要用excle,只填写输出目录即可。 如果文件内容中文乱码,尝试用gbk或者gb2312编码重新打开。

更新历史

v1.0

架构替换为Kotlin+Solon+MybatisFlex+Socket.D+vue3+arcoDesign

MIT License Copyright (c) 2024 郎有钱 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

数据泵 用于研发以数据库为源头的模版文本生成器 展开 收起
MIT
取消

发行版 (2)

全部

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/Agent_Rich/dataPump.git
git@gitee.com:Agent_Rich/dataPump.git
Agent_Rich
dataPump
dataPump
master

搜索帮助