feat: improve attendance scheduling and API validation
This commit is contained in:
@@ -110,9 +110,12 @@ export class AttendanceSettlementService {
|
||||
schedule.teacherId,
|
||||
schedule.classId,
|
||||
);
|
||||
const importRange = this.attendanceService.getLessonAttendanceImportDateRange(
|
||||
schedule,
|
||||
lessonDate,
|
||||
);
|
||||
const imported = await this.importService.importFromDingTalk({
|
||||
startDate: lessonDate,
|
||||
endDate: this.isOvernight(schedule) ? this.shiftDate(lessonDate, 1) : lessonDate,
|
||||
...importRange,
|
||||
userIds,
|
||||
autoMatch: true,
|
||||
userId: schedule.teacherId,
|
||||
|
||||
Reference in New Issue
Block a user