コード例 #1
0
  /**
   * 排序
   *
   * @return
   */
  public String searchOrderBy() {
    HttpSession session = request.getSession();

    Object o = session.getAttribute(CommonUtils.COND);
    if (o == null) {

      cond = new AppointCond();
    } else {

      cond = (AppointCond) o;
    }

    initPager(cond);
    appintList = appointServices.findAppointPage(cond);
    showPager(cond);

    return "searchAppoint";
  }
コード例 #2
0
  /**
   * 查询
   *
   * @return
   * @throws Exception
   */
  public String companySaleMonth() throws Exception {

    if (cond == null) {
      cond = new AppointCond();
    }

    initPager(cond);
    appintList = appointServices.findAppointPage(cond);
    showPager(cond);

    String deleteSession = request.getParameter("deleteSession");

    if (!"false".equals(deleteSession)) {
      removeSuggestion();
    }

    return "companySaleMonth";
  }