fix: 归档删除改为软删除

This commit is contained in:
2026-07-17 14:13:17 +08:00
parent 3131d2e141
commit f7328d670d
49 changed files with 520 additions and 354 deletions

View File

@@ -142,7 +142,7 @@ export class ArchiveController {
userId: req.user?.id,
username: req.user?.username,
module: '学生档案',
action: '删除报名记录',
action: '归档报名记录',
targetId: id,
targetType: 'student_enrollment',
ipAddress,
@@ -206,7 +206,7 @@ export class ArchiveController {
userId: req.user?.id,
username: req.user?.username,
module: '学生档案',
action: '删除考试成绩',
action: '归档考试成绩',
targetId: id,
targetType: 'exam_score',
ipAddress,
@@ -270,7 +270,7 @@ export class ArchiveController {
userId: req.user?.id,
username: req.user?.username,
module: '学生档案',
action: '删除学习记录',
action: '归档学习记录',
targetId: id,
targetType: 'learning_record',
ipAddress,
@@ -353,7 +353,7 @@ export class ArchiveController {
userId: req.user?.id,
username: req.user?.username,
module: '学生档案',
action: '删除附件',
action: '归档附件',
targetId: id,
targetType: 'archive_attachment',
ipAddress,