Ejemplo n.º 1
0
  @RequestMapping(value = "/queryTPersonList")
  public String queryTPersonList(TPerson tPerson) {
    Map<String, SearchOperator> options = new HashMap<String, SearchOperator>();
    PageList pageList = tPersonService.queryTPersonPage(tPerson, options, pageBounds);

    request.setAttribute("pageBean", pageList);
    request.setAttribute("page", pageList.getPaginator());
    request.setAttribute("model", tPerson);
    return "admin/xx/xx-list";
  }
Ejemplo n.º 2
0
  @RequestMapping(value = "/queryBParaList")
  public String queryBParaList(BPara bPara) {
    Map<String, SearchOperator> options = new HashMap<String, SearchOperator>();
    options.put("paraName", SearchOperator.LIKE);
    options.put("paraCode", SearchOperator.LIKE);
    options.put("isDelete", SearchOperator.EQ);
    PageList pageList = bParaService.queryBParaPage(bPara, options, pageBounds);

    request.setAttribute("pageBean", pageList);
    request.setAttribute("page", pageList.getPaginator());

    request.setAttribute("model", bPara);
    return "admin/sys/para-list";
  }