Browse Source

维修时间填写限制优化

master
wanghongjun 2 weeks ago
parent
commit
17afdd4ad3
  1. 2
      app/Services/ParkingSpaceService.php

2
app/Services/ParkingSpaceService.php

@ -400,7 +400,7 @@ class ParkingSpaceService extends BaseService
if (!$end_times) {
throw new CustomException(__validation('parking_repair_list.e_empty'));
}
if ($start_times > $end_times) {
if ($start_times >= $end_times) {
throw new CustomException(__validation('parking_repair_list.date_error'));
}
$start_time = get_datetime('datetime', $start_times);

Loading…
Cancel
Save