default QueryResults<TabLive> pageSorts(final TabLive condition, final Pager pager) {
return jpaQueryFactory.<JPAQueryFactory>get()
.selectFrom(q)
.where(condition.where().toArray())
.offset(pager.offset())
.limit(pager.limit())
//把liveState是LIVING的放在前面
.orderBy(QTabLive.tabLive.liveState.when(LiveState.LIVING).then(0).otherwise(1).asc())
.orderBy(condition.buildQdslSorts())
.fetchResults();
}