forked from wangziqi/gongxue-base
fix: switch DingTalk attendance API from getcolumnval to listRecord
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user