Files
hzdyjs/docs/设计文档/database/学生考核管理/学生考核管理字典数据.sql
T
2025-08-18 22:05:52 +08:00

74 lines
6.7 KiB
SQL

-- =====================================================
-- 学生考核管理字典数据
-- 创建时间: 2025-01-03
-- 描述: 学生考核管理相关字典数据
-- =====================================================
-- 1. 违纪处分类型分类字典
INSERT INTO `sys_dict_type` (`id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
(1001, '违纪处分类型分类', 'student_discipline_category', '0', 1, NOW(), NULL, NULL, '学生违纪处分类型分类');
INSERT INTO `sys_dict_data` (`id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
(10001, 1, '违纪类型', '1', 'student_discipline_category', '', 'primary', 'Y', '0', 1, NOW(), NULL, NULL, '违纪类型'),
(10002, 2, '处分类型', '2', 'student_discipline_category', '', 'warning', 'N', '0', 1, NOW(), NULL, NULL, '处分类型');
-- 2. 违纪处分记录状态字典
INSERT INTO `sys_dict_type` (`id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
(1002, '违纪处分记录状态', 'student_discipline_status', '0', 1, NOW(), NULL, NULL, '学生违纪处分记录状态');
INSERT INTO `sys_dict_data` (`id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
(10003, 1, '生效', '1', 'student_discipline_status', '', 'success', 'Y', '0', 1, NOW(), NULL, NULL, '违纪处分记录生效'),
(10005, 2, '已撤销', '2', 'student_discipline_status', '', 'info', 'N', '0', 1, NOW(), NULL, NULL, '违纪处分记录已撤销');
-- 3. 撤销申请状态字典
INSERT INTO `sys_dict_type` (`id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
(1003, '撤销申请状态', 'student_revoke_status', '0', 1, NOW(), NULL, NULL, '违纪处分撤销申请状态');
INSERT INTO `sys_dict_data` (`id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
(10006, 1, '待审核', '1', 'student_revoke_status', '', 'warning', 'Y', '0', 1, NOW(), NULL, NULL, '撤销申请待审核'),
(10007, 2, '审核通过', '2', 'student_revoke_status', '', 'success', 'N', '0', 1, NOW(), NULL, NULL, '撤销申请审核通过'),
(10008, 3, '审核拒绝', '3', 'student_revoke_status', '', 'danger', 'N', '0', 1, NOW(), NULL, NULL, '撤销申请审核拒绝');
-- 5. 考核计划状态字典
INSERT INTO `sys_dict_type` (`id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
(1005, '考核计划状态', 'student_schedule_status', '0', 1, NOW(), NULL, NULL, '学生考核计划状态');
INSERT INTO `sys_dict_data` (`id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
(10014, 1, '未开始', '1', 'student_schedule_status', '', 'info', 'Y', '0', 1, NOW(), NULL, NULL, '考核计划未开始'),
(10015, 2, '进行中', '2', 'student_schedule_status', '', 'success', 'N', '0', 1, NOW(), NULL, NULL, '考核计划进行中'),
(10016, 3, '已结束', '3', 'student_schedule_status', '', 'warning', 'N', '0', 1, NOW(), NULL, NULL, '考核计划已结束');
-- 6. 考核申请状态字典
INSERT INTO `sys_dict_type` (`id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
(1006, '考核申请状态', 'student_assessment_status', '0', 1, NOW(), NULL, NULL, '学生考核申请状态');
INSERT INTO `sys_dict_data` (`id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
(10017, 1, '草稿', '1', 'student_assessment_status', '', 'info', 'Y', '0', 1, NOW(), NULL, NULL, '考核申请草稿'),
(10018, 2, '已提交', '2', 'student_assessment_status', '', 'primary', 'N', '0', 1, NOW(), NULL, NULL, '考核申请已提交'),
(10019, 3, '班主任审核', '3', 'student_assessment_status', '', 'warning', 'N', '0', 1, NOW(), NULL, NULL, '班主任审核中'),
(10022, 6, '已完成', '6', 'student_assessment_status', '', 'success', 'N', '0', 1, NOW(), NULL, NULL, '考核申请已完成');
-- 7. 附加分审核状态字典
INSERT INTO `sys_dict_type` (`id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
(1007, '附加分审核状态', 'student_bonus_status', '0', 1, NOW(), NULL, NULL, '学生考核附加分审核状态');
INSERT INTO `sys_dict_data` (`id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
(10023, 1, '待审核', '1', 'student_bonus_status', '', 'warning', 'Y', '0', 1, NOW(), NULL, NULL, '附加分待审核'),
(10024, 2, '审核通过', '2', 'student_bonus_status', '', 'success', 'N', '0', 1, NOW(), NULL, NULL, '附加分审核通过'),
(10025, 3, '审核拒绝', '3', 'student_bonus_status', '', 'danger', 'N', '0', 1, NOW(), NULL, NULL, '附加分审核拒绝');
-- 8. 学期字典
INSERT INTO `sys_dict_type` (`id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
(1008, '学期', 'student_semester', '0', 1, NOW(), NULL, NULL, '学期');
INSERT INTO `sys_dict_data` (`id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
(10026, 1, '第一学期', '1', 'student_semester', '', 'primary', 'Y', '0', 1, NOW(), NULL, NULL, '第一学期'),
(10027, 2, '第二学期', '2', 'student_semester', '', 'success', 'N', '0', 1, NOW(), NULL, NULL, '第二学期');
-- 9. 通用状态字典(启用/禁用)
INSERT INTO `sys_dict_type` (`id`, `dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
(1009, '通用状态', 'sys_msg_status', '0', 1, NOW(), NULL, NULL, '通用启用禁用状态');
INSERT INTO `sys_dict_data` (`id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES
(10028, 1, '启用', '0', 'sys_msg_status', '', 'success', 'Y', '0', 1, NOW(), NULL, NULL, '启用状态'),
(10029, 2, '禁用', '1', 'sys_msg_status', '', 'danger', 'N', '0', 1, NOW(), NULL, NULL, '禁用状态');