Query query = new Query();
if (!StringUtils.isEmpty(queryParam.getQuery())) {
query.addCriteria(Criteria.where(queryParam.getQtype()).is(
queryParam.getQuery()));
}
query.skip(queryParam.getSkip()).limit(queryParam.getLimit()).sort()
.on(queryParam.getSortname(), queryParam.getSortorder());
List<T> list = baseDao.getMongoTemplate().find(query, getBeanClass());
List<Map<String, Object>> mapList = new LinkedList<Map<String, Object>>();
for (T bean : list) {