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
4d620a71
Commit
4d620a71
authored
Jun 13, 2018
by
xxlv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
1a467d4b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
109 additions
and
102 deletions
+109
-102
workspace.xml
.idea/workspace.xml
+105
-101
${PLACE}ReqDto.java
template/${PLACE}ReqDto.java
+1
-0
${PLACE}RespDto.java
template/${PLACE}RespDto.java
+3
-1
No files found.
.idea/workspace.xml
View file @
4d620a71
...
...
@@ -2,7 +2,8 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"1abc04e8-e167-42cd-98ea-074bbb2150ed"
name=
"Default"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/README.md"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/README.md"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/template/${PLACE}ReqDto.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/template/${PLACE}ReqDto.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/template/${PLACE}RespDto.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/template/${PLACE}RespDto.java"
afterDir=
"false"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"TRACKING_ENABLED"
value=
"true"
/>
...
...
@@ -14,16 +15,41 @@
<component
name=
"CoverageDataManager"
>
<SUITE
FILE_PATH=
"coverage/quick_tpl$gen.coverage"
NAME=
"gen Coverage Results"
MODIFIED=
"1528859310664"
SOURCE_PROVIDER=
"com.intellij.coverage.DefaultCoverageFileProvider"
RUNNER=
"coverage.py"
COVERAGE_BY_TEST_ENABLED=
"true"
COVERAGE_TRACING_ENABLED=
"false"
WORKING_DIRECTORY=
"$PROJECT_DIR$"
/>
</component>
<component
name=
"DatabaseView"
>
<option
name=
"SHOW_INTERMEDIATE"
value=
"true"
/>
<option
name=
"GROUP_DATA_SOURCES"
value=
"true"
/>
<option
name=
"GROUP_SCHEMA"
value=
"true"
/>
<option
name=
"GROUP_CONTENTS"
value=
"false"
/>
<option
name=
"SORT_POSITIONED"
value=
"false"
/>
<option
name=
"SHOW_EMPTY_GROUPS"
value=
"false"
/>
<option
name=
"AUTO_SCROLL_FROM_SOURCE"
value=
"false"
/>
<option
name=
"HIDDEN_KINDS"
>
<set
/>
</option>
<expand
/>
<select
/>
</component>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
leaf-file-name=
"README.md"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/README.md"
>
<provider
selected=
"true"
editor-type-id=
"split-provider[text-editor;markdown-preview-editor]"
>
<state
split_layout=
"SPLIT"
>
<first_editor
relative-caret-position=
"764"
>
<caret
line=
"59"
lean-forward=
"true"
selection-start-line=
"59"
selection-end-line=
"59"
/>
</first_editor>
<second_editor
/>
<file
leaf-file-name=
"${PLACE}.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
</file>
<file
leaf-file-name=
"${PLACE}ReqDto.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}ReqDto.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
selection-start-line=
"2"
selection-end-line=
"3"
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"${PLACE}RespDto.java"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}RespDto.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
selection-start-line=
"2"
selection-end-line=
"2"
/>
</state>
</provider>
</entry>
...
...
@@ -66,10 +92,10 @@
<option
value=
"$PROJECT_DIR$/tmp/generatorConfig.xml"
/>
<option
value=
"$PROJECT_DIR$/template/${PLACE}FacadeImpl.java"
/>
<option
value=
"$PROJECT_DIR$/tmp/AbnormalOrderReqDto.java"
/>
<option
value=
"$PROJECT_DIR$/template/${PLACE}ReqDto.java"
/>
<option
value=
"$PROJECT_DIR$/template/${PLACE}RespDto.java"
/>
<option
value=
"$PROJECT_DIR$/gen.py"
/>
<option
value=
"$PROJECT_DIR$/README.md"
/>
<option
value=
"$PROJECT_DIR$/template/${PLACE}ReqDto.java"
/>
<option
value=
"$PROJECT_DIR$/template/${PLACE}RespDto.java"
/>
</list>
</option>
</component>
...
...
@@ -103,6 +129,16 @@
<item
name=
"quick_tpl"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"quick_tpl"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"quick_tpl"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"quick_tpl"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"template"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"quick_tpl"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"quick_tpl"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"tmp"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</expand>
<select
/>
</subPane>
...
...
@@ -217,85 +253,52 @@
<frame
x=
"67"
y=
"25"
width=
"1853"
height=
"1055"
extended-state=
"6"
/>
<editor
active=
"true"
/>
<layout>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"
6
"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"
7
"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Database Changes"
order=
"
7
"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"
7
"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"
9
"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"
9
"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"
20
"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Database Changes"
order=
"
11
"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"
12
"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"
14
"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"
7
"
weight=
"0.31236443"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"
8"
visible=
"true
"
weight=
"0.31236443"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.25235197"
/>
<window_info
anchor=
"bottom"
id=
"Docker"
order=
"9"
show_stripe_button=
"false"
/>
<window_info
anchor=
"right"
id=
"Database"
order=
"3"
/>
<window_info
anchor=
"right"
id=
"SciView"
order=
"5"
/>
<window_info
id=
"Structure"
order=
"1"
side_tool=
"true"
weight=
"0.25"
/>
<window_info
id=
"Favorites"
order=
"2"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"3"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"FindBugs-IDEA"
order=
"7"
/>
<window_info
id=
"Designer"
order=
"2"
/>
<window_info
anchor=
"right"
id=
"Palette"
order=
"3"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"9"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
/>
<window_info
id=
"Image Layers"
order=
"2"
/>
<window_info
anchor=
"right"
id=
"Commander"
internal_type=
"SLIDING"
order=
"0"
type=
"SLIDING"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"Cvs"
order=
"4"
weight=
"0.25"
/>
<window_info
anchor=
"right"
id=
"Ant Build"
order=
"1"
weight=
"0.25"
/>
<window_info
id=
"Capture Tool"
order=
"2"
/>
<window_info
id=
"UI Designer"
order=
"2"
/>
<window_info
id=
"Favorites"
order=
"2"
side_tool=
"true"
/>
<window_info
active=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"7"
visible=
"true"
weight=
"0.329718"
/>
<window_info
anchor=
"bottom"
id=
"Docker"
order=
"9"
show_stripe_button=
"false"
/>
<window_info
anchor=
"right"
id=
"Capture Analysis"
order=
"3"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"7"
side_tool=
"true"
/>
<window_info
anchor=
"right"
content_ui=
"combo"
id=
"Hierarchy"
order=
"2"
weight=
"0.25"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.25235197"
/>
<window_info
anchor=
"bottom"
id=
"Database Changes"
order=
"7"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"7"
/>
<window_info
anchor=
"right"
id=
"Maven Projects"
order=
"3"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.329718"
/>
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<window_info
anchor=
"right"
id=
"SciView"
order=
"5"
/>
<window_info
anchor=
"right"
id=
"Database"
order=
"3"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"6"
/>
<window_info
anchor=
"right"
id=
"Palette	"
order=
"3"
/>
<window_info
anchor=
"right"
id=
"Theme Preview"
order=
"3"
/>
<window_info
id=
"Structure"
order=
"1"
side_tool=
"true"
weight=
"0.25"
/>
<window_info
anchor=
"bottom"
id=
"Docker"
order=
"13"
show_stripe_button=
"false"
/>
<window_info
anchor=
"right"
id=
"Database"
order=
"11"
weight=
"0.32982844"
/>
<window_info
anchor=
"right"
id=
"SciView"
order=
"9"
weight=
"0.32982844"
/>
<window_info
id=
"Structure"
order=
"2"
side_tool=
"true"
weight=
"0.25"
/>
<window_info
id=
"Favorites"
order=
"9"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"3"
weight=
"0.4"
/>
</layout>
<layout-to-restore>
<window_info
anchor=
"bottom"
id=
"FindBugs-IDEA"
order=
"7"
/>
<window_info
id=
"Designer"
order=
"2"
/>
<window_info
anchor=
"bottom"
id=
"FindBugs-IDEA"
order=
"15"
/>
<window_info
id=
"Designer"
order=
"4"
/>
<window_info
anchor=
"right"
id=
"Palette"
order=
"3"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"
12
"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"
2
"
/>
<window_info
id=
"Image Layers"
order=
"
3
"
/>
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"
21
"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"
4
"
/>
<window_info
id=
"Image Layers"
order=
"
5
"
/>
<window_info
anchor=
"right"
id=
"Commander"
internal_type=
"SLIDING"
order=
"0"
type=
"SLIDING"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"Cvs"
order=
"
4
"
weight=
"0.25"
/>
<window_info
anchor=
"bottom"
id=
"Cvs"
order=
"
6
"
weight=
"0.25"
/>
<window_info
anchor=
"right"
id=
"Ant Build"
order=
"1"
weight=
"0.25"
/>
<window_info
id=
"Capture Tool"
order=
"
4
"
/>
<window_info
id=
"UI Designer"
order=
"
5
"
/>
<window_info
id=
"Favorites"
order=
"
6
"
side_tool=
"true"
/>
<window_info
active=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"
8
"
visible=
"true"
weight=
"0.329718"
/>
<window_info
anchor=
"bottom"
id=
"Docker"
order=
"
13
"
show_stripe_button=
"false"
/>
<window_info
id=
"Capture Tool"
order=
"
6
"
/>
<window_info
id=
"UI Designer"
order=
"
7
"
/>
<window_info
id=
"Favorites"
order=
"
8
"
side_tool=
"true"
/>
<window_info
active=
"true"
anchor=
"bottom"
id=
"Terminal"
order=
"
16
"
visible=
"true"
weight=
"0.329718"
/>
<window_info
anchor=
"bottom"
id=
"Docker"
order=
"
22
"
show_stripe_button=
"false"
/>
<window_info
anchor=
"right"
id=
"Capture Analysis"
order=
"4"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"
9
"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"
17
"
side_tool=
"true"
/>
<window_info
anchor=
"right"
content_ui=
"combo"
id=
"Hierarchy"
order=
"2"
weight=
"0.25"
/>
<window_info
anchor=
"bottom"
id=
"Database Changes"
order=
"10"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"11"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"1"
visible=
"true"
weight=
"0.25235197"
/>
<window_info
anchor=
"bottom"
id=
"Database Changes"
order=
"18"
show_stripe_button=
"false"
/>
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"19"
/>
<window_info
anchor=
"right"
id=
"Maven Projects"
order=
"5"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.329718"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"0"
visible=
"true"
weight=
"0.25235197
"
/>
<window_info
anchor=
"right"
id=
"SciView"
order=
"
9
"
/>
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"7"
weight=
"0.4
"
/>
<window_info
anchor=
"right"
id=
"SciView"
order=
"
10
"
/>
<window_info
anchor=
"right"
id=
"Database"
order=
"6"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"
6
"
/>
<window_info
anchor=
"bottom"
id=
"TODO"
order=
"
10
"
/>
<window_info
anchor=
"right"
id=
"Palette	"
order=
"7"
/>
<window_info
anchor=
"right"
id=
"Theme Preview"
order=
"8"
/>
<window_info
id=
"Structure"
order=
"1"
side_tool=
"true"
weight=
"0.25"
/>
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"3"
weight=
"0.4"
/>
</layout-to-restore>
<window_info
id=
"Structure"
order=
"3"
side_tool=
"true"
weight=
"0.25"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"5"
weight=
"0.4"
/>
</layout>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
<option
name=
"version"
value=
"1"
/>
...
...
@@ -490,52 +493,52 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tmp/java/com/ydl/user/intf/po/DoctorModify.java"
/>
<entry
file=
"file://$PROJECT_DIR$/tmp/AbnormalOrderReqDto.java"
/>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}ReqDto.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"60"
>
<caret
line=
"4"
selection-start-line=
"4"
selection-end-line=
"4"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}RespDto.java"
>
<entry
file=
"file://$PROJECT_DIR$/tmp/AbnormalOrder.java"
/>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}Biz.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
6
0"
>
<caret
line=
"
4"
column=
"30"
selection-start-line=
"4"
selection-start-column=
"30"
selection-end-line=
"4"
selection-end-column=
"30
"
/>
<state
relative-caret-position=
"
9
0"
>
<caret
line=
"
6"
column=
"57"
lean-forward=
"true"
selection-start-line=
"6"
selection-start-column=
"57"
selection-end-line=
"6"
selection-end-column=
"57
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tmp/AbnormalOrder.java"
/>
<entry
file=
"file://$PROJECT_DIR$/gen.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
281
"
>
<caret
line=
"44
0"
lean-forward=
"true"
selection-start-line=
"440"
selection-end-line=
"440
"
/>
<state
relative-caret-position=
"
4362
"
>
<caret
line=
"44
6"
lean-forward=
"true"
selection-start-line=
"446"
selection-end-line=
"446
"
/>
<folding>
<element
signature=
"e#42#51#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}Biz.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"90"
>
<caret
line=
"6"
column=
"57"
lean-forward=
"true"
selection-start-line=
"6"
selection-start-column=
"57"
selection-end-line=
"6"
selection-end-column=
"57"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/README.md"
>
<provider
selected=
"true"
editor-type-id=
"split-provider[text-editor;markdown-preview-editor]"
>
<state
split_layout=
"SPLIT"
>
<first_editor
relative-caret-position=
"
764
"
>
<caret
line=
"59"
lean-forward=
"true"
selection-start-line=
"59"
selection-end-line=
"59"
/>
<first_editor
relative-caret-position=
"
446
"
>
<caret
line=
"59"
selection-start-line=
"59"
selection-end-line=
"59"
/>
</first_editor>
<second_editor
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}ReqDto.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
selection-start-line=
"2"
selection-end-line=
"3"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}RespDto.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"30"
>
<caret
line=
"2"
selection-start-line=
"2"
selection-end-line=
"2"
/>
</state>
</provider>
</entry>
</component>
</project>
\ No newline at end of file
template/${PLACE}ReqDto.java
View file @
4d620a71
...
...
@@ -2,6 +2,7 @@ package com.${PACKAGE_LEVEL1}.${PACKAGE_LEVEL2}.intf.dto.request;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.math.BigDecimal
;
...
...
template/${PLACE}RespDto.java
View file @
4d620a71
package
com
.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}.
intf
.
dto
.
response
;
import
java.io.Serializable
;
import
java.util.Date
;
import
java.math.BigDecimal
;
public
class
${
PLACE
}
RespDto
{
public
class
${
PLACE
}
RespDto
implements
Serializable
{
$
{
PO
}
}
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