fix: switch DingTalk attendance API from getcolumnval to listRecord

This commit is contained in:
2026-07-08 14:49:22 +08:00
parent 166d0b2694
commit f1959f0d2a
3 changed files with 70 additions and 19 deletions

View File

@@ -2,15 +2,17 @@ import { Module } from '@nestjs/common';
import { ScheduleModule } from '@nestjs/schedule';
import { TypeOrmModule } from '@nestjs/typeorm';
import { IntegrationModule } from '../integration/integration.module';
import { SyncLog, SyncState } from '../entities';
import { AttendanceModule } from '../attendance/attendance.module';
import { SyncLog, SyncState, UserDingMapping } from '../entities';
import { SyncService } from './sync.service';
import { SyncController } from './sync.controller';
@Module({
imports: [
ScheduleModule.forRoot(),
TypeOrmModule.forFeature([SyncLog, SyncState]),
TypeOrmModule.forFeature([SyncLog, SyncState, UserDingMapping]),
IntegrationModule,
AttendanceModule,
],
controllers: [SyncController],
providers: [SyncService],