新增员工党员字段
This commit is contained in:
14
sql/ccdi_yes_no_flag_dict.sql
Normal file
14
sql/ccdi_yes_no_flag_dict.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
-- 是否标记字典初始化脚本
|
||||
|
||||
DELETE FROM sys_dict_data WHERE dict_type = 'ccdi_yes_no_flag';
|
||||
DELETE FROM sys_dict_type WHERE dict_type = 'ccdi_yes_no_flag';
|
||||
|
||||
INSERT INTO sys_dict_type (dict_name, dict_type, status, create_by, create_time, remark)
|
||||
VALUES ('是否标记', 'ccdi_yes_no_flag', '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, '是', '1', 'ccdi_yes_no_flag', '', 'primary', 'N', '0', 'admin', NOW(), '是'),
|
||||
(2, '否', '0', 'ccdi_yes_no_flag', '', 'danger', 'Y', '0', 'admin', NOW(), '否');
|
||||
|
||||
-- 执行完成后,请在字典管理中刷新缓存,确保模板下拉立即生效。
|
||||
Reference in New Issue
Block a user