diff --git a/app/Services/DetectionService.php b/app/Services/DetectionService.php index c45fd0a..4cfe04e 100644 --- a/app/Services/DetectionService.php +++ b/app/Services/DetectionService.php @@ -492,7 +492,12 @@ class DetectionService extends BaseService return success(); } - return success($order_detection['detection_no']); + if ($order_detection['detection_status'] != 4 || $order_detection['detection_status'] != 5){ + // 检测完成-已取消 + return success($order_detection['detection_no']); + } + + return success(); } /**