/** * 代理商 * * @param dto * @return */ @RequestMapping("/agency/listNotice.do") public String listNotice(SystemDto dto) { dto.setAgency(SpringHelper.getCurrentAgency().getId()); Pagination pagination = service.queryPage(dto); this.getRequest().setAttribute("pagination", pagination); this.getRequest().setAttribute("systemDto", dto); return AGENCY_PRE_JSP_PATH + "noticeList"; }
@RequestMapping("/provider/listNotice.do") public String providerlistNotice(SystemDto dto) { dto.setProvider(SpringHelper.getCurrentProvider().getId()); Pagination pagination = service.queryPage(dto); this.getRequest().setAttribute("pagination", pagination); this.getRequest().setAttribute("systemDto", dto); return PROVIDER_PRE_JSP_PATH + "noticeList"; }