Files
hzdyjs/docs/设计文档/database/学工管理-学生信息管理/xg-student-management-dict.sql
T
2025-07-19 10:18:27 +08:00

258 lines
22 KiB
SQL

-- ==========================================
-- 学生信息管理模块字典数据脚本
-- 版本:V2.0.0
-- 创建时间:2025-01-14
-- 说明:为学生信息管理模块创建完整的字典数据
-- ==========================================
SET NAMES utf8mb4;
-- ===========================================
-- 1. 性别字典
-- ===========================================
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_by`, `create_time`, `remark`) VALUES
(2001, '000000', '性别', 'sys_user_sex', 1, NOW(), '用户性别列表');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_by`, `create_time`, `remark`) VALUES
(20011, '000000', 1, '男', 'M', 'sys_user_sex', '', '', 'Y', 1, NOW(), '男性'),
(20012, '000000', 2, '女', 'F', 'sys_user_sex', '', '', 'N', 1, NOW(), '女性');
-- ===========================================
-- 2. 学籍状态字典
-- ===========================================
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_by`, `create_time`, `remark`) VALUES
(2002, '000000', '学籍状态', 'xg_student_status', 1, NOW(), '学生学籍状态');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_by`, `create_time`, `remark`) VALUES
(20021, '000000', 1, '在籍', '1', 'xg_student_status', '', 'primary', 'Y', 1, NOW(), '正常在籍状态'),
(20022, '000000', 2, '休学', '2', 'xg_student_status', '', 'warning', 'N', 1, NOW(), '休学状态'),
(20023, '000000', 3, '复学', '3', 'xg_student_status', '', 'info', 'N', 1, NOW(), '复学状态'),
(20024, '000000', 4, '退学', '4', 'xg_student_status', '', 'danger', 'N', 1, NOW(), '退学状态'),
(20025, '000000', 5, '毕业', '5', 'xg_student_status', '', 'success', 'N', 1, NOW(), '毕业状态');
-- ===========================================
-- 3. 信息状态字典
-- ===========================================
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_by`, `create_time`, `remark`) VALUES
(2003, '000000', '信息状态', 'xg_info_status', 1, NOW(), '学生信息状态');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_by`, `create_time`, `remark`) VALUES
(20031, '000000', 1, '正常', '1', 'xg_info_status', '', 'primary', 'Y', 1, NOW(), '信息正常状态'),
(20032, '000000', 2, '待审核', '2', 'xg_info_status', '', 'warning', 'N', 1, NOW(), '待审核状态'),
(20033, '000000', 3, '审核中', '3', 'xg_info_status', '', 'info', 'N', 1, NOW(), '审核中状态'),
(20034, '000000', 4, '已驳回', '4', 'xg_info_status', '', 'danger', 'N', 1, NOW(), '审核驳回状态'),
(20035, '000000', 5, '已锁定', '5', 'xg_info_status', '', 'default', 'N', 1, NOW(), '信息锁定状态');
-- ===========================================
-- 4. 政治面貌字典
-- ===========================================
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_by`, `create_time`, `remark`) VALUES
(2004, '000000', '政治面貌', 'xg_political_status', 1, NOW(), '政治面貌类型');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_by`, `create_time`, `remark`) VALUES
(20041, '000000', 1, '中共党员', '中共党员', 'xg_political_status', '', 'primary', 'N', 1, NOW(), '中国共产党党员'),
(20042, '000000', 2, '中共预备党员', '中共预备党员', 'xg_political_status', '', 'info', 'N', 1, NOW(), '中国共产党预备党员'),
(20043, '000000', 3, '共青团员', '共青团员', 'xg_political_status', '', 'success', 'Y', 1, NOW(), '中国共产主义青年团团员'),
(20044, '000000', 4, '民革党员', '民革党员', 'xg_political_status', '', 'default', 'N', 1, NOW(), '中国国民党革命委员会党员'),
(20045, '000000', 5, '民盟盟员', '民盟盟员', 'xg_political_status', '', 'default', 'N', 1, NOW(), '中国民主同盟盟员'),
(20046, '000000', 6, '民建会员', '民建会员', 'xg_political_status', '', 'default', 'N', 1, NOW(), '中国民主建国会会员'),
(20047, '000000', 7, '民进会员', '民进会员', 'xg_political_status', '', 'default', 'N', 1, NOW(), '中国民主促进会会员'),
(20048, '000000', 8, '农工党党员', '农工党党员', 'xg_political_status', '', 'default', 'N', 1, NOW(), '中国农工民主党党员'),
(20049, '000000', 9, '致公党党员', '致公党党员', 'xg_political_status', '', 'default', 'N', 1, NOW(), '中国致公党党员'),
(20050, '000000', 10, '九三学社社员', '九三学社社员', 'xg_political_status', '', 'default', 'N', 1, NOW(), '九三学社社员'),
(20051, '000000', 11, '台盟盟员', '台盟盟员', 'xg_political_status', '', 'default', 'N', 1, NOW(), '台湾民主自治同盟盟员'),
(20052, '000000', 12, '无党派人士', '无党派人士', 'xg_political_status', '', 'default', 'N', 1, NOW(), '无党派人士'),
(20053, '000000', 13, '群众', '群众', 'xg_political_status', '', 'default', 'N', 1, NOW(), '群众');
-- ===========================================
-- 5. 民族字典
-- ===========================================
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_by`, `create_time`, `remark`) VALUES
(2005, '000000', '民族', 'xg_nation', 1, NOW(), '中华民族分类');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_by`, `create_time`, `remark`) VALUES
(20051, '000000', 1, '汉族', '汉族', 'xg_nation', '', 'primary', 'Y', 1, NOW(), '汉族'),
(20052, '000000', 2, '蒙古族', '蒙古族', 'xg_nation', '', 'default', 'N', 1, NOW(), '蒙古族'),
(20053, '000000', 3, '回族', '回族', 'xg_nation', '', 'default', 'N', 1, NOW(), '回族'),
(20054, '000000', 4, '藏族', '藏族', 'xg_nation', '', 'default', 'N', 1, NOW(), '藏族'),
(20055, '000000', 5, '维吾尔族', '维吾尔族', 'xg_nation', '', 'default', 'N', 1, NOW(), '维吾尔族'),
(20056, '000000', 6, '苗族', '苗族', 'xg_nation', '', 'default', 'N', 1, NOW(), '苗族'),
(20057, '000000', 7, '彝族', '彝族', 'xg_nation', '', 'default', 'N', 1, NOW(), '彝族'),
(20058, '000000', 8, '壮族', '壮族', 'xg_nation', '', 'default', 'N', 1, NOW(), '壮族'),
(20059, '000000', 9, '布依族', '布依族', 'xg_nation', '', 'default', 'N', 1, NOW(), '布依族'),
(20060, '000000', 10, '朝鲜族', '朝鲜族', 'xg_nation', '', 'default', 'N', 1, NOW(), '朝鲜族'),
(20061, '000000', 11, '满族', '满族', 'xg_nation', '', 'default', 'N', 1, NOW(), '满族'),
(20062, '000000', 12, '侗族', '侗族', 'xg_nation', '', 'default', 'N', 1, NOW(), '侗族'),
(20063, '000000', 13, '瑶族', '瑶族', 'xg_nation', '', 'default', 'N', 1, NOW(), '瑶族'),
(20064, '000000', 14, '白族', '白族', 'xg_nation', '', 'default', 'N', 1, NOW(), '白族'),
(20065, '000000', 15, '土家族', '土家族', 'xg_nation', '', 'default', 'N', 1, NOW(), '土家族'),
(20066, '000000', 16, '哈尼族', '哈尼族', 'xg_nation', '', 'default', 'N', 1, NOW(), '哈尼族'),
(20067, '000000', 17, '哈萨克族', '哈萨克族', 'xg_nation', '', 'default', 'N', 1, NOW(), '哈萨克族'),
(20068, '000000', 18, '傣族', '傣族', 'xg_nation', '', 'default', 'N', 1, NOW(), '傣族'),
(20069, '000000', 19, '黎族', '黎族', 'xg_nation', '', 'default', 'N', 1, NOW(), '黎族'),
(20070, '000000', 20, '傈僳族', '傈僳族', 'xg_nation', '', 'default', 'N', 1, NOW(), '傈僳族'),
(20071, '000000', 21, '佤族', '佤族', 'xg_nation', '', 'default', 'N', 1, NOW(), '佤族'),
(20072, '000000', 22, '畲族', '畲族', 'xg_nation', '', 'default', 'N', 1, NOW(), '畲族'),
(20073, '000000', 23, '高山族', '高山族', 'xg_nation', '', 'default', 'N', 1, NOW(), '高山族'),
(20074, '000000', 24, '拉祜族', '拉祜族', 'xg_nation', '', 'default', 'N', 1, NOW(), '拉祜族'),
(20075, '000000', 25, '水族', '水族', 'xg_nation', '', 'default', 'N', 1, NOW(), '水族'),
(20076, '000000', 26, '东乡族', '东乡族', 'xg_nation', '', 'default', 'N', 1, NOW(), '东乡族'),
(20077, '000000', 27, '纳西族', '纳西族', 'xg_nation', '', 'default', 'N', 1, NOW(), '纳西族'),
(20078, '000000', 28, '景颇族', '景颇族', 'xg_nation', '', 'default', 'N', 1, NOW(), '景颇族'),
(20079, '000000', 29, '柯尔克孜族', '柯尔克孜族', 'xg_nation', '', 'default', 'N', 1, NOW(), '柯尔克孜族'),
(20080, '000000', 30, '土族', '土族', 'xg_nation', '', 'default', 'N', 1, NOW(), '土族'),
(20081, '000000', 31, '达斡尔族', '达斡尔族', 'xg_nation', '', 'default', 'N', 1, NOW(), '达斡尔族'),
(20082, '000000', 32, '仫佬族', '仫佬族', 'xg_nation', '', 'default', 'N', 1, NOW(), '仫佬族'),
(20083, '000000', 33, '羌族', '羌族', 'xg_nation', '', 'default', 'N', 1, NOW(), '羌族'),
(20084, '000000', 34, '布朗族', '布朗族', 'xg_nation', '', 'default', 'N', 1, NOW(), '布朗族'),
(20085, '000000', 35, '撒拉族', '撒拉族', 'xg_nation', '', 'default', 'N', 1, NOW(), '撒拉族'),
(20086, '000000', 36, '毛南族', '毛南族', 'xg_nation', '', 'default', 'N', 1, NOW(), '毛南族'),
(20087, '000000', 37, '仡佬族', '仡佬族', 'xg_nation', '', 'default', 'N', 1, NOW(), '仡佬族'),
(20088, '000000', 38, '锡伯族', '锡伯族', 'xg_nation', '', 'default', 'N', 1, NOW(), '锡伯族'),
(20089, '000000', 39, '阿昌族', '阿昌族', 'xg_nation', '', 'default', 'N', 1, NOW(), '阿昌族'),
(20090, '000000', 40, '普米族', '普米族', 'xg_nation', '', 'default', 'N', 1, NOW(), '普米族'),
(20091, '000000', 41, '塔吉克族', '塔吉克族', 'xg_nation', '', 'default', 'N', 1, NOW(), '塔吉克族'),
(20092, '000000', 42, '怒族', '怒族', 'xg_nation', '', 'default', 'N', 1, NOW(), '怒族'),
(20093, '000000', 43, '乌孜别克族', '乌孜别克族', 'xg_nation', '', 'default', 'N', 1, NOW(), '乌孜别克族'),
(20094, '000000', 44, '俄罗斯族', '俄罗斯族', 'xg_nation', '', 'default', 'N', 1, NOW(), '俄罗斯族'),
(20095, '000000', 45, '鄂温克族', '鄂温克族', 'xg_nation', '', 'default', 'N', 1, NOW(), '鄂温克族'),
(20096, '000000', 46, '德昂族', '德昂族', 'xg_nation', '', 'default', 'N', 1, NOW(), '德昂族'),
(20097, '000000', 47, '保安族', '保安族', 'xg_nation', '', 'default', 'N', 1, NOW(), '保安族'),
(20098, '000000', 48, '裕固族', '裕固族', 'xg_nation', '', 'default', 'N', 1, NOW(), '裕固族'),
(20099, '000000', 49, '京族', '京族', 'xg_nation', '', 'default', 'N', 1, NOW(), '京族'),
(20100, '000000', 50, '塔塔尔族', '塔塔尔族', 'xg_nation', '', 'default', 'N', 1, NOW(), '塔塔尔族'),
(20101, '000000', 51, '独龙族', '独龙族', 'xg_nation', '', 'default', 'N', 1, NOW(), '独龙族'),
(20102, '000000', 52, '鄂伦春族', '鄂伦春族', 'xg_nation', '', 'default', 'N', 1, NOW(), '鄂伦春族'),
(20103, '000000', 53, '赫哲族', '赫哲族', 'xg_nation', '', 'default', 'N', 1, NOW(), '赫哲族'),
(20104, '000000', 54, '门巴族', '门巴族', 'xg_nation', '', 'default', 'N', 1, NOW(), '门巴族'),
(20105, '000000', 55, '珞巴族', '珞巴族', 'xg_nation', '', 'default', 'N', 1, NOW(), '珞巴族'),
(20106, '000000', 56, '基诺族', '基诺族', 'xg_nation', '', 'default', 'N', 1, NOW(), '基诺族');
-- ===========================================
-- 6. 血型字典
-- ===========================================
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_by`, `create_time`, `remark`) VALUES
(2006, '000000', '血型', 'xg_blood_type', 1, NOW(), '血型分类');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_by`, `create_time`, `remark`) VALUES
(20061, '000000', 1, 'A型', 'A', 'xg_blood_type', '', 'primary', 'N', 1, NOW(), 'A型血'),
(20062, '000000', 2, 'B型', 'B', 'xg_blood_type', '', 'success', 'N', 1, NOW(), 'B型血'),
(20063, '000000', 3, 'AB型', 'AB', 'xg_blood_type', '', 'info', 'N', 1, NOW(), 'AB型血'),
(20064, '000000', 4, 'O型', 'O', 'xg_blood_type', '', 'warning', 'N', 1, NOW(), 'O型血'),
(20065, '000000', 5, '未知', '未知', 'xg_blood_type', '', 'default', 'Y', 1, NOW(), '血型未知');
-- ===========================================
-- 7. 培养方式字典
-- ===========================================
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_by`, `create_time`, `remark`) VALUES
(2007, '000000', '培养方式', 'xg_training_type', 1, NOW(), '学生培养方式');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_by`, `create_time`, `remark`) VALUES
(20071, '000000', 1, '全日制', '全日制', 'xg_training_type', '', 'primary', 'Y', 1, NOW(), '全日制培养'),
(20072, '000000', 2, '在职', '在职', 'xg_training_type', '', 'info', 'N', 1, NOW(), '在职培养'),
(20073, '000000', 3, '函授', '函授', 'xg_training_type', '', 'warning', 'N', 1, NOW(), '函授培养'),
(20074, '000000', 4, '夜大', '夜大', 'xg_training_type', '', 'default', 'N', 1, NOW(), '夜大培养'),
(20075, '000000', 5, '自考', '自考', 'xg_training_type', '', 'success', 'N', 1, NOW(), '自考培养'),
(20076, '000000', 6, '网络教育', '网络教育', 'xg_training_type', '', 'info', 'N', 1, NOW(), '网络教育培养');
-- ===========================================
-- 8. 班级职务字典
-- ===========================================
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_by`, `create_time`, `remark`) VALUES
(2008, '000000', '班级职务', 'xg_class_position', 1, NOW(), '班级职务类型');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_by`, `create_time`, `remark`) VALUES
(20081, '000000', 1, '班长', 'monitor', 'xg_class_position', '', 'primary', 'N', 1, NOW(), '班级班长'),
(20082, '000000', 2, '副班长', 'deputy', 'xg_class_position', '', 'info', 'N', 1, NOW(), '班级副班长'),
(20083, '000000', 3, '学习委员', 'secretary', 'xg_class_position', '', 'success', 'N', 1, NOW(), '学习委员'),
(20084, '000000', 4, '组织委员', 'organizer', 'xg_class_position', '', 'warning', 'N', 1, NOW(), '组织委员'),
(20085, '000000', 5, '宣传委员', 'publicity', 'xg_class_position', '', 'info', 'N', 1, NOW(), '宣传委员'),
(20086, '000000', 6, '体育委员', 'sports', 'xg_class_position', '', 'success', 'N', 1, NOW(), '体育委员'),
(20087, '000000', 7, '生活委员', 'life', 'xg_class_position', '', 'warning', 'N', 1, NOW(), '生活委员'),
(20088, '000000', 8, '心理委员', 'psychology', 'xg_class_position', '', 'info', 'N', 1, NOW(), '心理委员'),
(20089, '000000', 9, '普通成员', 'member', 'xg_class_position', '', 'default', 'Y', 1, NOW(), '普通班级成员');
-- ===========================================
-- 9. 批次状态字典
-- ===========================================
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_by`, `create_time`, `remark`) VALUES
(2009, '000000', '批次状态', 'xg_batch_status', 1, NOW(), '信息采集批次状态');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_by`, `create_time`, `remark`) VALUES
(20091, '000000', 1, '草稿', '1', 'xg_batch_status', '', 'default', 'Y', 1, NOW(), '批次草稿状态'),
(20092, '000000', 2, '已发布', '2', 'xg_batch_status', '', 'primary', 'N', 1, NOW(), '批次发布状态'),
(20093, '000000', 3, '进行中', '3', 'xg_batch_status', '', 'warning', 'N', 1, NOW(), '批次进行中状态'),
(20094, '000000', 4, '已结束', '4', 'xg_batch_status', '', 'success', 'N', 1, NOW(), '批次结束状态'),
(20095, '000000', 5, '已归档', '5', 'xg_batch_status', '', 'info', 'N', 1, NOW(), '批次归档状态');
-- ===========================================
-- 10. 审核结果字典
-- ===========================================
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_by`, `create_time`, `remark`) VALUES
(2010, '000000', '审核结果', 'xg_audit_result', 1, NOW(), '审核结果状态');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_by`, `create_time`, `remark`) VALUES
(20101, '000000', 1, '通过', '1', 'xg_audit_result', '', 'success', 'N', 1, NOW(), '审核通过'),
(20102, '000000', 2, '驳回', '2', 'xg_audit_result', '', 'danger', 'N', 1, NOW(), '审核驳回'),
(20103, '000000', 3, '退回', '3', 'xg_audit_result', '', 'warning', 'N', 1, NOW(), '审核退回');
-- ===========================================
-- 11. 家庭经济状况字典
-- ===========================================
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_by`, `create_time`, `remark`) VALUES
(2011, '000000', '家庭经济状况', 'xg_family_economic_status', 1, NOW(), '家庭经济状况分类');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_by`, `create_time`, `remark`) VALUES
(20111, '000000', 1, '富裕', '富裕', 'xg_family_economic_status', '', 'success', 'N', 1, NOW(), '家庭经济富裕'),
(20112, '000000', 2, '一般', '一般', 'xg_family_economic_status', '', 'primary', 'Y', 1, NOW(), '家庭经济一般'),
(20113, '000000', 3, '困难', '困难', 'xg_family_economic_status', '', 'warning', 'N', 1, NOW(), '家庭经济困难'),
(20114, '000000', 4, '特困', '特困', 'xg_family_economic_status', '', 'danger', 'N', 1, NOW(), '家庭经济特别困难');
-- ===========================================
-- 12. 户口类型字典
-- ===========================================
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_by`, `create_time`, `remark`) VALUES
(2012, '000000', '户口类型', 'xg_household_type', 1, NOW(), '户口性质分类');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_by`, `create_time`, `remark`) VALUES
(20121, '000000', 1, '农业', '农业', 'xg_household_type', '', 'success', 'N', 1, NOW(), '农业户口'),
(20122, '000000', 2, '非农业', '非农业', 'xg_household_type', '', 'primary', 'Y', 1, NOW(), '非农业户口');
-- ===========================================
-- 13. 婚姻状况字典
-- ===========================================
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_by`, `create_time`, `remark`) VALUES
(2013, '000000', '婚姻状况', 'xg_marital_status', 1, NOW(), '婚姻状况分类');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_by`, `create_time`, `remark`) VALUES
(20131, '000000', 1, '未婚', '未婚', 'xg_marital_status', '', 'primary', 'Y', 1, NOW(), '未婚'),
(20132, '000000', 2, '已婚', '已婚', 'xg_marital_status', '', 'success', 'N', 1, NOW(), '已婚'),
(20133, '000000', 3, '离异', '离异', 'xg_marital_status', '', 'warning', 'N', 1, NOW(), '离异'),
(20134, '000000', 4, '丧偶', '丧偶', 'xg_marital_status', '', 'info', 'N', 1, NOW(), '丧偶');
-- ===========================================
-- 14. 数据来源字典
-- ===========================================
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_by`, `create_time`, `remark`) VALUES
(2014, '000000', '数据来源', 'xg_data_source', 1, NOW(), '学生信息数据来源');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_by`, `create_time`, `remark`) VALUES
(20141, '000000', 1, '手工录入', 'manual', 'xg_data_source', '', 'primary', 'Y', 1, NOW(), '手工录入数据'),
(20142, '000000', 2, '批量导入', 'import', 'xg_data_source', '', 'info', 'N', 1, NOW(), '批量导入数据'),
(20143, '000000', 3, '系统同步', 'sync', 'xg_data_source', '', 'success', 'N', 1, NOW(), '系统同步数据'),
(20144, '000000', 4, '接口导入', 'api', 'xg_data_source', '', 'warning', 'N', 1, NOW(), 'API接口导入数据');
-- ===========================================
-- 15. 健康状况字典
-- ===========================================
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_by`, `create_time`, `remark`) VALUES
(2015, '000000', '健康状况', 'xg_health_status', 1, NOW(), '学生健康状况');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_by`, `create_time`, `remark`) VALUES
(20151, '000000', 1, '健康', '健康', 'xg_health_status', '', 'success', 'Y', 1, NOW(), '身体健康'),
(20152, '000000', 2, '一般', '一般', 'xg_health_status', '', 'primary', 'N', 1, NOW(), '健康状况一般'),
(20153, '000000', 3, '较差', '较差', 'xg_health_status', '', 'warning', 'N', 1, NOW(), '健康状况较差'),
(20154, '000000', 4, '残疾', '残疾', 'xg_health_status', '', 'danger', 'N', 1, NOW(), '身体残疾');
SELECT 'XG学生信息管理模块字典数据创建完成!' as message;
SELECT '共创建15个字典类型,156个字典数据项' as summary;