Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
PRMS
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
PRMS
Commits
fc603755
Commit
fc603755
authored
Jan 15, 2021
by
gaozhentao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
770f3f19
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
Manager.java
src/main/java/com/yingxin/prms/service/business/Manager.java
+9
-2
No files found.
src/main/java/com/yingxin/prms/service/business/Manager.java
View file @
fc603755
...
@@ -403,6 +403,7 @@ public class Manager {
...
@@ -403,6 +403,7 @@ public class Manager {
for
(
FlowNode
node
:
flowNodes
){
for
(
FlowNode
node
:
flowNodes
){
TcpFlowNodeDto
nodeDto
=
new
TcpFlowNodeDto
();
TcpFlowNodeDto
nodeDto
=
new
TcpFlowNodeDto
();
long
faultCount
=
0
;
long
faultCount
=
0
;
try
{
try
{
faultCount
=
getFaultCount
(
node
.
getServerPath
());
faultCount
=
getFaultCount
(
node
.
getServerPath
());
if
(
faultCount
>
0
){
if
(
faultCount
>
0
){
...
@@ -433,8 +434,14 @@ public class Manager {
...
@@ -433,8 +434,14 @@ public class Manager {
String
point
=
line
.
getPoints
();
String
point
=
line
.
getPoints
();
if
(
point
!=
null
&&
point
.
length
()>
0
){
if
(
point
!=
null
&&
point
.
length
()>
0
){
point
=
point
.
substring
(
1
,
point
.
length
()-
2
);
point
=
point
.
substring
(
1
,
point
.
length
()-
2
);
List
points
=
Arrays
.
asList
(
point
.
split
(
","
));
point
=
point
.
replaceAll
(
"\\\\"
,
""
);
lineDto
.
setPoints
(
points
);
point
=
point
.
replaceAll
(
"\""
,
""
);
List
list
=
new
ArrayList
();
String
[]
mapArray
=
point
.
split
(
","
);
for
(
int
j
=
0
;
j
<
mapArray
.
length
;
j
++)
{
list
.
add
(
Double
.
valueOf
(
mapArray
[
j
]));
}
lineDto
.
setPoints
(
list
);
}
else
{
}
else
{
lineDto
.
setPoints
(
null
);
lineDto
.
setPoints
(
null
);
}
}
...
...
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