cqp 3 days ago
parent
commit
d1d29a069e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/Service/ScrappService.php

+ 2 - 2
app/Service/ScrappService.php

@@ -611,14 +611,14 @@ class ScrappService extends Service
         $process_id = $map[$role];
 
         if(in_array($role, [9,12,15,16,17])){
-            $type = 2;
+            $type = 1;
             $dispatch_no = DispatchSub::where('del_time',0)
                 ->where('order_product_id',$order['id'])
                 ->where('process_id', $process_id)
                 ->value('dispatch_no');
             list($status, $msg) = (new DispatchService())->dispatchOrderList(['dispatch_no' => $dispatch_no]);
         }else{
-            $type = 1;
+            $type = 2;
             $crt_time = DispatchSub::where('del_time',0)
                 ->where('order_product_id',$order['id'])
                 ->where('process_id', $process_id)