Преглед изворни кода

前端录像类型字典数据sql提交

xujie пре 10 месеци
родитељ
комит
0641c4bafe
1 измењених фајлова са 14 додато и 11 уклоњено
  1. 14 11
      project_data/sql/1.0.11/soc/soc.sql

+ 14 - 11
project_data/sql/1.0.11/soc/soc.sql

@@ -373,17 +373,6 @@ UPDATE `iot_server_product` SET `display_name` = 'Hik' WHERE `id` = '19ed86f7-78
 UPDATE `iot_server_product` SET `display_name` = 'DaHua_V1' WHERE `id` = '783bb246-6ebe-7e69-e055-3a14adfe10c9';
 UPDATE `iot_server_product` SET `display_name` = 'DaHua' WHERE `id` = '92467897-92ef-647f-e55e-3a13b7f3ca9a';
 
-
-
-
-
-
-
-
-
-
-
-
 drop table if exists `sys_oper_log_history`;
 CREATE TABLE `sys_oper_log_history` (
                                         `oper_id` bigint NOT NULL AUTO_INCREMENT COMMENT '日志主键',
@@ -412,4 +401,18 @@ CREATE TABLE `sys_oper_log_history` (
                                         KEY `idx_sys_oper_log_history_s` (`status`) USING BTREE,
                                         KEY `idx_sys_oper_log_history_ot` (`oper_time`) USING BTREE
 ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC COMMENT='操作日志记录';
+
+-- 前端录像类型字典数据
+delete from `sys_dict_type` where dict_type='video_plan_type';
+INSERT INTO `sys_dict_type` (`dict_name`, `dict_type`, `status`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES ( '前端录像类型', 'video_plan_type', '0', '超级管理员', '2024-12-12 15:49:00', '', NULL, NULL);
+delete from `sys_dict_data` where dict_type='video_plan_type';
+INSERT INTO `sys_dict_data` (`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 (0, '全天定时录像', '0', 'video_plan_type', NULL, 'default', 'N', '0', '超级管理员', '2024-12-12 15:51:13', '', NULL, NULL);
+INSERT INTO `sys_dict_data` (`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 (1, '分时段定时录像', '1', 'video_plan_type', NULL, 'default', 'N', '0', '超级管理员', '2024-12-12 15:51:43', '超级管理员', '2024-12-12 15:51:52', NULL);
+INSERT INTO `sys_dict_data` (`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 (2, '全天移动侦测', '2', 'video_plan_type', NULL, 'default', 'N', '0', '超级管理员', '2024-12-12 15:52:11', '', NULL, NULL);
+INSERT INTO `sys_dict_data` (`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 (3, '异常计划', '3', 'video_plan_type', NULL, 'default', 'N', '0', '超级管理员', '2024-12-12 15:52:23', '超级管理员', '2024-12-12 15:53:32', NULL);
+INSERT INTO `sys_dict_data` (`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 (4, '分时段定时动检', '4', 'video_plan_type', NULL, 'default', 'N', '0', '超级管理员', '2024-12-12 15:52:34', '超级管理员', '2024-12-12 15:53:51', NULL);
+INSERT INTO `sys_dict_data` (`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 (5, '分时段动检录像', '5', 'video_plan_type', NULL, 'default', 'N', '0', '超级管理员', '2024-12-12 15:54:03', '', NULL, NULL);
+INSERT INTO `sys_dict_data` (`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 (6, '设备不支持', '-2', 'video_plan_type', NULL, 'default', 'N', '0', '超级管理员', '2024-12-12 15:54:22', '', NULL, NULL);
+INSERT INTO `sys_dict_data` (`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 (7, '通讯失败', '-3', 'video_plan_type', NULL, 'default', 'N', '0', '超级管理员', '2024-12-12 15:54:42', '', NULL, NULL);
+
 -- 升级脚本执行完成