@RequestMapping('changeDateForHdsItemList') @ResponseBody public Map
Map
param.put('leader_id', param.get('_loginUserId')); }else{ Map
param.put('page_flag', 'true'); param.put('date_type', request.getParameter('date_type')); param.put('jump_url', '/dailyMatters/dailyMattersShowDetail'); param.put('deptLeaderRelOpen', 'yes'); List
//request.setAttribute('nearlyWorkList', nearlyWorkList);//近期工作提醒 result.put('data', nearlyWorkList); return result; } catch (Exception e) { log.error(e.getMessage()); throw new ServiceException('查询列表失败'); } } @RequestMapping('/changeStateForDbList') @ResponseBody public Map
Map
String deptId = String.valueOf(deptInfo.get('ORG_ID')); boolean controlFlag = DataControlUtil.checkDept(deptId); if(controlFlag){ searchData.put('controlFlag', 'true'); param.put('controlFlag', 'true'); } if('YB'.equals(stateFlag)){ DBMap = flowCommonService.queryYBList(searchData,'OA',true,0,5); }else if('ZB'.equals(stateFlag)){ DBMap = flowCommonService.queryZBList(searchData,'OA',true,0,5); }else{ DBMap = flowCommonService.queryDBList(param.get('_loginUserId')+'','OA',null,null,true,0,5); } result.put('recordsTotal', DBMap.get('recordsTotal')); result.put('data', DBMap.get('data')); return result; } catch (Exception e) { log.error(e.getMessage()); throw new ServiceException('查询列表失败'); } }