Ver Fonte

工单创建生成对应 同步退回校验

loustwo há 4 anos atrás
pai
commit
31a5777e7c
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      app/Services/WorkOrderService.php

+ 2 - 0
app/Services/WorkOrderService.php

@@ -2,6 +2,7 @@
 
 namespace App\Services;
 
+use App\Jobs\SyncRejectedBillRejectingStatusJob;
 use App\OrderIssue;
 use App\OrderIssueProcessLog;
 use App\OrderIssueRejectedBill;
@@ -80,6 +81,7 @@ class WorkOrderService
         /** @var WorkOrder $workOrder */
         $workOrder = $this->createOrResetWorkOrder($order, $orderIssueType, $remark, $process_progress);
         $workOrder->notification();
+        SyncRejectedBillRejectingStatusJob::dispatch($workOrder->order);
         return $workOrder;
     }