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

findFirst30ByKey生成Wrapper code 没有limit #977

Open
wangdanawang opened this issue Mar 14, 2024 · 1 comment
Open

findFirst30ByKey生成Wrapper code 没有limit #977

wangdanawang opened this issue Mar 14, 2024 · 1 comment

Comments

@wangdanawang
Copy link

重现步骤(Repeat steps)

findFirst30ByKey生成Wrapper code没有limit限制
default List findFirst30ByKey(String key) {
LambdaQueryWrapper myQuery = Wrappers.lambdaQuery(Record.class);
myQuery.eq(RecordProgress::getKey, key);
return selectList(myQuery);
}

findFirst30ByKey生成sql有limit限制
select from record where "key"=#{key} limit 30

当前使用版本(Current Version)
IntelliJ IDEA 2023.3.4 • Notes plugin com.ccnode.codegenerator.MyBatisCodeHelperPro 3.2.9

@gejun123456
Copy link
Owner

谢谢,我优化下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants