/** 个人积分兑换申请详情 */ @RequestMapping(value = "toScoreUserCostById.html", method = RequestMethod.GET) public ModelAndView getScoreUserCostById( @RequestParam("sucId") String sucId, @RequestParam("uid") String uid, ModelMap model) { ScoreUserCostBo scoreUserCost = scoreUserCostService.getScoreUserCost(sucId); model.put("scoreUserCost", scoreUserCost); model.put("sucId", sucId); model.put("uid", uid); UserInfoParam p = new UserInfoParam(); p.setId(uid); UserInfoBo user = userInfoService.getUserInfo(p); // 查看指定用户所在部门 的剩余积分 String orgId = user.getOrg().getOrgId(); OrganizationBo organizationBo = organizationService.getOrganization(orgId); String orgName = organizationBo.getName(); model.put("orgName", orgName); return new ModelAndView("scoreUser/rewardApplyInformation", model); }
/** 会议管理列表首页 */ @RequestMapping(value = "meetingManageList.html", method = RequestMethod.GET) public ModelAndView turnIndex( HttpServletRequest req, HttpServletResponse res, String mId, ModelMap model) { // mId为空新建,不为空修改 if (mId != null) { MeetingBo mb = meetingService.getMeeting(mId); model.put("mb", mb); } else { model.put("mb", new MeetingBo()); } UserInfoBo user = (UserInfoBo) req.getSession().getAttribute("user"); Map<String, String> con = new HashMap<String, String>(); con.put("uid", user.getUid()); OrganizationBo ob = userInfoService.getManageOrg(con); model.put("orgDepOriId", ob.getOrgId()); return new ModelAndView("meetingManage/meetingManageList", model); }