24,923
社区成员




select b from
TableA a right join a.post b
with a.evaluationPlan.type = ?
where a.post.id is null and b.postGroup.id = ?
select c from
TableA a
inner join a.evaluationPlan b with b.type = ?
right join a.post c where a.post.id is null and c.postGroup.id = ?
加上3.1的hibernate,这样写就可以了。
来人接分涩。