Add files via upload

This commit is contained in:
2025-07-17 21:17:50 +08:00
committed by GitHub
parent ecdc668ae3
commit 4e240c6dc9
25 changed files with 1313 additions and 200 deletions
+9
View File
@@ -182,6 +182,9 @@ void addStudent()
dataModified = true;
statsNeedUpdate = true;
// 使统计缓存无效
invalidateCache();
// 显示添加成功信息
displayAddedStudentInfo(&newStudent);
@@ -242,6 +245,9 @@ void deleteStudent()
dataModified = true;
statsNeedUpdate = true;
// 使统计缓存无效
invalidateCache();
printSuccess("学生信息删除成功!");
}
@@ -449,6 +455,9 @@ static void handleStudentModification(Student *student)
dataModified = true;
statsNeedUpdate = true;
// 使统计缓存无效
invalidateCache();
printSuccess("学生信息修改成功!");
}