fix permissions and teacher attendance workflows
This commit is contained in:
@@ -101,8 +101,12 @@ export class SyncService {
|
||||
// ── 排班同步 ──
|
||||
|
||||
/** 将本地排课同步到钉钉考勤排班 */
|
||||
async syncScheduleToDingTalk(dateFrom?: string, days = 30) {
|
||||
return this.scheduleSyncService.syncAll(dateFrom, days);
|
||||
async syncScheduleToDingTalk(
|
||||
dateFrom?: string,
|
||||
days = 30,
|
||||
attendanceMachineOnly = false,
|
||||
) {
|
||||
return this.scheduleSyncService.syncAll(dateFrom, days, 'manager', attendanceMachineOnly);
|
||||
}
|
||||
|
||||
/** 获取排班同步状态(当前仅返回活跃排课统计) */
|
||||
|
||||
Reference in New Issue
Block a user