提交代码

This commit is contained in:
zlwu committed 2025-08-20 00:17:33 +08:00
1 parent 8f8257ec2e
commit 603858b53b
35 files changed
+3576 -26

No files matched your search

@@ -0,0 +1,24 @@
-- =====================================================
-- 学生奖励记录字典数据
-- 创建时间: 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
(1010, '学生奖励记录状态', 'student_reward_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
(10030, 1, '生效', '1', 'student_reward_status', '', 'success', 'Y', '0', 1, NOW(), NULL, NULL, '奖励记录生效'),
(10031, 2, '撤销', '2', 'student_reward_status', '', 'info', 'N', '0', 1, NOW(), NULL, NULL, '奖励记录已撤销');
-- 2. 奖励类型示例数据
INSERT INTO `xskh_reward_type` (`id`, `type_code`, `type_name`, `description`, `status`, `sort_order`, `create_by`, `create_time`, `create_dept`, `update_by`, `update_time`, `deleted`, `tenant_id`) VALUES
(1001, 'ACADEMIC_EXCELLENCE', '学术优秀奖', '在学术方面表现优秀的学生', '0', 1, 1, NOW(), 103, NULL, NULL, 0, '000000'),
(1002, 'SPORTS_ACHIEVEMENT', '体育成就奖', '在体育方面取得突出成就的学生', '0', 2, 1, NOW(), 103, NULL, NULL, 0, '000000'),
(1003, 'ARTISTIC_TALENT', '艺术才能奖', '在艺术方面有特殊才能的学生', '0', 3, 1, NOW(), 103, NULL, NULL, 0, '000000'),
(1004, 'LEADERSHIP', '领导能力奖', '在学生工作中表现突出的学生', '0', 4, 1, NOW(), 103, NULL, NULL, 0, '000000'),
(1005, 'VOLUNTEER_SERVICE', '志愿服务奖', '在志愿服务中表现积极的学生', '0', 5, 1, NOW(), 103, NULL, NULL, 0, '000000'),
(1006, 'INNOVATION', '创新实践奖', '在创新实践方面有突出表现的学生', '0', 6, 1, NOW(), 103, NULL, NULL, 0, '000000'),
(1007, 'MORAL_EXCELLENCE', '品德优秀奖', '在品德方面表现优秀的学生', '0', 7, 1, NOW(), 103, NULL, NULL, 0, '000000'),
(1008, 'PROGRESS', '进步奖', '在学习或品德方面有明显进步的学生', '0', 8, 1, NOW(), 103, NULL, NULL, 0, '000000');
@@ -129,6 +129,7 @@ CREATE TABLE `xskh_reward_record` (
`reward_date` date NOT NULL COMMENT '奖励日期',
`reward_content` varchar(500) NOT NULL COMMENT '奖励内容',
`score_addition` decimal(5,2) DEFAULT 0.00 COMMENT '加分分值',
`attachment_oss_ids` varchar(1000) DEFAULT NULL COMMENT '附件OSS文件ID,多个用逗号分隔(申请材料、证明文件等)',
`status` char(1) DEFAULT '1' COMMENT '状态(1-生效 2-撤销)',
`create_by` bigint(20) DEFAULT NULL COMMENT '创建者',
`create_time` datetime DEFAULT NULL COMMENT '创建时间',