Просмотр исходного кода

精彩生活区-分账规则-修改-取消必须结算完成才能分账,修改为订单状态已完成或待评价即可进行分账

sunxbiao 1 год назад
Родитель
Сommit
f979ac150c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/command/GreatLifeOrderIndependentAccount.php

+ 1 - 1
app/command/GreatLifeOrderIndependentAccount.php

@@ -42,7 +42,7 @@ class GreatLifeOrderIndependentAccount extends Command
42 42
         $merchants = [];
43 43
 
44 44
         // 已支付、未结算
45
-        $where = ['paid' => 1, 'is_independentaccount' => 0, 'is_del' => 0, 'is_system_del' => 0, 'is_settlement' => 1];
45
+        $where = ['paid' => 1, 'is_independentaccount' => 0, 'is_del' => 0, 'is_system_del' => 0];
46 46
         // 订单状态(0:待发货;1:待收货;2:待评价;3:已完成;4已申请退款;-1:已退款)5未支付 6已取消'
47 47
         $status = [2, 3];
48 48
         // 普通订单