Commit 46963fe2 by wangshitao

修改说明

parent 56dded21
...@@ -67,6 +67,7 @@ ...@@ -67,6 +67,7 @@
<change afterPath="$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/service/UserRepository.java" afterDir="false" /> <change afterPath="$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/service/UserRepository.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/service/impl/BaseRepositoryImpl.java" afterDir="false" /> <change afterPath="$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/service/impl/BaseRepositoryImpl.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/service/impl/UserServiceImpl.java" afterDir="false" /> <change afterPath="$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/service/impl/UserServiceImpl.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/pom.xml" beforeDir="false" afterPath="$PROJECT_DIR$/pom.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/com/itstyle/mongodb/Application.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/Application.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/main/java/com/itstyle/mongodb/Application.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/Application.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/main/java/com/itstyle/mongodb/model/Users.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/model/Users.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/main/java/com/itstyle/mongodb/model/Users.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/model/Users.java" afterDir="false" />
...@@ -91,7 +92,7 @@ ...@@ -91,7 +92,7 @@
<entry file="file://$PROJECT_DIR$/src/test/java/com/cemarose/mongodb/test/SpringbootMongodbApplication.java"> <entry file="file://$PROJECT_DIR$/src/test/java/com/cemarose/mongodb/test/SpringbootMongodbApplication.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="231"> <state relative-caret-position="231">
<caret line="46" column="18" lean-forward="true" selection-start-line="46" selection-start-column="18" selection-end-line="46" selection-end-column="18" /> <caret line="46" column="18" selection-start-line="46" selection-start-column="18" selection-end-line="46" selection-end-column="18" />
<folding> <folding>
<element signature="imports" expanded="true" /> <element signature="imports" expanded="true" />
<element signature="e#723#724#0" expanded="true" /> <element signature="e#723#724#0" expanded="true" />
...@@ -101,11 +102,11 @@ ...@@ -101,11 +102,11 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="Users.java" pinned="false" current-in-tab="true"> <file leaf-file-name="Users.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/model/Users.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/model/Users.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="296"> <state relative-caret-position="300">
<caret line="59" column="12" lean-forward="true" selection-start-line="59" selection-start-column="12" selection-end-line="59" selection-end-column="12" /> <caret line="59" column="12" selection-start-line="59" selection-start-column="12" selection-end-line="59" selection-end-column="12" />
<folding> <folding>
<element signature="e#1421#1422#0" expanded="true" /> <element signature="e#1421#1422#0" expanded="true" />
<element signature="e#1442#1443#0" expanded="true" /> <element signature="e#1442#1443#0" expanded="true" />
...@@ -120,6 +121,18 @@ ...@@ -120,6 +121,18 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="README.md" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/README.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="228">
<caret line="12" column="6" lean-forward="true" selection-start-line="12" selection-start-column="6" selection-end-line="12" selection-end-column="6" />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="Transient.class" pinned="false" current-in-tab="false"> <file leaf-file-name="Transient.class" pinned="false" current-in-tab="false">
<entry file="jar://$MAVEN_REPOSITORY$/org/springframework/data/spring-data-commons/1.13.1.RELEASE/spring-data-commons-1.13.1.RELEASE.jar!/org/springframework/data/annotation/Transient.class"> <entry file="jar://$MAVEN_REPOSITORY$/org/springframework/data/spring-data-commons/1.13.1.RELEASE/spring-data-commons-1.13.1.RELEASE.jar!/org/springframework/data/annotation/Transient.class">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
...@@ -156,20 +169,11 @@ ...@@ -156,20 +169,11 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="MongoTemplate.class" pinned="false" current-in-tab="false">
<entry file="jar://$MAVEN_REPOSITORY$/org/springframework/data/spring-data-mongodb/1.10.1.RELEASE/spring-data-mongodb-1.10.1.RELEASE.jar!/org/springframework/data/mongodb/core/MongoTemplate.class">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="573">
<caret line="460" column="18" lean-forward="true" selection-start-line="460" selection-start-column="18" selection-end-line="460" selection-end-column="18" />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="UserController.java" pinned="false" current-in-tab="false"> <file leaf-file-name="UserController.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/controller/UserController.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/controller/UserController.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="418"> <state relative-caret-position="418">
<caret line="22" column="82" lean-forward="true" selection-start-line="22" selection-start-column="82" selection-end-line="22" selection-end-column="82" /> <caret line="22" column="82" selection-start-line="22" selection-start-column="82" selection-end-line="22" selection-end-column="82" />
<folding> <folding>
<element signature="imports" expanded="true" /> <element signature="imports" expanded="true" />
</folding> </folding>
...@@ -265,6 +269,7 @@ ...@@ -265,6 +269,7 @@
<option value="$PROJECT_DIR$/src/test/java/com/cemarose/mongodb/test/SpringbootMongodbApplication.java" /> <option value="$PROJECT_DIR$/src/test/java/com/cemarose/mongodb/test/SpringbootMongodbApplication.java" />
<option value="$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/controller/UserController.java" /> <option value="$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/controller/UserController.java" />
<option value="$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/model/Users.java" /> <option value="$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/model/Users.java" />
<option value="$PROJECT_DIR$/README.md" />
</list> </list>
</option> </option>
</component> </component>
...@@ -327,6 +332,11 @@ ...@@ -327,6 +332,11 @@
<item name="java" type="462c0819:PsiDirectoryNode" /> <item name="java" type="462c0819:PsiDirectoryNode" />
<item name="test" type="462c0819:PsiDirectoryNode" /> <item name="test" type="462c0819:PsiDirectoryNode" />
</path> </path>
<path>
<item name="spring-boot-mongodb" type="b2602c69:ProjectViewProjectNode" />
<item name="spring-boot-mongodb" type="462c0819:PsiDirectoryNode" />
<item name="target" type="462c0819:PsiDirectoryNode" />
</path>
</expand> </expand>
<select /> <select />
</subPane> </subPane>
...@@ -458,15 +468,16 @@ ...@@ -458,15 +468,16 @@
<updated>1531210185148</updated> <updated>1531210185148</updated>
<workItem from="1531210186658" duration="3723000" /> <workItem from="1531210186658" duration="3723000" />
<workItem from="1531214358892" duration="9000" /> <workItem from="1531214358892" duration="9000" />
<workItem from="1531214537447" duration="19982000" /> <workItem from="1531214537447" duration="20538000" />
</task> </task>
<servers /> <servers />
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="23714000" /> <option name="totallyTimeSpent" value="24270000" />
</component> </component>
<component name="ToolWindowManager"> <component name="ToolWindowManager">
<frame x="1912" y="-209" width="2576" height="1426" extended-state="6" /> <frame x="1912" y="-209" width="2576" height="1426" extended-state="6" />
<editor active="true" />
<layout> <layout>
<window_info anchor="right" id="Palette" order="3" /> <window_info anchor="right" id="Palette" order="3" />
<window_info anchor="bottom" id="Event Log" order="7" side_tool="true" /> <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
...@@ -478,7 +489,7 @@ ...@@ -478,7 +489,7 @@
<window_info id="Structure" order="1" side_tool="true" weight="0.25" /> <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" /> <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
<window_info id="UI Designer" order="2" /> <window_info id="UI Designer" order="2" />
<window_info anchor="bottom" id="Debug" order="3" visible="true" weight="0.39984533" /> <window_info anchor="bottom" id="Debug" order="3" weight="0.39984533" />
<window_info anchor="bottom" id="TODO" order="6" /> <window_info anchor="bottom" id="TODO" order="6" />
<window_info anchor="bottom" id="Messages" weight="0.32869297" /> <window_info anchor="bottom" id="Messages" weight="0.32869297" />
<window_info anchor="right" id="Palette&#9;" order="3" /> <window_info anchor="right" id="Palette&#9;" order="3" />
...@@ -488,7 +499,7 @@ ...@@ -488,7 +499,7 @@
<window_info anchor="bottom" id="Version Control" order="7" /> <window_info anchor="bottom" id="Version Control" order="7" />
<window_info anchor="bottom" id="Run" order="2" weight="0.32869297" /> <window_info anchor="bottom" id="Run" order="2" weight="0.32869297" />
<window_info anchor="bottom" id="Spring" order="7" /> <window_info anchor="bottom" id="Spring" order="7" />
<window_info anchor="bottom" id="Terminal" order="7" weight="0.32946634" /> <window_info anchor="bottom" id="Terminal" order="7" visible="true" weight="0.32869297" />
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.25" /> <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.25" />
<window_info anchor="right" id="Bean Validation" order="3" /> <window_info anchor="right" id="Bean Validation" order="3" />
<window_info id="Web" order="2" side_tool="true" /> <window_info id="Web" order="2" side_tool="true" />
...@@ -556,16 +567,6 @@ ...@@ -556,16 +567,6 @@
</breakpoint-manager> </breakpoint-manager>
</component> </component>
<component name="editorHistoryManager"> <component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/src/main/java/com/itstyle/mongodb/service/UserRepository.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="76">
<caret line="6" column="47" selection-start-line="6" selection-start-column="47" selection-end-line="6" selection-end-column="47" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/test/service/CityRepository.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/test/service/CityRepository.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="76"> <state relative-caret-position="76">
...@@ -949,7 +950,7 @@ ...@@ -949,7 +950,7 @@
<entry file="jar://$MAVEN_REPOSITORY$/org/springframework/data/spring-data-mongodb/1.10.1.RELEASE/spring-data-mongodb-1.10.1.RELEASE.jar!/org/springframework/data/mongodb/core/MongoTemplate.class"> <entry file="jar://$MAVEN_REPOSITORY$/org/springframework/data/spring-data-mongodb/1.10.1.RELEASE/spring-data-mongodb-1.10.1.RELEASE.jar!/org/springframework/data/mongodb/core/MongoTemplate.class">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="573"> <state relative-caret-position="573">
<caret line="460" column="18" lean-forward="true" selection-start-line="460" selection-start-column="18" selection-end-line="460" selection-end-column="18" /> <caret line="460" column="18" selection-start-line="460" selection-start-column="18" selection-end-line="460" selection-end-column="18" />
</state> </state>
</provider> </provider>
</entry> </entry>
...@@ -1006,7 +1007,7 @@ ...@@ -1006,7 +1007,7 @@
<entry file="file://$PROJECT_DIR$/src/test/java/com/cemarose/mongodb/test/SpringbootMongodbApplication.java"> <entry file="file://$PROJECT_DIR$/src/test/java/com/cemarose/mongodb/test/SpringbootMongodbApplication.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="231"> <state relative-caret-position="231">
<caret line="46" column="18" lean-forward="true" selection-start-line="46" selection-start-column="18" selection-end-line="46" selection-end-column="18" /> <caret line="46" column="18" selection-start-line="46" selection-start-column="18" selection-end-line="46" selection-end-column="18" />
<folding> <folding>
<element signature="imports" expanded="true" /> <element signature="imports" expanded="true" />
<element signature="e#723#724#0" expanded="true" /> <element signature="e#723#724#0" expanded="true" />
...@@ -1018,7 +1019,7 @@ ...@@ -1018,7 +1019,7 @@
<entry file="file://$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/controller/UserController.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/controller/UserController.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="418"> <state relative-caret-position="418">
<caret line="22" column="82" lean-forward="true" selection-start-line="22" selection-start-column="82" selection-end-line="22" selection-end-column="82" /> <caret line="22" column="82" selection-start-line="22" selection-start-column="82" selection-end-line="22" selection-end-column="82" />
<folding> <folding>
<element signature="imports" expanded="true" /> <element signature="imports" expanded="true" />
</folding> </folding>
...@@ -1027,8 +1028,8 @@ ...@@ -1027,8 +1028,8 @@
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/model/Users.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/cemarose/mongodb/model/Users.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="296"> <state relative-caret-position="300">
<caret line="59" column="12" lean-forward="true" selection-start-line="59" selection-start-column="12" selection-end-line="59" selection-end-column="12" /> <caret line="59" column="12" selection-start-line="59" selection-start-column="12" selection-end-line="59" selection-end-column="12" />
<folding> <folding>
<element signature="e#1421#1422#0" expanded="true" /> <element signature="e#1421#1422#0" expanded="true" />
<element signature="e#1442#1443#0" expanded="true" /> <element signature="e#1442#1443#0" expanded="true" />
...@@ -1042,6 +1043,16 @@ ...@@ -1042,6 +1043,16 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/README.md">
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
<state split_layout="SPLIT">
<first_editor relative-caret-position="228">
<caret line="12" column="6" lean-forward="true" selection-start-line="12" selection-start-column="6" selection-end-line="12" selection-end-column="6" />
</first_editor>
<second_editor />
</state>
</provider>
</entry>
</component> </component>
<component name="masterDetails"> <component name="masterDetails">
<states> <states>
......
作者: 小柒2012 作者: 汪士涛
出处: https://blog.52itstyle.com 参考资料如下:
![mongodb.jpg](https://blog.52itstyle.com/usr/uploads/2017/07/512308205.jpg)
开始前,建议大家去了解以下文章,当然不看也没问题:
[MongoDB从入门到“精通”之简介和如何安装](https://blog.52itstyle.com/archives/1150/ "MongoDB从入门到“精通”之简介和如何安装") [MongoDB从入门到“精通”之简介和如何安装](https://blog.52itstyle.com/archives/1150/ "MongoDB从入门到“精通”之简介和如何安装")
...@@ -16,9 +12,8 @@ ...@@ -16,9 +12,8 @@
##开发环境 ##开发环境
JDK1.7、Maven、Eclipse、SpringBoot1.5.2、mongodb3.4,Robomongo(可视化工具) JDK1.8、Maven、Idea、SpringBoot、mongodb,Mongo Management Studio/Robomongo(可视化工具)
## 项目结构 ## 项目结构
![mongodb.png](https://blog.52itstyle.com/usr/uploads/2017/07/318858275.png) ![mongodb.png](https://blog.52itstyle.com/usr/uploads/2017/07/318858275.png)
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