Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 在复制countBoundSql的时候,复制additionalParameter #837

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

yuzhi-jiang
Copy link
Contributor

countBoundSql没有赋值additionalParameters,导致
foreach之类得到的额外参数(产生临时的参数),无法被复制到countBoundSql,然后在executeAutoCount中又取复制后的additionalParameters(此时这里的数据是空的)
image

原复制BoundSql:
image

executeAutoCount:
image

@abel533 abel533 merged commit ddc96f6 into pagehelper:master Sep 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants