xialei 1 rok temu
rodzic
commit
f4712de2b8
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      app/command/HuafeiOrderIndependentAccount.php

+ 2 - 2
app/command/HuafeiOrderIndependentAccount.php

@@ -53,7 +53,7 @@ class HuafeiOrderIndependentAccount extends Command
53 53
         // 订单状态(0:待发货;1:待收货;2:待评价;3:已完成;4已申请退款;-1:已退款)5未支付 6已取消'
54 54
         $status = [2];
55 55
         // 普通订单
56
-        $cursor = Db::table('rrx_store_order')->where('is_independentaccount', 0)->whereIn('status', $status)->cursor();
56
+        $cursor = Db::table('rrx_order_huafei')->where('is_independentaccount', 0)->whereIn('status', $status)->cursor();
57 57
 
58 58
         /** @var StoreOrderRepository $storeOrderRepository */
59 59
         $storeOrderRepository = app()->make(StoreOrderRepository::class);
@@ -78,7 +78,7 @@ class HuafeiOrderIndependentAccount extends Command
78 78
 
79 79
                 if ($isSuccessed) {
80 80
                     Db::name("log")->insert(array('data' => '话费-订单分账:' . json_encode($value, JSON_FORCE_OBJECT)));//日志记录
81
-                    Db::table('rrx_store_order')->where('order_sn', $value['order_sn'])->update(['is_independentaccount' => 1]);
81
+                    Db::table('rrx_order_huafei')->where('order_sn', $value['order_sn'])->update(['is_independentaccount' => 1]);
82 82
                 }
83 83
             }
84 84
         }