weizong song 5 months ago
parent 5886041d03
commit e11a977c79

@ -114,8 +114,8 @@ class FixOrderItemsPaidAt extends Command
continue;
}
// 计算在 service_date 23:59:59 时的客户余额
$balanceAtTime = $this->calculateCustomerBalanceAtTime($customerId, $serviceDateEnd, $item->id);
// 计算在 service_date 时的客户余额
$balanceAtTime = $this->calculateCustomerBalanceAtTime($customerId, $serviceDateStr, $item->id);
// 判断是否满足修复条件
if ($balanceAtTime >= $item->total) {

Loading…
Cancel
Save