소스 검색

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

sunxbiao 1 년 전
부모
커밋
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
         // 普通订单