From 4bb1e72d7887b461520fc9eeed0a6bad325f6e74 Mon Sep 17 00:00:00 2001 From: wucongxing <815046773@qq.com> Date: Wed, 23 Aug 2023 09:11:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A3=80=E6=B5=8B=E4=B8=AD?= =?UTF-8?q?=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/DetectionService.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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(); } /**