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
ba79eab9
Commit
ba79eab9
authored
Jul 22, 2026
by
wujipeng
Browse files
优化
parent
9537ebad
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/com/example/pipelinenetwork/controller/RoadController.java
View file @
ba79eab9
...
@@ -42,9 +42,9 @@ public class RoadController {
...
@@ -42,9 +42,9 @@ public class RoadController {
}
}
/**
/**
*
根据路名查询数据
*
道路详情
*/
*/
@
Ge
tMapping
(
"/
road/
detail"
)
@
Pos
tMapping
(
"/detail
/name
"
)
public
Result
<
RoadVO
>
queryByRoadName
(
@RequestBody
RoadDTO
roadDTO
)
{
public
Result
<
RoadVO
>
queryByRoadName
(
@RequestBody
RoadDTO
roadDTO
)
{
return
Result
.
success
(
roadService
.
queryByRoadName
(
roadDTO
));
return
Result
.
success
(
roadService
.
queryByRoadName
(
roadDTO
));
}
}
...
...
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