public Pagination<Order> getOrderList(Pagination<Order> paging) { // 得到总记录数 paging.setTotal(orderManageMapper.getOrderListCount(paging)); // 得到结果集 paging.setResults(orderManageMapper.getOrderList(paging)); return paging; }
public Pagination<Refund> getRefundList(Pagination<Refund> paging) { // 得到总记录数 paging.setTotal(refundManageMapper.getRefundListCount(paging)); // 得到结果集 paging.setResults(refundManageMapper.getRefundList(paging)); return paging; }