/* Navicat Premium Data Transfer Source Server : 本机 Source Server Type : MySQL Source Server Version : 80035 Source Host : localhost:3306 Source Schema : military_ml Target Server Type : MySQL Target Server Version : 80035 File Encoding : 65001 Date: 26/11/2023 11:15:22 */ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Table structure for ms_device_info -- ---------------------------- DROP TABLE IF EXISTS `ms_device_info`; CREATE TABLE `ms_device_info` ( `id` varchar(36) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NOT NULL, `create_by` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '创建人', `create_time` datetime NULL DEFAULT NULL COMMENT '创建日期', `update_by` varchar(50) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '更新人', `update_time` datetime NULL DEFAULT NULL COMMENT '更新日期', `sys_org_code` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '所属部门', `device_type` int NULL DEFAULT NULL COMMENT '设备类型', `device_comp` int NULL DEFAULT NULL COMMENT '设备厂商', `device_name` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备名称', `device_num` varchar(64) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备编号', `ip` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '设备IP', `port` int NULL DEFAULT NULL COMMENT '监听/通信端口', `ip2` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备用IP', `port2` int NULL DEFAULT NULL COMMENT '备用端口', `state` int NULL DEFAULT NULL COMMENT '启用状态', `lon` double NULL DEFAULT 0 COMMENT '设备经度', `lat` double NULL DEFAULT 0 COMMENT '设备纬度', `height` double NULL DEFAULT 0 COMMENT '设备高度', `init_azimuth` double NULL DEFAULT 0 COMMENT '初始方位角', `init_pitch` double NULL DEFAULT 0 COMMENT '初始俯仰角', `username` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '认证用户名', `password` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '认证密码', `day_begin_time` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '白光开始时间', `day_end_time` varchar(10) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '白光结束时间', `relate_type` int NULL DEFAULT NULL COMMENT '关联设备类型', `relate_id` varchar(36) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '关联设备id', `alive_time` datetime NULL DEFAULT NULL COMMENT '心跳更新时间', `field2` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备用2', `field3` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_general_ci NULL DEFAULT NULL COMMENT '备用3', PRIMARY KEY (`id`) USING BTREE, UNIQUE INDEX `uk_device_num`(`device_type`, `device_comp`, `device_num`) USING BTREE, INDEX `idx_ip`(`ip`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ms_device_info -- ---------------------------- INSERT INTO `ms_device_info` VALUES ('1568120387246149633', NULL, '2022-09-09 14:13:29', NULL, '2022-10-06 13:46:35', NULL, 1, 2, '雷达1', '1', '192.168.1.86', 8100, NULL, NULL, 1, 113.455074, 22.122197, 7.5, 109.6, 0, NULL, NULL, NULL, NULL, 2, '1568120387292286999', '2022-10-06 13:46:35', NULL, NULL); INSERT INTO `ms_device_info` VALUES ('1568120387292286978', NULL, '2022-09-09 14:13:29', NULL, '2022-09-27 15:41:55', NULL, 3, 3, '电子围网1', 'fence1', '192.168.1.86', 8003, NULL, NULL, 1, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `ms_device_info` VALUES ('1568120387292286999', NULL, NULL, NULL, NULL, NULL, 2, NULL, '光电1', NULL, '192.168.20.76', NULL, NULL, NULL, 1, 0, 0, 8, 0, 0, 'admin', 'Abc.12345', NULL, NULL, NULL, NULL, NULL, NULL, NULL); SET FOREIGN_KEY_CHECKS = 1;