소스 검색

Merge branch 'dongxiaoqin_0220'

dongxiaoqin 1 년 전
부모
커밋
050fa5b16c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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 分钟
         $list = ServiceWork::where('work_status',0)
             ->where('service_status',0)
+            ->where('refund_approval',0)
             ->where('work_pay_status',1)
                     ->where(function ($query) use ($fiveMinutesAgo) {
                         $query->where('exec_time', 0)->whereOr('exec_time', '<', $fiveMinutesAgo);