31 lines
1019 B
PHP
31 lines
1019 B
PHP
<?php
|
|
|
|
namespace Modules\EcommerceFinance\Repositories;
|
|
|
|
/** 店铺收款账单·得物账户:页面统一读取聚胜算权威完整账单。 */
|
|
class StoreReceivingDewuBillMirrorRepository
|
|
{
|
|
public function __construct(
|
|
private readonly DewuSettlementBillRepository $source,
|
|
) {
|
|
}
|
|
|
|
/** @return array<string,mixed> */
|
|
public function paginate(array $filters, string $sort, string $direction, int $page, int $perPage): array
|
|
{
|
|
return $this->source->paginateAccountBills($filters, $sort, $direction, $page, $perPage);
|
|
}
|
|
|
|
/** @return iterable<int,array<string,mixed>> */
|
|
public function exportRows(array $filters, string $sort = 'occurred_at', string $direction = 'asc'): iterable
|
|
{
|
|
return $this->source->exportAccountBills($filters, $sort, $direction);
|
|
}
|
|
|
|
/** @return array{shops:array<int,string>,bill_items:array<int,string>} */
|
|
public function filterOptions(): array
|
|
{
|
|
return $this->source->accountBillFilterOptions();
|
|
}
|
|
}
|