Commit 9f3c717b authored by 邢足健's avatar 邢足健

coding

parent 32b3e1fc
...@@ -6,7 +6,45 @@ ...@@ -6,7 +6,45 @@
</artifacts-to-build> </artifacts-to-build>
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="37f7a22c-b7e6-4db8-874a-c9468858b87b" name="Default" comment="" /> <list default="true" id="37f7a22c-b7e6-4db8-874a-c9468858b87b" name="Default" comment="">
<change type="DELETED" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/dao/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/dao/AboutUsMapper.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/dao/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/dao/common/Constants.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/dao/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/dao/common/Menus.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/dao/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/dao/common/util/DataBaseOperationUtils.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/dao/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/dao/impl/DataBaseDao.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/dao/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/dao/impl/OracleDataBaseDaoImpl.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/domain/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/common/domain/Column.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/domain/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/common/domain/ColumnOperator.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/domain/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/common/util/BeanHelper.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/domain/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/common/util/Constants.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/domain/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/common/util/DataBaseOperationUtils.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/domain/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/common/util/SuperBeanHelper.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/domain/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/po/AboutUs.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/domain/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/po/AboutUsExample.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/domain/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/po/update/UploadFile.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/domain/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/vo/AboutUsVO.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/service/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/service/AboutUsService.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/service/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/service/HmUtils/MybatisExampleHelper.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/service/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/service/HmUtils/Tools.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/service/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/service/common/GenericService.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/service/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/service/common/Response.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/service/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/service/common/Token.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/service/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/service/common/service/DataBaseService.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/service/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/service/common/service/impl/OracleDataBaseServiceImpl.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/service/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/service/impl/AboutUsServiceImpl.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/web/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/SwaggerConfig.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/web/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/common/MyJob.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/web/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/common/PropertyConfigurer.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/web/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/common/Resp.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/web/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/controller/AboutUsController.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/web/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/servlet/DefaultHandlerExceptionResolver.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/web/src/main/java/com/haomostudio/JuniorSpringMVCTemplate/servlet/EmptyRequestParamResolver.java" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/web/src/main/resources/mybatis/com/haomostudio/JuniorSpringMVCTemplate/AboutUsMapper.xml" afterPath="" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/web/src/main/resources/spring/spring-mvc-config.xml" afterPath="$PROJECT_DIR$/web/src/main/resources/spring/spring-mvc-config.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/web/src/main/test/com/haomostudio/milk/test/Test.java" afterPath="$PROJECT_DIR$/web/src/main/test/com/haomostudio/milk/test/Test.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/web/src/main/test/com/haomostudio/milk/util/MyJob.java" afterPath="$PROJECT_DIR$/web/src/main/test/com/haomostudio/milk/util/MyJob.java" />
</list>
<ignored path="$PROJECT_DIR$/dao/target/" /> <ignored path="$PROJECT_DIR$/dao/target/" />
<ignored path="$PROJECT_DIR$/service/target/" /> <ignored path="$PROJECT_DIR$/service/target/" />
<ignored path="$PROJECT_DIR$/domain/target/" /> <ignored path="$PROJECT_DIR$/domain/target/" />
...@@ -20,7 +58,7 @@ ...@@ -20,7 +58,7 @@
<option name="LAST_RESOLUTION" value="IGNORE" /> <option name="LAST_RESOLUTION" value="IGNORE" />
</component> </component>
<component name="FileEditorManager"> <component name="FileEditorManager">
<leaf> <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="pom.xml" pinned="false" current-in-tab="true"> <file leaf-file-name="pom.xml" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/pom.xml"> <entry file="file://$PROJECT_DIR$/pom.xml">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
...@@ -69,6 +107,12 @@ ...@@ -69,6 +107,12 @@
</MavenGeneralSettings> </MavenGeneralSettings>
</option> </option>
</component> </component>
<component name="MavenProjectNavigator">
<treeState>
<expand />
<select />
</treeState>
</component>
<component name="ProjectFrameBounds" extendedState="6" fullScreen="true"> <component name="ProjectFrameBounds" extendedState="6" fullScreen="true">
<option name="width" value="1440" /> <option name="width" value="1440" />
<option name="height" value="900" /> <option name="height" value="900" />
...@@ -491,167 +535,20 @@ ...@@ -491,167 +535,20 @@
</navigator> </navigator>
<panes> <panes>
<pane id="Scope" /> <pane id="Scope" />
<pane id="Scratches" />
<pane id="PackagesPane" />
<pane id="AndroidView" />
<pane id="ProjectPane"> <pane id="ProjectPane">
<subPane> <subPane>
<expand> <expand>
<path> <path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" /> <item name="JuniorSpringMVCTemplate" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="dao" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="dao" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="dao" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="dao" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="domain" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="domain" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="domain" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="domain" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="domain" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
<item name="haomostudio" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="service" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="service" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="service" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="service" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="service" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="resources" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="web" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="web" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="web" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="web" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="web" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" /> <item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
</path> </path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="web" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="resources" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="milk" type="b2602c69:ProjectViewProjectNode" />
<item name="JuniorSpringMVCTemplate" type="462c0819:PsiDirectoryNode" />
<item name="web" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="resources" type="462c0819:PsiDirectoryNode" />
<item name="mybatis" type="462c0819:PsiDirectoryNode" />
</path>
</expand> </expand>
<select /> <select />
</subPane> </subPane>
</pane> </pane>
<pane id="PackagesPane" />
<pane id="AndroidView" />
<pane id="Scratches" />
</panes> </panes>
</component> </component>
<component name="PropertiesComponent"> <component name="PropertiesComponent">
...@@ -660,6 +557,9 @@ ...@@ -660,6 +557,9 @@
<property name="WebServerToolWindowFactoryState" value="false" /> <property name="WebServerToolWindowFactoryState" value="false" />
<property name="aspect.path.notification.shown" value="true" /> <property name="aspect.path.notification.shown" value="true" />
<property name="last_opened_file_path" value="$PROJECT_DIR$" /> <property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="project.structure.last.edited" value="Project" />
<property name="project.structure.proportion" value="0.0" />
<property name="project.structure.side.proportion" value="0.0" />
</component> </component>
<component name="RunDashboard"> <component name="RunDashboard">
<option name="ruleStates"> <option name="ruleStates">
...@@ -786,22 +686,6 @@ ...@@ -786,22 +686,6 @@
<envs /> <envs />
<patterns /> <patterns />
</configuration> </configuration>
<configuration default="true" type="tests" factoryName="Nosetests">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs />
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="" />
<option name="IS_MODULE_SDK" value="false" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<module name="" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" runner="coverage.py" />
<option name="_new_regexPattern" value="&quot;&quot;" />
<option name="_new_additionalArguments" value="&quot;&quot;" />
<option name="_new_target" value="&quot;&quot;" />
<option name="_new_targetType" value="&quot;PATH&quot;" />
</configuration>
<configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin"> <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
<module name="" /> <module name="" />
<option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" /> <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
...@@ -842,6 +726,53 @@ ...@@ -842,6 +726,53 @@
<properties /> <properties />
<listeners /> <listeners />
</configuration> </configuration>
<configuration default="true" type="tests" factoryName="Nosetests">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs />
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="" />
<option name="IS_MODULE_SDK" value="false" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<module name="" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" runner="coverage.py" />
<option name="_new_regexPattern" value="&quot;&quot;" />
<option name="_new_additionalArguments" value="&quot;&quot;" />
<option name="_new_target" value="&quot;&quot;" />
<option name="_new_targetType" value="&quot;PATH&quot;" />
</configuration>
<configuration default="true" type="tests" factoryName="Unittests">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs />
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="" />
<option name="IS_MODULE_SDK" value="false" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<module name="" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" runner="coverage.py" />
<option name="_new_additionalArguments" value="&quot;&quot;" />
<option name="_new_target" value="&quot;&quot;" />
<option name="_new_targetType" value="&quot;PATH&quot;" />
</configuration>
<configuration default="true" type="tests" factoryName="py.test">
<option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" />
<envs />
<option name="SDK_HOME" value="" />
<option name="WORKING_DIRECTORY" value="" />
<option name="IS_MODULE_SDK" value="false" />
<option name="ADD_CONTENT_ROOTS" value="true" />
<option name="ADD_SOURCE_ROOTS" value="true" />
<module name="" />
<EXTENSION ID="PythonCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" runner="coverage.py" />
<option name="_new_keywords" value="&quot;&quot;" />
<option name="_new_additionalArguments" value="&quot;&quot;" />
<option name="_new_target" value="&quot;&quot;" />
<option name="_new_targetType" value="&quot;PATH&quot;" />
</configuration>
<configuration default="true" type="tests" factoryName="Unittests"> <configuration default="true" type="tests" factoryName="Unittests">
<option name="INTERPRETER_OPTIONS" value="" /> <option name="INTERPRETER_OPTIONS" value="" />
<option name="PARENT_ENVS" value="true" /> <option name="PARENT_ENVS" value="true" />
...@@ -885,48 +816,50 @@ ...@@ -885,48 +816,50 @@
<option name="presentableId" value="Default" /> <option name="presentableId" value="Default" />
<updated>1532940984777</updated> <updated>1532940984777</updated>
<workItem from="1532940988499" duration="718000" /> <workItem from="1532940988499" duration="718000" />
<workItem from="1532942346183" duration="119000" />
<workItem from="1532942502581" duration="130000" />
</task> </task>
<servers /> <servers />
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="718000" /> <option name="totallyTimeSpent" value="967000" />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="0" y="0" width="1440" height="900" extended-state="6" /> <frame x="0" y="0" width="1440" height="900" extended-state="6" />
<layout> <layout>
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" /> <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.39925373" sideWeight="0.5028612" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.329602" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.329602" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3297568" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="CDI" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="CDI" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.39925373" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="Debug" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.39925373" sideWeight="0.49713877" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Data View" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="Data View" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Palette&#9;" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="Palette&#9;" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Java Enterprise" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="Java Enterprise" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Spring" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="Spring" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24964234" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25679544" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" /> <window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.329602" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Theme Preview" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" /> <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.329602" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
</layout> </layout>
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
...@@ -940,6 +873,22 @@ ...@@ -940,6 +873,22 @@
<watches-manager /> <watches-manager />
</component> </component>
<component name="editorHistoryManager"> <component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/pom.xml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/pom.xml">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/pom.xml"> <entry file="file://$PROJECT_DIR$/pom.xml">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="90"> <state relative-caret-position="90">
...@@ -962,6 +911,69 @@ ...@@ -962,6 +911,69 @@
</splitter-proportions> </splitter-proportions>
</settings> </settings>
</state> </state>
<state key="ArtifactsStructureConfigurable.UI">
<settings>
<artifact-editor />
<last-edited>web:war</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
<option value="0.5" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="FacetStructureConfigurable.UI">
<settings>
<last-edited>Spring</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="GlobalLibrariesConfigurable.UI">
<settings>
<last-edited>lib</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="JdkListConfigurable.UI">
<settings>
<last-edited>1.8</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="ModuleStructureConfigurable.UI">
<settings>
<last-edited>dao</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
<option value="0.6" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
<state key="ProjectJDKs.UI"> <state key="ProjectJDKs.UI">
<settings> <settings>
<last-edited>1.8</last-edited> <last-edited>1.8</last-edited>
...@@ -974,6 +986,18 @@ ...@@ -974,6 +986,18 @@
</splitter-proportions> </splitter-proportions>
</settings> </settings>
</state> </state>
<state key="ProjectLibrariesConfigurable.UI">
<settings>
<last-edited>Maven: antlr:antlr:2.7.7</last-edited>
<splitter-proportions>
<option name="proportions">
<list>
<option value="0.2" />
</list>
</option>
</splitter-proportions>
</settings>
</state>
</states> </states>
</component> </component>
</project> </project>
\ No newline at end of file
package com.haomostudio.JuniorSpringMVCTemplate.dao; package com.haomostudio.milk.dao;
import com.haomostudio.JuniorSpringMVCTemplate.po.AboutUs; import com.haomostudio.milk.po.AboutUs;
import com.haomostudio.JuniorSpringMVCTemplate.po.AboutUsExample; import com.haomostudio.milk.po.AboutUsExample;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds; import org.apache.ibatis.session.RowBounds;
......
package com.haomostudio.JuniorSpringMVCTemplate.dao.common; package com.haomostudio.milk.dao.common;
/** /**
* Created by shidaizhoukan on 2017/3/16. * Created by shidaizhoukan on 2017/3/16.
......
package com.haomostudio.JuniorSpringMVCTemplate.dao.common; package com.haomostudio.milk.dao.common;
import java.util.Date; import java.util.Date;
......
package com.haomostudio.JuniorSpringMVCTemplate.dao.common.util; package com.haomostudio.milk.dao.common.util;
import com.haomostudio.JuniorSpringMVCTemplate.dao.impl.DataBaseDao; import com.haomostudio.milk.dao.impl.DataBaseDao;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
import java.lang.reflect.Field; import java.lang.reflect.Field;
......
package com.haomostudio.JuniorSpringMVCTemplate.dao.impl; package com.haomostudio.milk.dao.impl;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
......
package com.haomostudio.JuniorSpringMVCTemplate.dao.impl; package com.haomostudio.milk.dao.impl;
import com.haomostudio.JuniorSpringMVCTemplate.dao.common.Constants; import com.haomostudio.milk.dao.common.Constants;
import com.haomostudio.JuniorSpringMVCTemplate.dao.common.util.DataBaseOperationUtils; import com.haomostudio.milk.dao.common.util.DataBaseOperationUtils;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
......
package com.haomostudio.JuniorSpringMVCTemplate.common.domain; package com.haomostudio.milk.common.domain;
/** /**
* *
......
package com.haomostudio.JuniorSpringMVCTemplate.common.domain; package com.haomostudio.milk.common.domain;
/** /**
* Created by macam on 16/4/15. * Created by macam on 16/4/15.
......
package com.haomostudio.JuniorSpringMVCTemplate.common.util; package com.haomostudio.milk.common.util;
import org.apache.commons.beanutils.BeanUtils; import org.apache.commons.beanutils.BeanUtils;
......
package com.haomostudio.JuniorSpringMVCTemplate.common.util; package com.haomostudio.milk.common.util;
/** /**
* Created by Administrator on 2016/2/27. * Created by Administrator on 2016/2/27.
......
package com.haomostudio.JuniorSpringMVCTemplate.common.util; package com.haomostudio.milk.common.util;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.haomostudio.JuniorSpringMVCTemplate.common.domain.Column; import com.haomostudio.milk.common.domain.Column;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
import java.lang.reflect.Field; import java.lang.reflect.Field;
......
package com.haomostudio.JuniorSpringMVCTemplate.common.util; package com.haomostudio.milk.common.util;
import java.lang.reflect.Field; import java.lang.reflect.Field;
import java.text.SimpleDateFormat; import java.text.SimpleDateFormat;
......
package com.haomostudio.JuniorSpringMVCTemplate.po; package com.haomostudio.milk.po;
import java.util.Date; import java.util.Date;
......
package com.haomostudio.JuniorSpringMVCTemplate.po; package com.haomostudio.milk.po;
import com.haomo.plugin.Page; import com.haomo.plugin.Page;
......
package com.haomostudio.JuniorSpringMVCTemplate.po.update; package com.haomostudio.milk.po.update;
import java.io.Serializable; import java.io.Serializable;
......
package com.haomostudio.JuniorSpringMVCTemplate.vo; package com.haomostudio.milk.vo;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import com.haomostudio.JuniorSpringMVCTemplate.po.AboutUs; import com.haomostudio.milk.po.AboutUs;
import java.util.Date;
public class AboutUsVO{ public class AboutUsVO{
@JsonProperty("includes") @JsonProperty("includes")
......
package com.haomostudio.JuniorSpringMVCTemplate.service; package com.haomostudio.milk.service;
import com.haomostudio.JuniorSpringMVCTemplate.po.AboutUs; import com.haomostudio.milk.po.AboutUs;
import java.util.List; import java.util.List;
......
package com.haomostudio.JuniorSpringMVCTemplate.service.HmUtils; package com.haomostudio.milk.service.HmUtils;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
......
package com.haomostudio.JuniorSpringMVCTemplate.service.HmUtils; package com.haomostudio.milk.service.HmUtils;
import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
......
package com.haomostudio.JuniorSpringMVCTemplate.service.common; package com.haomostudio.milk.service.common;
import org.apache.commons.lang3.StringUtils; import org.apache.commons.lang3.StringUtils;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;
......
package com.haomostudio.JuniorSpringMVCTemplate.service.common; package com.haomostudio.milk.service.common;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
......
package com.haomostudio.JuniorSpringMVCTemplate.service.common; package com.haomostudio.milk.service.common;
/** /**
* *
......
package com.haomostudio.JuniorSpringMVCTemplate.service.common.service; package com.haomostudio.milk.service.common.service;
import com.haomostudio.JuniorSpringMVCTemplate.common.domain.Column; import com.haomostudio.milk.common.domain.Column;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
......
package com.haomostudio.JuniorSpringMVCTemplate.service.common.service.impl; package com.haomostudio.milk.service.common.service.impl;
import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.haomostudio.JuniorSpringMVCTemplate.common.domain.Column; import com.haomostudio.milk.common.domain.Column;
import com.haomostudio.JuniorSpringMVCTemplate.common.util.DataBaseOperationUtils; import com.haomostudio.milk.common.util.DataBaseOperationUtils;
import com.haomostudio.JuniorSpringMVCTemplate.dao.impl.DataBaseDao; import com.haomostudio.milk.dao.impl.DataBaseDao;
import com.haomostudio.JuniorSpringMVCTemplate.service.common.service.DataBaseService; import com.haomostudio.milk.service.common.service.DataBaseService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;
......
package com.haomostudio.JuniorSpringMVCTemplate.service.impl; package com.haomostudio.milk.service.impl;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.google.common.base.CaseFormat; import com.google.common.base.CaseFormat;
import com.haomostudio.JuniorSpringMVCTemplate.dao.AboutUsMapper; import com.haomostudio.milk.dao.*;
import com.haomostudio.JuniorSpringMVCTemplate.po.AboutUs; import com.haomostudio.milk.po.*;
import com.haomostudio.JuniorSpringMVCTemplate.po.AboutUsExample; import com.haomostudio.milk.vo.*;
import com.haomostudio.JuniorSpringMVCTemplate.service.AboutUsService; import com.haomostudio.milk.service.*;
import com.haomostudio.JuniorSpringMVCTemplate.service.HmUtils.MybatisExampleHelper; import com.haomostudio.milk.service.HmUtils.MybatisExampleHelper;
import com.haomostudio.JuniorSpringMVCTemplate.vo.AboutUsVO;
import org.apache.ibatis.binding.MapperProxy; import org.apache.ibatis.binding.MapperProxy;
import org.apache.ibatis.session.RowBounds;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
...@@ -28,7 +28,7 @@ import java.util.stream.Collectors; ...@@ -28,7 +28,7 @@ import java.util.stream.Collectors;
* Created by hxgqh on 2016/1/7. * Created by hxgqh on 2016/1/7.
*/ */
@Service("aboutUsService") @Service("aboutUsService")
public class AboutUsServiceImpl implements AboutUsService { public class AboutUsServiceImpl implements AboutUsService{
protected static final Logger LOG = LoggerFactory.getLogger(AboutUsServiceImpl.class); protected static final Logger LOG = LoggerFactory.getLogger(AboutUsServiceImpl.class);
@Autowired @Autowired
......
package com.haomostudio.JuniorSpringMVCTemplate; package com.haomostudio.milk;
import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
......
package com.haomostudio.JuniorSpringMVCTemplate.common; package com.haomostudio.milk.common;
import org.quartz.*; import org.quartz.*;
......
package com.haomostudio.JuniorSpringMVCTemplate.common; package com.haomostudio.milk.common;
/** /**
* Created by guanpb on 2017/5/2. * Created by guanpb on 2017/5/2.
......
package com.haomostudio.JuniorSpringMVCTemplate.common; package com.haomostudio.milk.common;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
......
package com.haomostudio.JuniorSpringMVCTemplate.controller; package com.haomostudio.milk.controller;
import com.haomostudio.JuniorSpringMVCTemplate.common.Resp; import com.haomostudio.milk.common.Resp;
import com.haomostudio.JuniorSpringMVCTemplate.po.AboutUs; import com.haomostudio.milk.po.AboutUs;
import com.haomostudio.JuniorSpringMVCTemplate.service.AboutUsService; import com.haomostudio.milk.service.AboutUsService;
import com.haomostudio.JuniorSpringMVCTemplate.service.HmUtils.Tools; import com.haomostudio.milk.service.HmUtils.Tools;
import com.alibaba.fastjson.*; import com.alibaba.fastjson.*;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
...@@ -14,6 +14,7 @@ import org.springframework.web.bind.annotation.*; ...@@ -14,6 +14,7 @@ import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import java.lang.reflect.InvocationTargetException; import java.lang.reflect.InvocationTargetException;
import java.text.SimpleDateFormat;
import java.util.*; import java.util.*;
/** /**
......
package com.haomostudio.JuniorSpringMVCTemplate.servlet; package com.haomostudio.milk.servlet;
import com.haomostudio.JuniorSpringMVCTemplate.common.Resp; import com.haomostudio.milk.common.Resp;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.web.servlet.HandlerExceptionResolver; import org.springframework.web.servlet.HandlerExceptionResolver;
......
package com.haomostudio.JuniorSpringMVCTemplate.servlet; package com.haomostudio.milk.servlet;
import org.springframework.core.MethodParameter; import org.springframework.core.MethodParameter;
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.haomostudio.JuniorSpringMVCTemplate.dao.AboutUsMapper"> <mapper namespace="com.haomostudio.milk.dao.AboutUsMapper">
<resultMap id="BaseResultMap" type="com.haomostudio.JuniorSpringMVCTemplate.po.AboutUs"> <resultMap id="BaseResultMap" type="com.haomostudio.milk.po.AboutUs">
<id column="id" jdbcType="VARCHAR" property="id" /> <id column="id" jdbcType="VARCHAR" property="id" />
<result column="content" jdbcType="VARCHAR" property="content" /> <result column="content" jdbcType="VARCHAR" property="content" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" /> <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<sql id="Base_Column_List"> <sql id="Base_Column_List">
id, content, create_time, last_update_time id, content, create_time, last_update_time
</sql> </sql>
<select id="selectByExample" parameterType="com.haomostudio.JuniorSpringMVCTemplate.po.AboutUsExample" resultMap="BaseResultMap"> <select id="selectByExample" parameterType="com.haomostudio.milk.po.AboutUsExample" resultMap="BaseResultMap">
select select
<if test="distinct"> <if test="distinct">
distinct distinct
...@@ -95,19 +95,19 @@ ...@@ -95,19 +95,19 @@
delete from about_us delete from about_us
where id = #{id,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR}
</delete> </delete>
<delete id="deleteByExample" parameterType="com.haomostudio.JuniorSpringMVCTemplate.po.AboutUsExample"> <delete id="deleteByExample" parameterType="com.haomostudio.milk.po.AboutUsExample">
delete from about_us delete from about_us
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
</delete> </delete>
<insert id="insert" parameterType="com.haomostudio.JuniorSpringMVCTemplate.po.AboutUs"> <insert id="insert" parameterType="com.haomostudio.milk.po.AboutUs">
insert into about_us (id, content, create_time, insert into about_us (id, content, create_time,
last_update_time) last_update_time)
values (#{id,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, values (#{id,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{lastUpdateTime,jdbcType=TIMESTAMP}) #{lastUpdateTime,jdbcType=TIMESTAMP})
</insert> </insert>
<insert id="insertSelective" parameterType="com.haomostudio.JuniorSpringMVCTemplate.po.AboutUs"> <insert id="insertSelective" parameterType="com.haomostudio.milk.po.AboutUs">
insert into about_us insert into about_us
<trim prefix="(" suffix=")" suffixOverrides=","> <trim prefix="(" suffix=")" suffixOverrides=",">
<if test="id != null"> <if test="id != null">
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
</if> </if>
</trim> </trim>
</insert> </insert>
<select id="countByExample" parameterType="com.haomostudio.JuniorSpringMVCTemplate.po.AboutUsExample" resultType="java.lang.Long"> <select id="countByExample" parameterType="com.haomostudio.milk.po.AboutUsExample" resultType="java.lang.Long">
select count(*) from about_us select count(*) from about_us
<if test="_parameter != null"> <if test="_parameter != null">
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
<include refid="Update_By_Example_Where_Clause" /> <include refid="Update_By_Example_Where_Clause" />
</if> </if>
</update> </update>
<update id="updateByPrimaryKeySelective" parameterType="com.haomostudio.JuniorSpringMVCTemplate.po.AboutUs"> <update id="updateByPrimaryKeySelective" parameterType="com.haomostudio.milk.po.AboutUs">
update about_us update about_us
<set> <set>
<if test="content != null"> <if test="content != null">
...@@ -189,14 +189,14 @@ ...@@ -189,14 +189,14 @@
</set> </set>
where id = #{id,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR}
</update> </update>
<update id="updateByPrimaryKey" parameterType="com.haomostudio.JuniorSpringMVCTemplate.po.AboutUs"> <update id="updateByPrimaryKey" parameterType="com.haomostudio.milk.po.AboutUs">
update about_us update about_us
set content = #{content,jdbcType=VARCHAR}, set content = #{content,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP},
last_update_time = #{lastUpdateTime,jdbcType=TIMESTAMP} last_update_time = #{lastUpdateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=VARCHAR} where id = #{id,jdbcType=VARCHAR}
</update> </update>
<select id="selectByExampleWithRowbounds" parameterType="com.haomostudio.JuniorSpringMVCTemplate.po.AboutUsExample" resultMap="BaseResultMap"> <select id="selectByExampleWithRowbounds" parameterType="com.haomostudio.milk.po.AboutUsExample" resultMap="BaseResultMap">
select select
<if test="distinct"> <if test="distinct">
distinct distinct
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
http://www.springframework.org/schema/context/spring-context-4.0.xsd http://www.springframework.org/schema/context/spring-context-4.0.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd"> http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd">
<bean id="propertyConfigurer" class="com.haomostudio.JuniorSpringMVCTemplate.common.PropertyConfigurer"> <bean id="propertyConfigurer" class="com.haomostudio.milk.common.PropertyConfigurer">
<property name="ignoreUnresolvablePlaceholders" value="true"/> <property name="ignoreUnresolvablePlaceholders" value="true"/>
<property name="ignoreResourceNotFound" value="true"/> <property name="ignoreResourceNotFound" value="true"/>
<property name="locations"> <property name="locations">
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</context:component-scan> </context:component-scan>
<!--<mvc:interceptors>--> <!--<mvc:interceptors>-->
<!--<bean class="com.haomostudio.JuniorSpringMVCTemplateorSpringMVCTemplate.web.servlet.AuthenticationInterceptor"/>--> <!--<bean class="com.haomostudio.milk.web.servlet.AuthenticationInterceptor"/>-->
<!--</mvc:interceptors>--> <!--</mvc:interceptors>-->
<!-- 定义首页 --> <!-- 定义首页 -->
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<!-- 支持上传文件 --> <!-- 支持上传文件 -->
<bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver"/> <bean id="multipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver"/>
<bean id="handlerExceptionResolver" class="com.haomostudio.JuniorSpringMVCTemplate.servlet.DefaultHandlerExceptionResolver"/> <bean id="handlerExceptionResolver" class="com.haomostudio.milk.servlet.DefaultHandlerExceptionResolver"/>
<mvc:annotation-driven> <mvc:annotation-driven>
<mvc:message-converters register-defaults="true"> <mvc:message-converters register-defaults="true">
<bean class="org.springframework.http.converter.BufferedImageHttpMessageConverter"/> <bean class="org.springframework.http.converter.BufferedImageHttpMessageConverter"/>
......
package com.haomostudio.JuniorSpringMVCTemplate.test; package com.haomostudio.milk.test;
import com.guanpb.poi.excel.ExcelExportUtil; import com.guanpb.poi.excel.ExcelExportUtil;
import com.guanpb.poi.excel.ExcelImportUtil; import com.guanpb.poi.excel.ExcelImportUtil;
import com.haomostudio.JuniorSpringMVCTemplate.pojo.User; import com.haomostudio.milk.pojo.User;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
......
package com.haomostudio.JuniorSpringMVCTemplate.util; package com.haomostudio.milk.util;
import org.quartz.Job; import org.quartz.Job;
import org.quartz.JobExecutionContext; import org.quartz.JobExecutionContext;
......
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