【开源中国 APP 全新上线】“动弹” 回归、集成大模型对话、畅读技术报告”
Dept{ String name; String seq; String path; } User{ String userName; String age; String passWord; Dept dept; } 查询出 List<User> 我需要的属性是 User里面的userName和 Dept里面的name; 用SimplePropertyPreFilter应该怎么配置.. SimplePropertyPreFilter spf = new SimplePropertyPreFilter(); Set<String> includes = spf.getIncludes(); includes.add("userName"); includes.add("dept"); //然后怎样才能让dept只包含 name;