Example #1
0
  /** 还款情况详情 */
  public static void repaymentSituationDetail(int currPage, long billId) {
    ErrorInfo error = new ErrorInfo();

    User user = User.currUser();

    v_bill_detail billDetail = Bill.queryBillDetails(billId, user.id, error);
    PageBean<v_bill_repayment_record> page =
        Bill.queryBillReceivables(billDetail.bid_id, currPage, 0, error);

    render(billDetail, page);
  }
Example #2
0
  /** 还款情况 */
  public static void repaymentSituation(int currPage, long bidId) {

    if (0 == bidId) render();

    ErrorInfo error = new ErrorInfo();
    PageBean<v_bill_loan> pageBean = new PageBean<v_bill_loan>();
    pageBean.currPage = currPage;
    pageBean.page = Bill.queryMyLoanBills(pageBean, -1, bidId, error);

    render(pageBean);
  }