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
444d3cee
Commit
444d3cee
authored
Jul 24, 2026
by
wujipeng
Browse files
优化
parent
033c4d21
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/example/pipelinenetwork/service/impl/RoadServiceImpl.java
View file @
444d3cee
...
@@ -102,7 +102,7 @@ public class RoadServiceImpl extends ServiceImpl<RoadMapper, RoadEntity> impleme
...
@@ -102,7 +102,7 @@ public class RoadServiceImpl extends ServiceImpl<RoadMapper, RoadEntity> impleme
}
else
if
(
"功能性"
.
equals
(
defectEntity
.
getType
()))
{
}
else
if
(
"功能性"
.
equals
(
defectEntity
.
getType
()))
{
functionalDefect
++;
functionalDefect
++;
}
}
if
(
StrUtil
.
is
Not
Empty
(
roadDTO
.
getDefectType
())
&&
roadDTO
.
getDefectType
().
equals
(
defectEntity
.
getType
()))
{
if
(
StrUtil
.
isEmpty
(
roadDTO
.
getDefectType
())
||
roadDTO
.
getDefectType
().
equals
(
defectEntity
.
getType
()))
{
RoadVO
roadVO
=
new
RoadVO
();
RoadVO
roadVO
=
new
RoadVO
();
roadVO
.
setDefectType
(
defectEntity
.
getType
());
roadVO
.
setDefectType
(
defectEntity
.
getType
());
roadVO
.
setDefectName
(
defectEntity
.
getName
());
roadVO
.
setDefectName
(
defectEntity
.
getName
());
...
@@ -119,7 +119,7 @@ public class RoadServiceImpl extends ServiceImpl<RoadMapper, RoadEntity> impleme
...
@@ -119,7 +119,7 @@ public class RoadServiceImpl extends ServiceImpl<RoadMapper, RoadEntity> impleme
}
else
if
(
"功能性"
.
equals
(
repairEntity
.
getType
()))
{
}
else
if
(
"功能性"
.
equals
(
repairEntity
.
getType
()))
{
functionalDefect
++;
functionalDefect
++;
}
}
if
(
StrUtil
.
is
Not
Empty
(
roadDTO
.
getDefectType
())
&&
roadDTO
.
getDefectType
().
equals
(
repairEntity
.
getType
()))
{
if
(
StrUtil
.
isEmpty
(
roadDTO
.
getDefectType
())
||
roadDTO
.
getDefectType
().
equals
(
repairEntity
.
getType
()))
{
RoadVO
roadVO
=
new
RoadVO
();
RoadVO
roadVO
=
new
RoadVO
();
roadVO
.
setDefectType
(
repairEntity
.
getType
());
roadVO
.
setDefectType
(
repairEntity
.
getType
());
roadVO
.
setDefectName
(
repairEntity
.
getName
());
roadVO
.
setDefectName
(
repairEntity
.
getName
());
...
...
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