Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
pipeline-network
Commits
aa9b057f
Commit
aa9b057f
authored
Nov 04, 2026
by
wujipeng
Browse files
管径优化
parent
4ffdf4a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/example/pipelinenetwork/service/impl/RoadServiceImpl.java
View file @
aa9b057f
...
...
@@ -116,7 +116,7 @@ public class RoadServiceImpl extends ServiceImpl<RoadMapper, RoadEntity> impleme
length
+=
basicEntity
.
getDetectionLength
();
}
if
(
basicEntity
.
getPipeDiameter
()
!=
null
)
{
String
[]
split
=
basicEntity
.
getPipeDiameter
().
split
(
"/
Φ
"
);
String
[]
split
=
basicEntity
.
getPipeDiameter
().
replaceAll
(
"Φ"
,
""
).
split
(
"/"
);
pipeDiameter
.
addAll
(
Arrays
.
asList
(
split
));
}
if
(
basicEntity
.
getPipeType
()
!=
null
)
{
...
...
@@ -165,7 +165,7 @@ public class RoadServiceImpl extends ServiceImpl<RoadMapper, RoadEntity> impleme
result
.
setLength
(
length
);
result
.
setStructuralDefect
(
structuralDefect
);
result
.
setFunctionalDefect
(
functionalDefect
);
result
.
setPipeDiameter
(
pipeDiameter
.
toString
(
));
result
.
setPipeDiameter
(
String
.
join
(
","
,
pipeDiameter
));
result
.
setPipeType
(
pipeType
);
result
.
setFileName
(
fileName
);
result
.
setRegionName
(
regionName
);
...
...
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