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
760609ac
Commit
760609ac
authored
Jun 19, 2018
by
xxlv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix template
parent
f9a832f2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
62 additions
and
102 deletions
+62
-102
workspace.xml
.idea/workspace.xml
+54
-94
${PLACE}FacadeImpl.java
template/${PLACE}FacadeImpl.java
+8
-8
No files found.
.idea/workspace.xml
View file @
760609ac
...
...
@@ -2,21 +2,7 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"1abc04e8-e167-42cd-98ea-074bbb2150ed"
name=
"Default"
comment=
""
>
<change
afterPath=
"$PROJECT_DIR$/quick_generator/__init__.py"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/quick_generator/template/${PLACE}.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/quick_generator/template/${PLACE}Biz.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/quick_generator/template/${PLACE}BizImpl.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/quick_generator/template/${PLACE}Facade.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/quick_generator/template/${PLACE}FacadeImpl.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/quick_generator/template/${PLACE}Mapper.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/quick_generator/template/${PLACE}Mapper.xml"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/quick_generator/template/${PLACE}ReqDto.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/quick_generator/template/${PLACE}RespDto.java"
afterDir=
"false"
/>
<change
afterPath=
"$PROJECT_DIR$/setup.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.gitignore"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.gitignore"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/quick_tpl.iml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/quick_tpl.iml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/gen.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/quick_generator/gen.py"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/template/${PLACE}FacadeImpl.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/template/${PLACE}FacadeImpl.java"
afterDir=
"false"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
<option
name=
"TRACKING_ENABLED"
value=
"true"
/>
...
...
@@ -58,11 +44,11 @@
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
</file>
<file
leaf-file-name=
"gen.py"
pinned=
"false"
current-in-tab=
"
tru
e"
>
<file
leaf-file-name=
"gen.py"
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/quick_generator/gen.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"10
1
"
>
<caret
line=
"440"
lean-forward=
"true"
selection-start-line=
"440"
selection-end-line=
"440"
/>
<state
relative-caret-position=
"10
3
"
>
<caret
line=
"440"
selection-start-line=
"440"
selection-end-line=
"440"
/>
<folding>
<element
signature=
"e#42#51#0"
expanded=
"true"
/>
</folding>
...
...
@@ -70,6 +56,24 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
"${PLACE}Facade.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}Facade.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"60"
>
<caret
line=
"4"
column=
"27"
selection-start-line=
"4"
selection-start-column=
"13"
selection-end-line=
"4"
selection-end-column=
"27"
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"${PLACE}FacadeImpl.java"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}FacadeImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"255"
>
<caret
line=
"17"
column=
"13"
lean-forward=
"true"
selection-start-line=
"17"
selection-start-column=
"13"
selection-end-line=
"17"
selection-end-column=
"13"
/>
</state>
</provider>
</entry>
</file>
</leaf>
</component>
<component
name=
"FileTemplateManagerImpl"
>
...
...
@@ -114,7 +118,6 @@
<option
value=
"$PROJECT_DIR$/template/${PLACE}BizImpl.java"
/>
<option
value=
"$PROJECT_DIR$/template/${PLACE}Mapper.xml"
/>
<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$/gen.py"
/>
<option
value=
"$PROJECT_DIR$/README.md"
/>
...
...
@@ -122,6 +125,7 @@
<option
value=
"$PROJECT_DIR$/template/${PLACE}RespDto.java"
/>
<option
value=
"$PROJECT_DIR$/setup.py"
/>
<option
value=
"$PROJECT_DIR$/quick_generator/gen.py"
/>
<option
value=
"$PROJECT_DIR$/template/${PLACE}FacadeImpl.java"
/>
</list>
</option>
</component>
...
...
@@ -148,19 +152,24 @@
<foldersAlwaysOnTop
value=
"true"
/>
</navigator>
<panes>
<pane
id=
"Scope"
/>
<pane
id=
"ProjectPane"
>
<subPane>
<expand>
<path>
<item
name=
"quick_generator"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"quick_generator"
type=
"462c0819:PsiDirectoryNode"
/>
<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>
</expand>
<select
/>
</subPane>
<option
name=
"show-excluded-files"
value=
"false"
/>
</pane>
<pane
id=
"Scope"
/>
<pane
id=
"AndroidView"
/>
<pane
id=
"PackagesPane"
/>
</panes>
...
...
@@ -282,7 +291,7 @@
<window_info
anchor=
"bottom"
id=
"Python Console"
order=
"21"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"4"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"16"
visible=
"true"
weight=
"0.329718"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"1"
visible=
"true"
weight=
"0.25
5119
"
/>
<window_info
active=
"true"
content_ui=
"combo"
id=
"Project"
order=
"1"
visible=
"true"
weight=
"0.25
7886
"
/>
<window_info
anchor=
"bottom"
id=
"Docker"
order=
"22"
show_stripe_button=
"false"
/>
<window_info
anchor=
"right"
id=
"Database"
order=
"6"
/>
<window_info
anchor=
"right"
id=
"SciView"
order=
"10"
/>
...
...
@@ -315,20 +324,8 @@
<option
name=
"myLimit"
value=
"2678400000"
/>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/gen221.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"150"
>
<caret
line=
"12"
column=
"17"
lean-forward=
"true"
selection-start-line=
"12"
selection-start-column=
"17"
selection-end-line=
"12"
selection-end-column=
"17"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/gen221.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"150"
>
<caret
line=
"12"
column=
"17"
lean-forward=
"true"
selection-start-line=
"12"
selection-start-column=
"17"
selection-end-line=
"12"
selection-end-column=
"17"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/gen221.py"
/>
<entry
file=
"file://$PROJECT_DIR$/gen221.py"
/>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}Facade.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"165"
>
...
...
@@ -336,13 +333,7 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/gen221.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"150"
>
<caret
line=
"12"
column=
"17"
lean-forward=
"true"
selection-start-line=
"12"
selection-start-column=
"17"
selection-end-line=
"12"
selection-end-column=
"17"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/gen221.py"
/>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}Facade.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"15"
>
...
...
@@ -350,13 +341,7 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/gen221.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"150"
>
<caret
line=
"12"
column=
"17"
lean-forward=
"true"
selection-start-line=
"12"
selection-start-column=
"17"
selection-end-line=
"12"
selection-end-column=
"17"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/gen221.py"
/>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}Facade.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"15"
>
...
...
@@ -371,13 +356,7 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/gen221.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"150"
>
<caret
line=
"12"
column=
"17"
lean-forward=
"true"
selection-start-line=
"12"
selection-start-column=
"17"
selection-end-line=
"12"
selection-end-column=
"17"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/gen221.py"
/>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}Facade.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"15"
>
...
...
@@ -439,20 +418,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}FacadeImpl.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"60"
>
<caret
line=
"4"
column=
"44"
lean-forward=
"true"
selection-start-line=
"4"
selection-start-column=
"44"
selection-end-line=
"4"
selection-end-column=
"44"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}Facade.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"150"
>
<caret
line=
"10"
column=
"1"
lean-forward=
"true"
selection-start-line=
"10"
selection-start-column=
"1"
selection-end-line=
"10"
selection-end-column=
"1"
/>
</state>
</provider>
</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$/tmp/AbnormalOrder.java"
/>
...
...
@@ -481,46 +446,41 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/__init__.py"
>
<entry
file=
"file://$PROJECT_DIR$/__init__.py"
/>
<entry
file=
"file:///usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py"
/>
<entry
file=
"file://$PROJECT_DIR$/gen221.py"
/>
<entry
file=
"file://$PROJECT_DIR$/quick_generator/template/${PLACE}.java"
/>
<entry
file=
"file://$PROJECT_DIR$/quick_generator/__init__.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://
/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__
.py"
>
<entry
file=
"file://
$PROJECT_DIR$/setup
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-118"
>
<caret
line=
"479"
selection-start-line=
"479"
selection-end-line=
"479
"
/>
<state>
<caret
column=
"17"
selection-start-column=
"17"
selection-end-column=
"17
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
gen221
.py"
>
<entry
file=
"file://$PROJECT_DIR$/
quick_generator/gen
.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
696
"
>
<caret
line=
"44
6"
selection-start-line=
"446"
selection-end-line=
"446
"
/>
<state
relative-caret-position=
"
103
"
>
<caret
line=
"44
0"
selection-start-line=
"440"
selection-end-line=
"440
"
/>
<folding>
<element
signature=
"e#42#51#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/quick_generator/template/${PLACE}.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/quick_generator/__init__.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/setup.py"
>
<entry
file=
"file://$PROJECT_DIR$/template/${PLACE}Facade.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state>
<caret
column=
"17"
selection-start-column=
"17"
selection-end-column=
"1
7"
/>
<state
relative-caret-position=
"60"
>
<caret
line=
"4"
column=
"27"
selection-start-line=
"4"
selection-start-column=
"13"
selection-end-line=
"4"
selection-end-column=
"2
7"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/
quick_generator/gen.py
"
>
<entry
file=
"file://$PROJECT_DIR$/
template/${PLACE}FacadeImpl.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"101"
>
<caret
line=
"440"
lean-forward=
"true"
selection-start-line=
"440"
selection-end-line=
"440"
/>
<folding>
<element
signature=
"e#42#51#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"255"
>
<caret
line=
"17"
column=
"13"
lean-forward=
"true"
selection-start-line=
"17"
selection-start-column=
"13"
selection-end-line=
"17"
selection-end-column=
"13"
/>
</state>
</provider>
</entry>
...
...
template/${PLACE}FacadeImpl.java
View file @
760609ac
package
com
.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}.
service
.
facade
;
import
com.
ydl
.common.dto.BaseDtoResponse
;
import
com.
ydl
.common.helper.ResponseFormatterHelper
;
import
com.
ydl
.common.utils.ModelMapperUtil
;
import
com.
ydl.user
.intf.dto.request.
$
{
PLACE
}
ReqDto
;
import
com.
ydl.user
.intf.dto.response.
$
{
PLACE
}
RespDto
;
import
com.
ydl.user
.intf.facade.
$
{
PLACE
}
Facade
;
import
com.
ydl.user
.service.biz.
$
{
PLACE
}
Biz
;
import
com.
ydl.user
.intf.po.
$
{
PLACE
};
import
com.
$
{
PACKAGE_LEVEL1
}
.
common
.
dto
.
BaseDtoResponse
;
import
com.
$
{
PACKAGE_LEVEL1
}
.
common
.
helper
.
ResponseFormatterHelper
;
import
com.
$
{
PACKAGE_LEVEL1
}
.
common
.
utils
.
ModelMapperUtil
;
import
com.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}
.
intf
.
dto
.
request
.
$
{
PLACE
}
ReqDto
;
import
com.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}
.
intf
.
dto
.
response
.
$
{
PLACE
}
RespDto
;
import
com.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}
.
intf
.
facade
.
$
{
PLACE
}
Facade
;
import
com.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}
.
service
.
biz
.
$
{
PLACE
}
Biz
;
import
com.
$
{
PACKAGE_LEVEL1
}.
$
{
PACKAGE_LEVEL2
}
.
intf
.
po
.
$
{
PLACE
};
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
...
...
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