This commit is contained in:
2024-12-09 16:14:25 +08:00
parent 60d3418e4a
commit 38f091fa70
2 changed files with 3 additions and 2 deletions

View File

@@ -470,7 +470,8 @@ class LedgerForm extends BaseModel
$logProcess->updated_at = $time;
$logProcess->saveOrFail();
}
$platformDeliveryTotal = 0;
//增加快递记录
if($productOrder->trans_expenses > 0){
$platformDeliveryTotal = Ledger::find()->where(['order_id' => $this->order_id, 'user_type' => 2, 'order_type' => 1, 'fee_type' => 3])->sum('money'); // 该订单快递费用