Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
quick_generator
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lv xiang
quick_generator
Commits
f3387aab
Commit
f3387aab
authored
Jun 13, 2018
by
xxlv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
631fe7b5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
2 deletions
+34
-2
workspace.xml
.idea/workspace.xml
+0
-0
README.md
README.md
+34
-2
No files found.
.idea/workspace.xml
View file @
f3387aab
This diff is collapsed.
Click to expand it.
README.md
View file @
f3387aab
#### What is this?
这是一个小工具,可以快速生成ydl java project。
这是一个小工具,可以快速生成 YDL java project resource
#### 用法
```
python gen.py
resourc
e path/to/project
python gen.py
table_nam
e path/to/project
```
###### python about /work/user-center
此时将自动在user_center下建立如下文件:
...
...
@@ -27,3 +31,31 @@ python gen.py resource path/to/project
- AboutMapper.xml
```
##### Desc
-
会自动将table_name转化为驼峰资源。 如table_name 将生成对象 TableName
-
会自动连接ydl的测试数据库并生成po
-
会自动用po的内容默认填充dto(req&resp)
-
会将文件copy到 /path/to/project 的正确位置
-
会自动触发单元测试
##### Rollback
如果对生成的结果不满意,可以使用
```
git clean -f
```
来删除最新生成的文件
##### TODO APIs
-
get${PLACE}ById
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment