Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
ea053bc5
Commit
ea053bc5
authored
Oct 26, 2023
by
H2T
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
管控清单接口修改-bug修改
parent
cab79c1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
RouteController.java
...join/amos/patrol/business/controller/RouteController.java
+5
-2
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/controller/RouteController.java
View file @
ea053bc5
...
...
@@ -31,6 +31,7 @@ import io.swagger.annotations.ApiOperation;
import
io.swagger.annotations.ApiParam
;
import
liquibase.pro.packaged.S
;
import
org.apache.commons.lang3.StringUtils
;
import
org.aspectj.weaver.ast.Var
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -886,8 +887,10 @@ public class RouteController extends AbstractBaseController {
@RequestParam
(
value
=
"pointNo"
,
required
=
false
)
String
pointNo
){
com
.
baomidou
.
mybatisplus
.
extension
.
plugins
.
pagination
.
Page
<
Point
>
pointPage
=
new
com
.
baomidou
.
mybatisplus
.
extension
.
plugins
.
pagination
.
Page
<>();
number
=
(
number
-
1
)
*
size
;
pointPage
.
setTotal
(
pointMapper
.
countRoutePointList
(
name
,
pointNo
));
pointPage
.
setRecords
(
pointMapper
.
selectRoutePointList
(
number
,
size
,
name
,
pointNo
,
routeId
));
List
<
Point
>
points
=
pointMapper
.
selectRoutePointList
(
number
,
size
,
name
,
pointNo
,
routeId
);
pointPage
.
setTotal
(
points
.
size
());
pointPage
.
setRecords
(
points
);
return
CommonResponseUtil
.
success
(
pointPage
);
}
}
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