@RequestMapping(
     value = "/findAll",
     method = {RequestMethod.GET, RequestMethod.POST})
 public @ResponseBody String findAll(
     Page page, Map<String, Object> map, @RequestParam String type) {
   BizMember member = (BizMember) HttpReceiver.getHttpSession().getAttribute("member");
   if (null == member) {
     AjaxReturnInfo.returnErr("请您先首页登录!");
   }
   List<BizTransRecord> list = transRecordService.findAllByType(page, type);
   if (CollectionUtils.isEmpty(list)) {
     return PageUtils.toJsonString(page, new ArrayList<Map<String, String>>());
   }
   return PageUtils.toJsonString(page, list);
 }
 /**
  * @param map
  * @return
  */
 @RequestMapping(
     value = "/findTransRrcordByMemberAndTypeForWeek",
     method = {RequestMethod.GET, RequestMethod.POST})
 public @ResponseBody String findTransRrcordByMemberAndTypeForWeek(
     Page page, Map<String, Object> map, HttpServletRequest request) {
   String memberNo = request.getParameter("memberNo");
   // 获取大师信息
   BizMember member = memberService.getBizMemberByMemberNo(memberNo);
   if (null == member) {
     return AjaxReturnInfo.returnErr("该大师不存在");
   }
   List<BizTransRecordVO> recordVOS =
       transRecordService.findTransRrcordByMemberAndTypeAndStatusForWeek(
           page, member.getId(), "S");
   List<Map<String, String>> temp = new ArrayList<Map<String, String>>();
   double f = (100.0);
   for (BizTransRecordVO recordVO : recordVOS) {
     Map<String, String> tempMap = new HashMap<String, String>();
     tempMap.put("id", recordVO.getId() + "");
     tempMap.put(
         "investTypeStr",
         InvestDirectionEnum.getInvestDirectionEnum(recordVO.getInvestType()).getName());
     tempMap.put(
         "origionValueWYuan", getRealNumWithTwo(recordVO.getOrigionValue() / f + "") + "元");
     tempMap.put("currValueWYuan", getRealNumWithTwo(recordVO.getCurrValue() / f + "") + "元");
     tempMap.put("importDate", recordVO.getImportDate());
     temp.add(tempMap);
   }
   return PageUtils.toJsonString(page, temp);
 }
 @RequestMapping(
     value = "/list",
     method = {RequestMethod.GET, RequestMethod.POST})
 public @ResponseBody String listTop(Page page, Map<String, Object> map) {
   BizMember member = HttpReceiver.getCurrentMember();
   if (null == member) {
     return PageUtils.toJsonString(page, null);
   }
   List<BizMemberCollect> collectList = memberCollectService.findByMemberId(page, member.getId());
   List<Map<String, String>> mapList = new ArrayList<Map<String, String>>();
   for (BizMemberCollect collect : collectList) {
     Map<String, String> tempMap = new HashMap<String, String>();
     BizMember mem = memberService.get(collect.getCollectedMemberId());
     tempMap.put("id", collect.getId() + "");
     tempMap.put("name", mem.getName());
     tempMap.put("memberNo", mem.getMemberNo());
     mapList.add(tempMap);
   }
   return PageUtils.toJsonString(page, mapList);
 }
 /**
  * @param map
  * @return
  */
 @RequestMapping(
     value = "/myTransRecords",
     method = {RequestMethod.GET, RequestMethod.POST})
 public @ResponseBody String myTransRecords(
     Page page, Map<String, Object> map, HttpServletRequest request) {
   BizMember member = (BizMember) HttpReceiver.getHttpSession().getAttribute("member");
   if (null == member) {
     return AjaxReturnInfo.returnErr("请您先首页登录!");
   }
   List<BizTransRecordVO> recordVOS =
       transRecordService.findTransRecordByUserForSubmit(page, member.getId());
   List<Map<String, String>> temp = new ArrayList<Map<String, String>>();
   double divi = 100.0;
   for (BizTransRecordVO recordVO : recordVOS) {
     Map<String, String> tempMap = new HashMap<String, String>();
     tempMap.put("id", recordVO.getId() + "");
     tempMap.put("investTypeStr", recordVO.getInvestTypeStr());
     tempMap.put("importDate", recordVO.getImportDate());
     tempMap.put(
         "currIncomeWYuan",
         (null == recordVO.getCurrIncome() ? 0 : recordVO.getCurrIncome()) / divi + "");
     tempMap.put(
         "currOutcomeWYuan",
         (null == recordVO.getCurrOutcome() ? 0 : recordVO.getCurrOutcome()) / divi + "");
     tempMap.put("currValueWYuan", recordVO.getCurrValue() / divi + "");
     tempMap.put(
         "lastDayValueWYuan",
         (null == recordVO.getLastDayValue() ? 0 : recordVO.getLastDayValue()) / divi + "");
     tempMap.put("status", recordVO.getStatus());
     String statusName = "";
     if (StringUtils.equals(recordVO.getStatus(), "I")) {
       statusName = "审核中";
     } else if (StringUtils.equals(recordVO.getStatus(), "S")) {
       statusName = "审核通过";
     } else if (StringUtils.equals(recordVO.getStatus(), "F")) {
       BizReviewLog log = reviewLogService.getBizReviewLog(recordVO.getId(), "TRANS_RECORD");
       if (null != log) {
         tempMap.put("failReason", log.getComment());
       }
       statusName = "审核退回";
     } else {
       statusName = "莫名其妙";
     }
     tempMap.put("statusName", statusName);
     temp.add(tempMap);
   }
   return PageUtils.toJsonString(page, temp);
 }