diff --git a/app/Services/EventCalendarService.php b/app/Services/EventCalendarService.php index 5f83b96..ed827af 100644 --- a/app/Services/EventCalendarService.php +++ b/app/Services/EventCalendarService.php @@ -212,6 +212,15 @@ class EventCalendarService extends BaseService 'event_calendar.update' ); + // 切换回默认模式 + $pattern_id = EventCalendarService::getTargetModeId(); + if ($pattern_id) { + // 更新车位类型 + $this->syncUpdateSpaceType($pattern_id); + // 记录日志 + AdminNoticeService::addChangeModeNotice($pattern_id, $user_id); + } + DB::commit(); return true; } catch (Exception $e) {