|
|
@@ -144,9 +144,11 @@ class WorkOrderInformationChangeService extends WorkOrderService
|
|
|
'type' => '处理',
|
|
|
]);
|
|
|
$this->logService->createLog($detail, '处理', '承运商处理-'.$process_progress);
|
|
|
+
|
|
|
if($process_progress == '已签收'){
|
|
|
- $this->logService->createLog($detail, '完结', '承运商更改成功,自动终审');
|
|
|
- $this->review($detail,'更改成功','更改成功-自动终审');
|
|
|
+ $this->autoReview($detail,'更改成功','更改成功-自动终审');
|
|
|
+// $this->logService->createLog($detail, '完结', '承运商更改成功,自动终审');
|
|
|
+// $this->review($detail,'更改成功','更改成功-自动终审');
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -218,4 +220,16 @@ class WorkOrderInformationChangeService extends WorkOrderService
|
|
|
]);
|
|
|
$this->endOrderIssueAndSyncProcessLogs($detail);
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 自动终审
|
|
|
+ * @param WorkOrderDetail $detail
|
|
|
+ * @param $process_progress
|
|
|
+ * @param null $endContext
|
|
|
+ */
|
|
|
+ public function autoReview(WorkOrderDetail $detail, $process_progress,$endContext = null)
|
|
|
+ {
|
|
|
+ $this->logService->createLog($detail, '完结', '承运商更改成功,自动终审');
|
|
|
+ $this->review($detail, $process_progress,$endContext );
|
|
|
+ }
|
|
|
}
|