whitefang 1 سال پیش
والد
کامیت
3e188dfdae
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      app/common/command/QueryRefund.php

+ 3 - 2
app/common/command/QueryRefund.php

@@ -210,10 +210,11 @@ class QueryRefund extends Command
                     $propertyHeadId = $propertyHeadInfo['id'];
                     // 出账记录 - 扣除
                     PropertySurplusLog::create([
-                        'in_out' => 3,
+                        'in_out' => 2,
                         'property_head_id' => $propertyHeadId,
                         'amount' => $property_commission['commission_amount'],
-                        'status' => 1
+                        'status' => 1,
+                        'remark'=> '用户已退款,分成金额已退回'
                     ]);
                     // 更新 物业负责人余额收益
                     PropertyHead::where(['id' => $propertyHeadId])->update([