http://jueshizhanhun.blog.51cto.com/4372226/1221791 请教各位,用specification接口怎样做外键查询啊。 例于 select u from User where role.id = 1 查询用户时想根据角色ID做筛选