import { Injectable } from '@nestjs/common';
import { SyncExecutionResult } from './business-trip-sync.service';
import { SyncLogger } from './sync-logger';

@Injectable()
export class TerminationSyncService {

  /**
   * 离职处理（预留）
   * 谨慎启用，需要确认公司是否有顾问等特殊情况
   */
  async sync(): Promise<SyncExecutionResult> {
    const logger = new SyncLogger('TerminationSyncService');
    logger.warn('离职同步功能已预留但未启用');
    return {
      success: true,
      processedCount: 0,
      errors: [],
      duration: 0,
      details: { message: '功能已预留但未启用' },
      logs: logger.getText(),
    };
  }
}
