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

Dao如何使用多级自关联 #64

Open
defaultw opened this issue Aug 9, 2022 · 0 comments
Open

Dao如何使用多级自关联 #64

defaultw opened this issue Aug 9, 2022 · 0 comments

Comments

@defaultw
Copy link

defaultw commented Aug 9, 2022

您好,
现在结构是
|- 文件夹1
|- 子文件夹
|- 子文件夹的子文件夹

这样的结构使用dao.fetchLinks(this.query(Xxx.class, Cnd.where("pId", "=", 0L)), "xx")只能查到两级,我需要怎么做才可以查到第三级或者更多层级的数据(这边层级是不确定的)。

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