v2.2更新

This commit is contained in:
2026-05-28 15:38:32 +08:00
parent f84c9d3efb
commit ca53fdc349
38 changed files with 688 additions and 686 deletions

11
sql/upgrades/v2.2.sql Normal file
View File

@@ -0,0 +1,11 @@
-- ===========================================
-- 班级操行分管理系统 - v2.1 → v2.2 升级脚本
-- 字符集: utf8mb4
--
-- 说明: v2.2 为安全修复与功能增强版本,无数据库 schema 变更。
-- 主要变更:
-- 1. 修复管理员操作越权漏洞(加分/撤销/恢复操作增加权限校验)
-- 2. 新增宿舍集体加分功能(前端+后端)
-- 3. 学生导入支持宿舍号字段
-- 4. 导入预览表格显示宿舍号列
-- ===========================================