This should do the trick. Specification spec = where(null); if (statuses != null) { spec = spec.and(havingStatus(statuses)) } if (account ...
確定! 回上一頁