Commit 760609ac by xxlv

Fix template

parent f9a832f2
...@@ -2,21 +2,7 @@ ...@@ -2,21 +2,7 @@
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="1abc04e8-e167-42cd-98ea-074bbb2150ed" name="Default" comment=""> <list default="true" id="1abc04e8-e167-42cd-98ea-074bbb2150ed" name="Default" comment="">
<change afterPath="$PROJECT_DIR$/quick_generator/__init__.py" afterDir="false" /> <change beforePath="$PROJECT_DIR$/template/${PLACE}FacadeImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/template/${PLACE}FacadeImpl.java" 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" />
</list> </list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" /> <option name="TRACKING_ENABLED" value="true" />
...@@ -58,11 +44,11 @@ ...@@ -58,11 +44,11 @@
<provider selected="true" editor-type-id="text-editor" /> <provider selected="true" editor-type-id="text-editor" />
</entry> </entry>
</file> </file>
<file leaf-file-name="gen.py" pinned="false" current-in-tab="true"> <file leaf-file-name="gen.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/quick_generator/gen.py"> <entry file="file://$PROJECT_DIR$/quick_generator/gen.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="101"> <state relative-caret-position="103">
<caret line="440" lean-forward="true" selection-start-line="440" selection-end-line="440" /> <caret line="440" selection-start-line="440" selection-end-line="440" />
<folding> <folding>
<element signature="e#42#51#0" expanded="true" /> <element signature="e#42#51#0" expanded="true" />
</folding> </folding>
...@@ -70,6 +56,24 @@ ...@@ -70,6 +56,24 @@
</provider> </provider>
</entry> </entry>
</file> </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> </leaf>
</component> </component>
<component name="FileTemplateManagerImpl"> <component name="FileTemplateManagerImpl">
...@@ -114,7 +118,6 @@ ...@@ -114,7 +118,6 @@
<option value="$PROJECT_DIR$/template/${PLACE}BizImpl.java" /> <option value="$PROJECT_DIR$/template/${PLACE}BizImpl.java" />
<option value="$PROJECT_DIR$/template/${PLACE}Mapper.xml" /> <option value="$PROJECT_DIR$/template/${PLACE}Mapper.xml" />
<option value="$PROJECT_DIR$/tmp/generatorConfig.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$/tmp/AbnormalOrderReqDto.java" />
<option value="$PROJECT_DIR$/gen.py" /> <option value="$PROJECT_DIR$/gen.py" />
<option value="$PROJECT_DIR$/README.md" /> <option value="$PROJECT_DIR$/README.md" />
...@@ -122,6 +125,7 @@ ...@@ -122,6 +125,7 @@
<option value="$PROJECT_DIR$/template/${PLACE}RespDto.java" /> <option value="$PROJECT_DIR$/template/${PLACE}RespDto.java" />
<option value="$PROJECT_DIR$/setup.py" /> <option value="$PROJECT_DIR$/setup.py" />
<option value="$PROJECT_DIR$/quick_generator/gen.py" /> <option value="$PROJECT_DIR$/quick_generator/gen.py" />
<option value="$PROJECT_DIR$/template/${PLACE}FacadeImpl.java" />
</list> </list>
</option> </option>
</component> </component>
...@@ -148,19 +152,24 @@ ...@@ -148,19 +152,24 @@
<foldersAlwaysOnTop value="true" /> <foldersAlwaysOnTop value="true" />
</navigator> </navigator>
<panes> <panes>
<pane id="Scope" />
<pane id="ProjectPane"> <pane id="ProjectPane">
<subPane> <subPane>
<expand> <expand>
<path> <path>
<item name="quick_generator" type="b2602c69:ProjectViewProjectNode" /> <item name="quick_tpl" type="b2602c69:ProjectViewProjectNode" />
<item name="quick_generator" type="462c0819:PsiDirectoryNode" /> <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>
</expand> </expand>
<select /> <select />
</subPane> </subPane>
<option name="show-excluded-files" value="false" /> <option name="show-excluded-files" value="false" />
</pane> </pane>
<pane id="Scope" />
<pane id="AndroidView" /> <pane id="AndroidView" />
<pane id="PackagesPane" /> <pane id="PackagesPane" />
</panes> </panes>
...@@ -282,7 +291,7 @@ ...@@ -282,7 +291,7 @@
<window_info anchor="bottom" id="Python Console" order="21" /> <window_info anchor="bottom" id="Python Console" order="21" />
<window_info anchor="bottom" id="Run" order="4" /> <window_info anchor="bottom" id="Run" order="4" />
<window_info anchor="bottom" id="Terminal" order="16" visible="true" weight="0.329718" /> <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.255119" /> <window_info active="true" content_ui="combo" id="Project" order="1" visible="true" weight="0.257886" />
<window_info anchor="bottom" id="Docker" order="22" show_stripe_button="false" /> <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="Database" order="6" />
<window_info anchor="right" id="SciView" order="10" /> <window_info anchor="right" id="SciView" order="10" />
...@@ -315,20 +324,8 @@ ...@@ -315,20 +324,8 @@
<option name="myLimit" value="2678400000" /> <option name="myLimit" value="2678400000" />
</component> </component>
<component name="editorHistoryManager"> <component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/gen221.py"> <entry file="file://$PROJECT_DIR$/gen221.py" />
<provider selected="true" editor-type-id="text-editor"> <entry file="file://$PROJECT_DIR$/gen221.py" />
<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$/template/${PLACE}Facade.java"> <entry file="file://$PROJECT_DIR$/template/${PLACE}Facade.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="165"> <state relative-caret-position="165">
...@@ -336,13 +333,7 @@ ...@@ -336,13 +333,7 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/gen221.py"> <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$/template/${PLACE}Facade.java"> <entry file="file://$PROJECT_DIR$/template/${PLACE}Facade.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="15"> <state relative-caret-position="15">
...@@ -350,13 +341,7 @@ ...@@ -350,13 +341,7 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/gen221.py"> <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$/template/${PLACE}Facade.java"> <entry file="file://$PROJECT_DIR$/template/${PLACE}Facade.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="15"> <state relative-caret-position="15">
...@@ -371,13 +356,7 @@ ...@@ -371,13 +356,7 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/gen221.py"> <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$/template/${PLACE}Facade.java"> <entry file="file://$PROJECT_DIR$/template/${PLACE}Facade.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="15"> <state relative-caret-position="15">
...@@ -439,20 +418,6 @@ ...@@ -439,20 +418,6 @@
</state> </state>
</provider> </provider>
</entry> </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/java/com/ydl/user/intf/po/DoctorModify.java" />
<entry file="file://$PROJECT_DIR$/tmp/AbnormalOrderReqDto.java" /> <entry file="file://$PROJECT_DIR$/tmp/AbnormalOrderReqDto.java" />
<entry file="file://$PROJECT_DIR$/tmp/AbnormalOrder.java" /> <entry file="file://$PROJECT_DIR$/tmp/AbnormalOrder.java" />
...@@ -481,46 +446,41 @@ ...@@ -481,46 +446,41 @@
</state> </state>
</provider> </provider>
</entry> </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" /> <provider selected="true" editor-type-id="text-editor" />
</entry> </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"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-118"> <state>
<caret line="479" selection-start-line="479" selection-end-line="479" /> <caret column="17" selection-start-column="17" selection-end-column="17" />
</state> </state>
</provider> </provider>
</entry> </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"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="696"> <state relative-caret-position="103">
<caret line="446" selection-start-line="446" selection-end-line="446" /> <caret line="440" selection-start-line="440" selection-end-line="440" />
<folding> <folding>
<element signature="e#42#51#0" expanded="true" /> <element signature="e#42#51#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/quick_generator/template/${PLACE}.java"> <entry file="file://$PROJECT_DIR$/template/${PLACE}Facade.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">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state> <state relative-caret-position="60">
<caret column="17" selection-start-column="17" selection-end-column="17" /> <caret line="4" column="27" selection-start-line="4" selection-start-column="13" selection-end-line="4" selection-end-column="27" />
</state> </state>
</provider> </provider>
</entry> </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"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="101"> <state relative-caret-position="255">
<caret line="440" lean-forward="true" selection-start-line="440" selection-end-line="440" /> <caret line="17" column="13" lean-forward="true" selection-start-line="17" selection-start-column="13" selection-end-line="17" selection-end-column="13" />
<folding>
<element signature="e#42#51#0" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
......
package com.${PACKAGE_LEVEL1}.${PACKAGE_LEVEL2}.service.facade; package com.${PACKAGE_LEVEL1}.${PACKAGE_LEVEL2}.service.facade;
import com.ydl.common.dto.BaseDtoResponse; import com.${PACKAGE_LEVEL1}.common.dto.BaseDtoResponse;
import com.ydl.common.helper.ResponseFormatterHelper; import com.${PACKAGE_LEVEL1}.common.helper.ResponseFormatterHelper;
import com.ydl.common.utils.ModelMapperUtil; import com.${PACKAGE_LEVEL1}.common.utils.ModelMapperUtil;
import com.ydl.user.intf.dto.request.${PLACE}ReqDto; import com.${PACKAGE_LEVEL1}.${PACKAGE_LEVEL2}.intf.dto.request.${PLACE}ReqDto;
import com.ydl.user.intf.dto.response.${PLACE}RespDto; import com.${PACKAGE_LEVEL1}.${PACKAGE_LEVEL2}.intf.dto.response.${PLACE}RespDto;
import com.ydl.user.intf.facade.${PLACE}Facade; import com.${PACKAGE_LEVEL1}.${PACKAGE_LEVEL2}.intf.facade.${PLACE}Facade;
import com.ydl.user.service.biz.${PLACE}Biz; import com.${PACKAGE_LEVEL1}.${PACKAGE_LEVEL2}.service.biz.${PLACE}Biz;
import com.ydl.user.intf.po.${PLACE}; import com.${PACKAGE_LEVEL1}.${PACKAGE_LEVEL2}.intf.po.${PLACE};
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import javax.annotation.Resource; import javax.annotation.Resource;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment