forked from wangziqi/gongxue-base
feat: refine admin forms, attendance and finance workflows
Squash merge PR #23. Included changes: - complete occupancy check-in required fields/default payload - improve responsive admin management pages - fix attendance edge cases and attendance period config - refine wallet/finance-related workflow handling Checks: - npm run typecheck -w apps/admin - npm run typecheck -w apps/server
This commit is contained in:
@@ -23,6 +23,17 @@ export class OperationLogsService {
|
||||
return this.repo.save(entry);
|
||||
}
|
||||
|
||||
async findLatestDingTalkAttendancePull() {
|
||||
return this.repo
|
||||
.createQueryBuilder('log')
|
||||
.where('log.module = :module', { module: '考勤管理' })
|
||||
.andWhere('log.action IN (:...actions)', {
|
||||
actions: ['拉取钉钉课程考勤', '查看已拉取课程考勤', '钉钉考勤导入', '刷新钉钉考勤'],
|
||||
})
|
||||
.orderBy('log.createdAt', 'DESC')
|
||||
.getOne();
|
||||
}
|
||||
|
||||
async findAll(query?: {
|
||||
module?: string;
|
||||
userId?: number;
|
||||
|
||||
Reference in New Issue
Block a user