/**
  * 查询用户列表
  *
  * @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
  */
 @RequestMapping(value = "/findOperatorDetail.do")
 @ResponseBody
 public TbSpOperator findOperatorDetail(HttpServletRequest request) {
   Map<String, String> map = new HashMap<String, String>();
   map.put("opId", request.getParameter("opId"));
   map.put("centerCode", request.getParameter("centerCode"));
   return tbSpOperatorService.findOperatorDetail(map);
 }
 /**
  * 修改登录用户密码
  *
  * @param tbSpOperator
  * @param response
  * @return
  */
 @RequestMapping(value = "/retPassword.do")
 public String retPassword(@RequestBody TbSpOperator tbSpOperator, HttpServletResponse response) {
   try {
     PaginationResult<TbSpOperator> result = tbSpOperatorService.retPassword(tbSpOperator);
     return this.returnInfoForJS(response, result.getResultJudge());
   } catch (Exception e) {
     return this.returnInfoForJS(response, StaticSession.MESSAGE_ERROR);
   }
 }