Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
indicators
Overview
Overview
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
zhangkb
indicators
Commits
ac9e1ecc
Commit
ac9e1ecc
authored
Jul 29, 2020
by
hzc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加了分页pageNo和pageSize的初始值
parent
a3b1e0bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
LoggingEventCtrl.java
.../keymobile/indicators/api/hytobacco/LoggingEventCtrl.java
+2
-1
No files found.
src/main/java/com/keymobile/indicators/api/hytobacco/LoggingEventCtrl.java
View file @
ac9e1ecc
...
@@ -41,14 +41,15 @@ public class LoggingEventCtrl {
...
@@ -41,14 +41,15 @@ public class LoggingEventCtrl {
@ApiOperation
(
value
=
"分页查询访问信息"
,
notes
=
"分页查询访问信息"
)
@ApiOperation
(
value
=
"分页查询访问信息"
,
notes
=
"分页查询访问信息"
)
@PostMapping
(
"/findVisitMsg"
)
@PostMapping
(
"/findVisitMsg"
)
public
Page
<
LoggingEvent
>
findVisitMsg
(
@RequestBody
LogQuery
logQuery
){
public
Page
<
LoggingEvent
>
findVisitMsg
(
@RequestBody
LogQuery
logQuery
){
Integer
pageNo
=
logQuery
.
getPageNo
();
Integer
pageNo
=
logQuery
.
getPageNo
();
Integer
pageSize
=
logQuery
.
getPageSize
();
Integer
pageSize
=
logQuery
.
getPageSize
();
if
(
pageNo
==
null
){
if
(
pageNo
==
null
){
pageNo
=
1
;
pageNo
=
1
;
logQuery
.
setPageNo
(
pageNo
);
}
}
if
(
pageSize
==
null
){
if
(
pageSize
==
null
){
pageSize
=
10
;
pageSize
=
10
;
logQuery
.
setPageSize
(
pageSize
);
}
}
List
<
LoggingEvent
>
list
=
new
ArrayList
<>();
List
<
LoggingEvent
>
list
=
new
ArrayList
<>();
long
total
=
loggingEventService
.
findCountByLogQuery
(
logQuery
);
long
total
=
loggingEventService
.
findCountByLogQuery
(
logQuery
);
...
...
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