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
9537ebad
Commit
9537ebad
authored
Jul 22, 2026
by
wujipeng
Browse files
优化
parent
65ece192
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/example/pipelinenetwork/service/impl/RoadServiceImpl.java
View file @
9537ebad
...
...
@@ -70,10 +70,10 @@ public class RoadServiceImpl extends ServiceImpl<RoadMapper, RoadEntity> impleme
.
eq
(
DefectEntity:
:
getLevel
,
roadDTO
.
getLev
())
);
for
(
DefectEntity
defectEntity
:
defectList
)
{
if
(
result
.
containsKey
(
defectEntity
.
get
Typ
e
()))
{
result
.
put
(
defectEntity
.
get
Typ
e
(),
result
.
get
(
defectEntity
.
get
Typ
e
())
+
defectEntity
.
getNum
());
if
(
result
.
containsKey
(
defectEntity
.
get
Nam
e
()))
{
result
.
put
(
defectEntity
.
get
Nam
e
(),
result
.
get
(
defectEntity
.
get
Nam
e
())
+
defectEntity
.
getNum
());
}
else
{
result
.
put
(
defectEntity
.
get
Typ
e
(),
defectEntity
.
getNum
());
result
.
put
(
defectEntity
.
get
Nam
e
(),
defectEntity
.
getNum
());
}
}
}
else
if
(
"修复"
.
equals
(
roadDTO
.
getType
()))
{
...
...
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