sxwz2.0/db/alter_sys_role_permission_add_permission_name.sql
wangzhiwei 5f5c0759ce feat(notification): 实现通知功能,支持角色层级发送和课程群发
1. 修改 SysNotification 实体,新增 senderId, senderName, targetType 字段

2. 新增 SendNotificationRequest 请求DTO

3. 扩展通知类型至6种(新增用户通知、课程通知)

4. 实现角色层级权限控制,支持多级管理员通知下级

5. 支持老师群发课程通知给学生

6. 新增批量发送接口和权限配置
2026-05-15 16:57:07 +08:00

8 lines
316 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 给 sys_role_permission 表添加 permission_name 字段
-- 创建时间2026-05-07
SET NAMES utf8mb4;
-- 检查字段是否存在,如果不存在则添加
ALTER TABLE `sys_role_permission`
ADD COLUMN IF NOT EXISTS `permission_name` VARCHAR(255) DEFAULT NULL COMMENT '权限名称' AFTER `permission_code`;