}
CommentThread.ThreadState threadState = CommentThread.ThreadState.valueOf(state.toUpperCase());
el.eq("state", threadState);
Direction direction = Direction.valueOf(orderDir.toUpperCase());
if (StringUtils.isNotBlank(orderBy)) {
el.orderBy(orderBy + " " + direction.name());
}
if (StringUtils.isNotBlank(filter)) {
Junction<CommentThread> junction = el.disjunction();
junction.icontains("reviewComments.contents", filter)