Browse Source

异常占用停放时长优化

master
wanghongjun 2 weeks ago
parent
commit
53c38932de
  1. 2
      app/Services/ParkingAbnormalService.php

2
app/Services/ParkingAbnormalService.php

@ -79,7 +79,7 @@ class ParkingAbnormalService extends BaseService
$item['license_plate'] = ParkingLicensePlate::getNumber(
$item['license_plate_id']
);
$item['duration'] = get_time_difference_str($item['enter_at']);
$item['duration'] = get_time_difference_str($item['enter_at'], $item['operation_at'] ?? '');
$typeArr = $this->getType();
$item['type'] = $typeArr[$item['type']];
$statusArr = $this->getStatus();

Loading…
Cancel
Save