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

minidao能传递动态sql? #39

Open
longjingcha opened this issue Apr 23, 2024 · 0 comments
Open

minidao能传递动态sql? #39

longjingcha opened this issue Apr 23, 2024 · 0 comments

Comments

@longjingcha
Copy link

传递的动态sql都当成了字符串来解析了
例如数据张表中存了一个其他的查询语句(select * from shop),
MiniDaoPage<Map<String, Object>> selectPageBySql(@param("querySql") String str, @param("page") int i, @param("rows") int i2, @param("sqlParamsMap") Map<String, Object> map);
我想要直接动态查询这个表的数据,如何传递参数呢?

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

No branches or pull requests

1 participant