中介黑名单更新

This commit is contained in:
wkc
2026-02-05 13:33:27 +08:00
parent 1af2677c05
commit 81d4038302
48 changed files with 2789 additions and 1312 deletions

View File

@@ -0,0 +1,36 @@
-- ============================================================
-- 中介黑名单关系类型字典补充脚本
-- 功能:为个人中介添加关系类型字典
-- 作者ruoyi
-- 日期2026-02-05
-- ============================================================
USE `discipline-prelim-check`;
-- ============================================================
-- 关系类型字典ccdi_relation_type
-- ============================================================
DELETE FROM sys_dict_data WHERE dict_type = 'ccdi_relation_type';
DELETE FROM sys_dict_type WHERE dict_type = 'ccdi_relation_type';
INSERT INTO sys_dict_type (dict_name, dict_type, status, create_by, create_time, remark)
VALUES ('关系类型', 'ccdi_relation_type', '0', 'admin', NOW(), '中介黑名单-人员关系类型');
INSERT INTO sys_dict_data (dict_sort, dict_label, dict_value, dict_type, css_class, list_class, is_default, status, create_by, create_time, remark)
VALUES
(1, '配偶', '配偶', 'ccdi_relation_type', '', 'default', 'N', '0', 'admin', NOW(), NULL),
(2, '父亲', '父亲', 'ccdi_relation_type', '', 'default', 'N', '0', 'admin', NOW(), NULL),
(3, '母亲', '母亲', 'ccdi_relation_type', '', 'default', 'N', '0', 'admin', NOW(), NULL),
(4, '子女', '子女', 'ccdi_relation_type', '', 'default', 'N', '0', 'admin', NOW(), NULL),
(5, '兄弟', '兄弟', 'ccdi_relation_type', '', 'default', 'N', '0', 'admin', NOW(), NULL),
(6, '姐妹', '姐妹', 'ccdi_relation_type', '', 'default', 'N', '0', 'admin', NOW(), NULL),
(7, '合伙人', '合伙人', 'ccdi_relation_type', '', 'default', 'N', '0', 'admin', NOW(), NULL),
(8, '同事', '同事', 'ccdi_relation_type', '', 'default', 'N', '0', 'admin', NOW(), NULL),
(9, '其他', '其他', 'ccdi_relation_type', '', 'default', 'N', '0', 'admin', NOW(), NULL);
-- ============================================================
-- 执行完成后操作说明
-- ============================================================
-- 1. 执行完成后,请通过系统管理 > 字典管理验证字典数据
-- 2. 重要:在字典类型页面点击"刷新缓存"按钮,确保字典数据加载到 Redis
-- 3. 验证字典缓存是否生效(可通过测试模板下载确认下拉框是否显示)