Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
midjourney-proxy
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
徐少华
midjourney-proxy
Commits
4eebc458
Commit
4eebc458
authored
Jan 13, 2023
by
李传峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:[none] PageBeanNew bug
parent
f01656cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
ExecutorInterceptor.java
.../common/core/mybatis/interceptor/ExecutorInterceptor.java
+7
-0
No files found.
pcloud-common-core/src/main/java/com/pcloud/common/core/mybatis/interceptor/ExecutorInterceptor.java
View file @
4eebc458
...
@@ -65,6 +65,13 @@ public class ExecutorInterceptor extends AbstractInterceptor implements Initiali
...
@@ -65,6 +65,13 @@ public class ExecutorInterceptor extends AbstractInterceptor implements Initiali
queryArgs
[
ROWBOUNDS_INDEX
]
=
new
RowBounds
(
offset
,
limit
);
queryArgs
[
ROWBOUNDS_INDEX
]
=
new
RowBounds
(
offset
,
limit
);
BoundSql
newBoundSql
=
new
BoundSql
(
ms
.
getConfiguration
(),
sql
,
boundSql
.
getParameterMappings
(),
boundSql
.
getParameterObject
());
BoundSql
newBoundSql
=
new
BoundSql
(
ms
.
getConfiguration
(),
sql
,
boundSql
.
getParameterMappings
(),
boundSql
.
getParameterObject
());
if
(
CollectionUtils
.
isNotEmpty
(
boundSql
.
getParameterMappings
()))
{
for
(
ParameterMapping
p
:
boundSql
.
getParameterMappings
())
{
if
(
boundSql
.
hasAdditionalParameter
(
p
.
getProperty
()))
{
newBoundSql
.
setAdditionalParameter
(
p
.
getProperty
(),
boundSql
.
getAdditionalParameter
(
p
.
getProperty
()));
}
}
}
MappedStatement
newMs
=
copyFromMappedStatement
(
ms
,
new
BoundSqlSqlSource
(
newBoundSql
),
false
);
MappedStatement
newMs
=
copyFromMappedStatement
(
ms
,
new
BoundSqlSqlSource
(
newBoundSql
),
false
);
queryArgs
[
MAPPED_STATEMENT_INDEX
]
=
newMs
;
queryArgs
[
MAPPED_STATEMENT_INDEX
]
=
newMs
;
...
...
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