public Page pageQuery(final String sql,String countQuery,final PageRequest pageRequest) {
Map otherFilters = new HashMap(1);
otherFilters.put("sortColumns", pageRequest.getSortColumns());
XsqlBuilder builder = getXsqlBuilder();
//混合使用otherFilters与pageRequest为一个filters使用
XsqlFilterResult queryXsqlResult = builder.generateHql(sql,otherFilters,pageRequest);
XsqlFilterResult countQueryXsqlResult = builder.generateHql(countQuery,otherFilters,pageRequest);
return PageQueryUtils.pageQuery(getHibernateTemplate(),pageRequest,queryXsqlResult,countQueryXsqlResult);
}