示例#1
0
 /**
  * 代理商
  *
  * @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";
 }
示例#2
0
 @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";
 }