/**
  * 查询用户列表
  *
  * @param request
  * @return
  */
 @RequestMapping(value = "/findOperatorByParamPage.do")
 @ResponseBody
 public Map<String, Object> findOperatorByParamPage(
     @RequestBody DynamicSqlParameter requestParam) {
   Map<String, Object> result = new HashMap<String, Object>(2);
   String treeType = String.valueOf(requestParam.getEqual().get("treeType"));
   PaginationResult<TbSpOperator> list = new PaginationResult<TbSpOperator>();
   if (StaticSession.ONE.equals(treeType)) { // 判断查询主中心或分中心数据
     list = tbSpOperatorService.findOperatorByParamPage(requestParam);
   } else if (StaticSession.TWO.equals(treeType)) {
     list = tbSpOperatorService.findCenterOperatorByParamPage(requestParam);
   }
   result.put("Rows", list.getData());
   result.put("Total", list.getTotalCount());
   return result;
 }
 /**
  * 构建分页信息
  *
  * @param request
  * @return
  */
 protected DynamicSqlParameter getPageParam(HttpServletRequest request) {
   DynamicSqlParameter param = new DynamicSqlParameter();
   String page = request.getParameter("requestParam.page");
   String pagesize = request.getParameter("requestParam.rows");
   String order = request.getParameter("requestParam.equal.sortorder");
   String sort = request.getParameter("requestParam.equal.sortname");
   if (StringUtil.isNotBlank(page)) {
     param.setPage(Integer.parseInt(page));
   } else {
     param.setPage(1);
   }
   if (StringUtil.isNotBlank(pagesize)) {
     param.setPagesize(Integer.parseInt(pagesize));
   } else {
     param.setPagesize(30);
   }
   if (StringUtil.isNotBlank(order)) {
     param.setOrder(order);
   }
   if (StringUtil.isNotBlank(sort)) {
     param.setSort(sort);
   }
   return param;
 }