Merge branch 'master' of /mnt/git/v2.tiantianxinye.365care

master
songweizong 5 months ago
commit 489b35ed5d

@ -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