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