/**
  * 查询个人周应宝下持有资产与利息
  *
  * @return
  */
 @RequestMapping("/holdingAssets")
 public ModelAndView holdingAssets() {
   Integer userId = UserSession.getLoginUserId();
   ModelAndView mv = new ModelAndView("week/holdingAssets");
   ModelAndViewUtil.addAccountToView(mv, this.accountService);
   HoldingAssetsVO hav = weekTenderService.selectHoldingAssetsByUserId(userId);
   if (hav == null) {
     hav = new HoldingAssetsVO();
   }
   mv.addObject("assets", hav);
   return mv;
 }
 @RequestMapping(value = "/tenderAction")
 @ResponseBody
 public UserTenderActionResultVO tenderAction(HttpServletRequest request, UserTenderActionVO vo) {
   UserTenderActionResultVO resultVO = new UserTenderActionResultVO();
   vo.setTenderType("week");
   resultVO.setTenderType("week");
   if (UserSession.getUserSession() != null) {
     if (DigestUtils.md5Hex(vo.getPaypassword())
         .equals(UserSession.getUserSession().getPayPassword())) {
       vo.setUserType(UserSession.getUserSession().getTypeId());
       vo.setUserId(UserSession.getUserSession().getUserId());
       vo.setUserip(ModelAndViewUtil.getIpAddr(request));
       // resultVO = this.weekTenderService.insertWeekTender(userVO);
       resultVO = this.borrowTenderService.userTenderAction(vo);
     } else {
       throw new BusinessException("8005011", "支付密码错误");
     }
   } else {
     throw new BusinessException("8005011", "登陆后才可投资哦");
   }
   return resultVO;
 }