Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
stater-tdtopo
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhengfunan
stater-tdtopo
Commits
78c14622
Commit
78c14622
authored
Sep 04, 2023
by
zhengfunan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
读取配置文件
parent
5dd000cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
+17
-6
workspace.xml
.idea/workspace.xml
+13
-3
TDGraphService.java
src/main/java/com/tongda/tdtopo/service/TDGraphService.java
+4
-3
No files found.
.idea/workspace.xml
View file @
78c14622
...
...
@@ -4,7 +4,10 @@
<option
name=
"autoReloadType"
value=
"SELECTIVE"
/>
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"67e936c8-2d55-4655-871e-e6e153e4d8e1"
name=
"更改"
comment=
"读取配置文件"
/>
<list
default=
"true"
id=
"67e936c8-2d55-4655-871e-e6e153e4d8e1"
name=
"更改"
comment=
"读取配置文件"
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/src/main/java/com/tongda/tdtopo/service/TDGraphService.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/src/main/java/com/tongda/tdtopo/service/TDGraphService.java"
afterDir=
"false"
/>
</list>
<option
name=
"SHOW_DIALOG"
value=
"false"
/>
<option
name=
"HIGHLIGHT_CONFLICTS"
value=
"true"
/>
<option
name=
"HIGHLIGHT_NON_ACTIVE_CHANGELIST"
value=
"false"
/>
...
...
@@ -95,7 +98,7 @@
<workItem
from=
"1693447950473"
duration=
"11267000"
/>
<workItem
from=
"1693536669710"
duration=
"10048000"
/>
<workItem
from=
"1693622693690"
duration=
"19250000"
/>
<workItem
from=
"1693802539121"
duration=
"
502
000"
/>
<workItem
from=
"1693802539121"
duration=
"
2088
000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"stater版首次提交"
>
<created>
1693387558801
</created>
...
...
@@ -125,7 +128,14 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1693802727953
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"5"
/>
<task
id=
"LOCAL-00005"
summary=
"读取配置文件"
>
<created>
1693803248860
</created>
<option
name=
"number"
value=
"00005"
/>
<option
name=
"presentableId"
value=
"LOCAL-00005"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1693803248860
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"6"
/>
<servers
/>
</component>
<component
name=
"TypeScriptGeneratedFilesManager"
>
...
...
src/main/java/com/tongda/tdtopo/service/TDGraphService.java
View file @
78c14622
...
...
@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONArray;
import
com.alibaba.fastjson.JSONObject
;
import
com.tongda.tdtopo.neo4j.Neo4jServer
;
import
com.tongda.tdtopo.util.GraphUtil
;
import
lombok.Data
;
import
org.dom4j.Attribute
;
import
org.dom4j.Document
;
import
org.dom4j.DocumentException
;
...
...
@@ -19,10 +20,10 @@ import java.nio.charset.StandardCharsets;
import
java.util.*
;
@Service
@Component
@Data
public
class
TDGraphService
{
//测试
private
GraphDatabaseService
graphDb
=
new
Neo4jServer
().
getGraphDatabaseServiceIn
();
public
static
HashMap
<
String
,
String
>
keymap
=
new
HashMap
<>();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment