From 65bac0016b6107ff3d1ae08d7d36fcbcbb330439 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Mon, 20 Jul 2026 16:45:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=8A=B6=E6=80=81=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=E7=BD=AE=E5=88=99=E6=B8=85=E7=A9=BA=E8=BD=A6?= =?UTF-8?q?=E7=89=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/ParkingSpaceService.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Services/ParkingSpaceService.php b/app/Services/ParkingSpaceService.php index 6f8b61f..e38b491 100644 --- a/app/Services/ParkingSpaceService.php +++ b/app/Services/ParkingSpaceService.php @@ -640,6 +640,11 @@ class ParkingSpaceService extends BaseService 'status' => $status, 'updated_at' => date("Y-m-d H:i:s", time()) ]; + if (!$status) { + $update['license_plate_id'] = 0; + $update['berthing_time'] = null; + $update['recognition'] = ''; + } $model->update($update); $this->logService->logUpdated( $model,