fix(账户余额): 修复非镜像平台每日余额读取 #1280

Merged
qiuxiang merged 1 commits from fix/qiuxiang-daily-balance-all-platforms into main 2026-11-19 17:20:37 +08:00

View File

@ -1512,7 +1512,7 @@ class StoreReceivingBalanceOverviewService
*
* @return iterable<int,array<string,mixed>>
*/
private function accountBillRows(string $platform, string $start, string $end, string $flow): iterable
private function accountBillRows(string $platform, string $start, string $end, ?string $flow): iterable
{
$query = AccountBill::query()
->where('company_id', company_id())