feat: expand student archive import template
This commit is contained in:
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user