feat: expand student archive import template

This commit is contained in:
2026-07-21 15:11:52 +08:00
parent a585fd42d5
commit 90cc0c10b2
13 changed files with 1103 additions and 385 deletions

View File

@@ -58,7 +58,10 @@ export class ArchiveService {
}
async getProfile(studentId: number) {
const student = await this.studentRepo.findOne({ where: { id: studentId } });
const student = await this.studentRepo.findOne({
where: { id: studentId },
relations: ['organization'],
});
if (!student) throw new NotFoundException('学生不存在');
const [