Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gjjs-bd-common
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
s_guodong
gjjs-bd-common
Commits
2b133309
Commit
2b133309
authored
Aug 16, 2023
by
吴佳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分页查询 total
parent
54c3c53b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
MyBatisDaoSession.java
...com/brilliance/mda/support/mybatis/MyBatisDaoSession.java
+1
-0
BaseVO.java
.../main/java/com/brilliance/mda/runtime/request/BaseVO.java
+1
-0
No files found.
gjjs-bd-mybatis-support/src/main/java/com/brilliance/mda/support/mybatis/MyBatisDaoSession.java
View file @
2b133309
...
@@ -356,6 +356,7 @@ public class MyBatisDaoSession extends AbstractDaoSession implements IDaoSession
...
@@ -356,6 +356,7 @@ public class MyBatisDaoSession extends AbstractDaoSession implements IDaoSession
if
(
cacheOption
!=
null
)
{
if
(
cacheOption
!=
null
)
{
PageHelper
.
clearPage
();
PageHelper
.
clearPage
();
}
}
baseVO
.
setTotal
(
lists
[
0
].
size
());
return
lists
[
0
].
size
();
return
lists
[
0
].
size
();
}
}
...
...
gjjs-bd-runtime/src/main/java/com/brilliance/mda/runtime/request/BaseVO.java
View file @
2b133309
...
@@ -12,6 +12,7 @@ public class BaseVO {
...
@@ -12,6 +12,7 @@ public class BaseVO {
protected
String
id
;
protected
String
id
;
protected
String
cifno
;
protected
String
cifno
;
protected
String
pageId
;
protected
String
pageId
;
public
int
total
;
protected
Map
<
String
,
Object
>
params
;
protected
Map
<
String
,
Object
>
params
;
protected
Map
<
String
,
Object
>
root
;
protected
Map
<
String
,
Object
>
root
;
...
...
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