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
d206ca46
Commit
d206ca46
authored
Sep 01, 2026
by
wujipeng
Browse files
优化
parent
6dcd6cf2
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/com/example/pipelinenetwork/pojo/entity/BasicEntity.java
View file @
d206ca46
...
...
@@ -63,10 +63,4 @@ public class BasicEntity {
*/
@TableField
(
value
=
"pipe_type"
)
private
String
pipeType
;
/**
* 文件名
*/
@TableField
(
value
=
"file_name"
)
private
String
fileName
;
}
src/main/java/com/example/pipelinenetwork/service/impl/RoadServiceImpl.java
View file @
d206ca46
...
...
@@ -101,7 +101,7 @@ public class RoadServiceImpl extends ServiceImpl<RoadMapper, RoadEntity> impleme
//获取relId
List
<
BasicEntity
>
list
=
basicService
.
list
(
new
LambdaQueryWrapper
<
BasicEntity
>().
eq
(
BasicEntity:
:
getRoadName
,
roadDTO
.
getRoadName
()));
if
(!
list
.
isEmpty
()){
fileName
=
list
.
get
(
0
).
get
File
Name
();
fileName
=
list
.
get
(
0
).
get
Report
Name
();
}
List
<
String
>
relIds
=
new
ArrayList
<>();
for
(
BasicEntity
basicEntity
:
list
)
{
...
...
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