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

建议Example能否支持函数是编程 #864

Open
xujian662 opened this issue Aug 24, 2022 · 3 comments
Open

建议Example能否支持函数是编程 #864

xujian662 opened this issue Aug 24, 2022 · 3 comments

Comments

@xujian662
Copy link

Example example = new Example(DefectVideo.class);
Example.Criteria criteria = example.createCriteria();
criteria.andIn(DefectVideo::getCategory,"11");

@abel533 abel533 pinned this issue Sep 17, 2022
@abel533
Copy link
Owner

abel533 commented Sep 17, 2022

试试能不能把 mybatis-mapper 的 ExampleWrapper 拷过来。

@blackkeai
Copy link

还是尽量支持一下函数式编程,这样比较方便

@zinny1990
Copy link

非常同意,我现在都是自己写个静态方法,去支持 public static String getFieldName(Function<T, ?> fn)

@abel533 abel533 unpinned this issue Dec 20, 2023
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

4 participants