コード例 #1
0
  @Override
  public String execute() throws Exception {

    PagedList<PaymentMoneyWithdraw> paymentMoneyWithdrawPagedList =
        PaymentMoneyWithdrawModel.getPagingList(this.getCondition());
    this.setResultList(paymentMoneyWithdrawPagedList.getResultList());
    this.setPageCount(paymentMoneyWithdrawPagedList.getPagingInfo().getPageCount());
    this.setPageIndex(paymentMoneyWithdrawPagedList.getPagingInfo().getPageIndex());
    this.setRecordCount(paymentMoneyWithdrawPagedList.getPagingInfo().getTotalCount());
    int i = 0;
    for (PaymentMoneyWithdraw item : paymentMoneyWithdrawPagedList.getResultList()) {
      item.setId(++i);
    }
    return SUCCESS;
  }