feat: add attendance device SN classroom bindings

This commit is contained in:
2026-07-16 10:22:23 +08:00
parent d037787346
commit 559b8a56e9
16 changed files with 1323 additions and 23 deletions

View File

@@ -515,7 +515,7 @@ export class DingTalkService {
checkType?: string; timeResult?: string;
locationResult?: string; locationMethod?: string;
userAddress?: string; userLongitude?: number; userLatitude?: number;
deviceName?: string; deviceId?: string | number;
deviceName?: string; deviceId?: string | number; deviceSN?: string | number;
attendanceMachineName?: string; attendanceMachineId?: string | number;
}>;
};
@@ -535,7 +535,7 @@ export class DingTalkService {
checkType: r.checkType ?? '',
sourceType: r.sourceType ?? '',
deviceName: r.deviceName ?? r.attendanceMachineName,
deviceId: String(r.deviceId ?? r.attendanceMachineId ?? '') || undefined,
deviceId: String(r.deviceId ?? r.attendanceMachineId ?? r.deviceSN ?? '') || undefined,
}));
}