Browse Source

优化2

master
wanghongjun 1 month ago
parent
commit
2879e681cc
  1. 4
      app/Services/ParkingSpaceService.php

4
app/Services/ParkingSpaceService.php

@ -248,6 +248,10 @@ class ParkingSpaceService extends BaseService
$update['berthing_time'] = get_datetime(); $update['berthing_time'] = get_datetime();
$update['recognition'] = 'high'; $update['recognition'] = 'high';
} }
} else if (!$status) {
$update['license_plate_id'] = 0;
$update['berthing_time'] = null;
$update['recognition'] = '';
} }
$model->update($update); $model->update($update);
$this->logService->logUpdated( $this->logService->logUpdated(

Loading…
Cancel
Save