Browse Source

Merge branch 'dongxiaoqin_0220'

dongxiaoqin 1 year ago
parent
commit
050fa5b16c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/common/command/AutomaticDispatch.php

+ 1 - 0
app/common/command/AutomaticDispatch.php

@@ -53,6 +53,7 @@ class AutomaticDispatch extends Command
         $fiveMinutesAgo = time() - 120; // 300 秒 = 2 分钟
         $fiveMinutesAgo = time() - 120; // 300 秒 = 2 分钟
         $list = ServiceWork::where('work_status',0)
         $list = ServiceWork::where('work_status',0)
             ->where('service_status',0)
             ->where('service_status',0)
+            ->where('refund_approval',0)
             ->where('work_pay_status',1)
             ->where('work_pay_status',1)
                     ->where(function ($query) use ($fiveMinutesAgo) {
                     ->where(function ($query) use ($fiveMinutesAgo) {
                         $query->where('exec_time', 0)->whereOr('exec_time', '<', $fiveMinutesAgo);
                         $query->where('exec_time', 0)->whereOr('exec_time', '<', $fiveMinutesAgo);