Forráskód Böngészése

【NEW】增加字典数据

zhaomn 2 éve
szülő
commit
d719043d2a
1 módosított fájl, 33 hozzáadás és 0 törlés
  1. 33 0
      sql/dict-2023.sql

+ 33 - 0
sql/dict-2023.sql

@@ -0,0 +1,33 @@
+
+INSERT INTO `sys_dict_type`(`dict_name`, `dict_type`, `status`, `create_by`, `create_time`)
+VALUES ('电力异常严重性', 'dlycyzx', '0', 'admin', now());
+INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `is_default`, `status`, `create_by`, `create_time`)
+VALUES (1, '一级', '1', 'dlycyzx', 'N', '0', 'admin', now());
+INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `is_default`, `status`, `create_by`, `create_time`)
+VALUES (2, '二级', '2', 'dlycyzx', 'N', '0', 'admin', now());
+INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `is_default`, `status`, `create_by`, `create_time`)
+VALUES (3, '三级', '3', 'dlycyzx', 'N', '0', 'admin', now());
+
+INSERT INTO `sys_dict_type`(`dict_name`, `dict_type`, `status`, `create_by`, `create_time`)
+VALUES ('电力异常所属工区', 'dlyc_sygq', '0', 'admin', now());
+INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `is_default`, `status`, `create_by`, `create_time`)
+VALUES (1, '长白山运行工区', '1', 'dlyc_sygq', 'N', '0', 'admin', now());
+INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `is_default`, `status`, `create_by`, `create_time`)
+VALUES (2, '长春运行工区', '2', 'dlyc_sygq', 'N', '0', 'admin', now());
+INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `is_default`, `status`, `create_by`, `create_time`)
+VALUES (3, '电力维修队', '3', 'dlyc_sygq', 'N', '0', 'admin', now());
+INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `is_default`, `status`, `create_by`, `create_time`)
+VALUES (4, '延吉西运行工区', '4', 'dlyc_sygq', 'N', '0', 'admin', now());
+INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `is_default`, `status`, `create_by`, `create_time`)
+VALUES (5, '吉林运行工区', '5', 'dlyc_sygq', 'N', '0', 'admin', now());
+INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `is_default`, `status`, `create_by`, `create_time`)
+VALUES (6, '铁岭西运行工区', '6', 'dlyc_sygq', 'N', '0', 'admin', now());
+INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `is_default`, `status`, `create_by`, `create_time`)
+VALUES (7, '四平东运行工区', '7', 'dlyc_sygq', 'N', '0', 'admin', now());
+INSERT INTO `sys_dict_data`(`dict_sort`, `dict_label`, `dict_value`, `dict_type`, `is_default`, `status`, `create_by`, `create_time`)
+VALUES (8, '德惠西运行工区', '8', 'dlyc_sygq', 'N', '0', 'admin', now());
+
+
+
+
+