DROP DATABASE IF EXISTS `zhangy-skyeye`;

CREATE DATABASE `zhangy-skyeye`;

USE `zhangy-skyeye`;

--
-- Table structure for table `jm_airline`
--

DROP TABLE IF EXISTS `jm_airline`;

CREATE TABLE `jm_airline` (
                              `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
                              `job_id` bigint DEFAULT NULL COMMENT '任务',
                              `flight_no` int DEFAULT NULL COMMENT '航线编号',
                              `flight_num` int DEFAULT NULL COMMENT '航线数量',
                              `flight_start_lon` decimal(11,8) DEFAULT NULL COMMENT '航线开机点经度',
                              `flight_start_lat` decimal(11,8) DEFAULT NULL COMMENT '航线开机点纬度',
                              `flight_start_height` decimal(11,7) DEFAULT NULL COMMENT '航线开机点高度',
                              `ground_start_lon` decimal(11,8) DEFAULT NULL COMMENT '地面开机点经度',
                              `ground_start_lat` decimal(11,8) DEFAULT NULL COMMENT '地面开机点纬度',
                              `ground_start_height` decimal(11,7) DEFAULT NULL COMMENT '地面开机点高度',
                              `flight_end_lon` decimal(11,8) DEFAULT NULL COMMENT '航线关机点经度',
                              `flight_end_lat` decimal(11,8) DEFAULT NULL COMMENT '航线关机点纬度',
                              `flight_end_height` decimal(11,7) DEFAULT NULL COMMENT '航线关机点高度',
                              `target_centroid_lon` decimal(11,8) DEFAULT NULL COMMENT '成像区域中心经度',
                              `target_centroid_lat` decimal(11,8) DEFAULT NULL COMMENT '成像区域中心纬度',
                              `target_centroid_height` decimal(11,7) DEFAULT NULL COMMENT '成像区域中心高度',
                              `target_width` int DEFAULT NULL COMMENT '成像区域幅宽',
                              `target_length` int DEFAULT NULL COMMENT '成像区域方位长度',
                              `target_heading` int DEFAULT NULL COMMENT '成像区域轴向角度',
                              `speed` decimal(7,4) DEFAULT NULL COMMENT '飞行速度',
                              `height` decimal(11,7) DEFAULT NULL COMMENT '飞行高度',
                              `grazing_angle` decimal(10,6) DEFAULT NULL COMMENT '擦地角',
                              `squint_angle` decimal(10,6) DEFAULT NULL COMMENT '斜视角',
                              `flight_type` int DEFAULT NULL COMMENT '航线类型',
                              `direction` int DEFAULT NULL COMMENT '侧视方向',
                              `polarization` int DEFAULT NULL COMMENT '极化方式',
                              `uav_id` bigint DEFAULT NULL COMMENT '无人机',
                              `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '0' COMMENT '执行状态;0 未执行，1 执行中，2 已完成',
                              `begin_time` datetime DEFAULT NULL COMMENT '开始时间',
                              `end_time` datetime DEFAULT NULL COMMENT '结束时间',
                              `start_lon` decimal(11,8) DEFAULT NULL COMMENT '航线起点经度',
                              `start_lat` decimal(11,8) DEFAULT NULL COMMENT '航线起点纬度',
                              `start_height` decimal(11,7) DEFAULT NULL COMMENT '航线起点高度',
                              `end_lon` decimal(11,8) DEFAULT NULL COMMENT '航线终点经度',
                              `end_lat` decimal(11,8) DEFAULT NULL COMMENT '航线终点纬度',
                              `end_height` decimal(11,7) DEFAULT NULL COMMENT '航线终点高度',
                              `distance` int DEFAULT NULL COMMENT '航线路程',
                              PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10031 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='航线';

LOCK TABLES `jm_airline` WRITE;

UNLOCK TABLES;

--
-- Table structure for table `jm_airline_exec`
--

DROP TABLE IF EXISTS `jm_airline_exec`;

CREATE TABLE `jm_airline_exec` (
                                   `id` bigint NOT NULL AUTO_INCREMENT COMMENT '涓婚敭',
                                   `job_id` bigint DEFAULT NULL COMMENT '浠诲姟鎵ц?ID',
                                   `conf_id` bigint DEFAULT NULL COMMENT '鑸?嚎閰嶇疆ID',
                                   `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '0' COMMENT '鎵ц?鐘舵?;0 鏈?墽琛岋紝1 鎵ц?涓?紝2 宸插畬鎴',
                                   `begin_time` datetime DEFAULT NULL COMMENT '寮??鏃堕棿',
                                   `end_time` datetime DEFAULT NULL COMMENT '缁撴潫鏃堕棿',
                                   PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10026 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='鑸?嚎鎵ц?';


LOCK TABLES `jm_airline_exec` WRITE;

UNLOCK TABLES;

--
-- Table structure for table `jm_image`
--

DROP TABLE IF EXISTS `jm_image`;

CREATE TABLE `jm_image` (
                            `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
                            `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '名称',
                            `job_id` bigint DEFAULT NULL COMMENT '任务',
                            `uav_id` bigint DEFAULT NULL COMMENT '无人机',
                            `payload_id` bigint DEFAULT NULL COMMENT '载荷',
                            `airline_id` bigint DEFAULT NULL COMMENT '航线',
                            `file_id` bigint DEFAULT NULL COMMENT '文件',
                            `left1_lon` decimal(11,8) DEFAULT NULL COMMENT '左上经度',
                            `left1_lat` decimal(11,8) DEFAULT NULL COMMENT '左上纬度',
                            `left2_lon` decimal(11,8) DEFAULT NULL COMMENT '左下经度',
                            `left2_lat` decimal(11,8) DEFAULT NULL COMMENT '左下纬度',
                            `right1_lon` decimal(11,8) DEFAULT NULL COMMENT '右上经度',
                            `right1_lat` decimal(11,8) DEFAULT NULL COMMENT '右上纬度',
                            `right2_lon` decimal(11,8) DEFAULT NULL COMMENT '右下经度',
                            `right2_lat` decimal(11,8) DEFAULT NULL COMMENT '右下纬度',
                            `frame_no` int DEFAULT NULL COMMENT '图像帧序号',
                            `max` decimal(20,6) DEFAULT NULL COMMENT '归一化前最大值',
                            `image_time` datetime DEFAULT NULL COMMENT '图像生成时间',
                            `create_time` datetime DEFAULT NULL COMMENT '文件上传时间',
                            `image_no` int DEFAULT '1' COMMENT '图像编号',
                            `start_frame_no` int DEFAULT NULL,
                            `end_frame_no` int DEFAULT NULL,
                            PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10542 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='sar图像';

LOCK TABLES `jm_image` WRITE;

UNLOCK TABLES;

--
-- Table structure for table `jm_image_item`
--

DROP TABLE IF EXISTS `jm_image_item`;

CREATE TABLE `jm_image_item` (
                                 `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
                                 `image_id` bigint DEFAULT NULL COMMENT '图像',
                                 `left1_lon` decimal(20,17) DEFAULT NULL COMMENT '左上经度',
                                 `left1_lat` decimal(20,17) DEFAULT NULL COMMENT '左上纬度',
                                 `left2_lon` decimal(20,17) DEFAULT NULL COMMENT '左下经度',
                                 `left2_lat` decimal(20,17) DEFAULT NULL COMMENT '左下纬度',
                                 `right1_lon` decimal(20,17) DEFAULT NULL COMMENT '右上经度',
                                 `right1_lat` decimal(20,17) DEFAULT NULL COMMENT '右上纬度',
                                 `right2_lon` decimal(20,17) DEFAULT NULL COMMENT '右下经度',
                                 `right2_lat` decimal(20,17) DEFAULT NULL COMMENT '右下纬度',
                                 `type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '物体类型',
                                 `conf` decimal(17,16) DEFAULT NULL COMMENT '可信度',
                                 PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='图像识别物体';

LOCK TABLES `jm_image_item` WRITE;

UNLOCK TABLES;

--
-- Table structure for table `jm_image_tile`
--

DROP TABLE IF EXISTS `jm_image_tile`;

CREATE TABLE `jm_image_tile` (
                                 `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
                                 `image_id` bigint DEFAULT NULL COMMENT '图像ID',
                                 `file_id` bigint DEFAULT NULL COMMENT '文件',
                                 `no` int DEFAULT NULL COMMENT '序号',
                                 `level` int DEFAULT NULL COMMENT '级别',
                                 `left1_lon` decimal(11,8) DEFAULT NULL COMMENT '左上经度',
                                 `left1_lat` decimal(11,8) DEFAULT NULL COMMENT '左上纬度',
                                 `left2_lon` decimal(11,8) DEFAULT NULL COMMENT '左下经度',
                                 `left2_lat` decimal(11,8) DEFAULT NULL COMMENT '左下纬度',
                                 `right1_lon` decimal(11,8) DEFAULT NULL COMMENT '右上经度',
                                 `right1_lat` decimal(11,8) DEFAULT NULL COMMENT '右上纬度',
                                 `right2_lon` decimal(11,8) DEFAULT NULL COMMENT '右下经度',
                                 `right2_lat` decimal(11,8) DEFAULT NULL COMMENT '右下纬度',
                                 PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='图像瓦片';


LOCK TABLES `jm_image_tile` WRITE;

UNLOCK TABLES;

--
-- Table structure for table `jm_job`
--

DROP TABLE IF EXISTS `jm_job`;

CREATE TABLE `jm_job` (
                          `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
                          `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '名称',
                          `mode` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
                          `image_mode` int DEFAULT NULL COMMENT '成像模式',
                          `target_type` int DEFAULT NULL COMMENT '任务目标',
                          `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '1' COMMENT '状态',
                          `begin_time` datetime DEFAULT NULL COMMENT '开始时间',
                          `end_time` datetime DEFAULT NULL COMMENT '结束时间',
                          `type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '1' COMMENT '绫诲瀷',
                          `cron_expression` char(60) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '1' COMMENT 'cron琛ㄨ揪寮',
                          `create_time` datetime DEFAULT NULL COMMENT '创建时间',
                          `info1` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
                          PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10031 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='任务';

LOCK TABLES `jm_job` WRITE;
UNLOCK TABLES;

--
-- Table structure for table `jm_job_exec`
--

DROP TABLE IF EXISTS `jm_job_exec`;

CREATE TABLE `jm_job_exec` (
                               `id` bigint NOT NULL AUTO_INCREMENT COMMENT '涓婚敭',
                               `conf_id` bigint DEFAULT NULL COMMENT '浠诲姟閰嶇疆ID',
                               `type` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '鎵ц?绫诲瀷',
                               `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '1' COMMENT '鐘舵?',
                               `begin_time` datetime DEFAULT NULL COMMENT '寮??鏃堕棿',
                               `end_time` datetime DEFAULT NULL COMMENT '缁撴潫鏃堕棿',
                               PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10026 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='浠诲姟鎵ц?';


LOCK TABLES `jm_job_exec` WRITE;

UNLOCK TABLES;

--
-- Table structure for table `jm_job_payload`
--

DROP TABLE IF EXISTS `jm_job_payload`;

CREATE TABLE `jm_job_payload` (
                                  `job_id` bigint NOT NULL COMMENT '任务',
                                  `uav_id` bigint NOT NULL COMMENT '无人机',
                                  `payload_id` bigint NOT NULL COMMENT '载荷',
                                  `status` int DEFAULT NULL COMMENT '执行状态',
                                  `width` decimal(20,14) DEFAULT NULL COMMENT 'y方向幅宽',
                                  `length` decimal(20,14) DEFAULT NULL COMMENT 'x方向幅宽',
                                  `theta` decimal(10,6) DEFAULT NULL COMMENT '下视角',
                                  `reserved` decimal(7,4) DEFAULT NULL COMMENT '预留距离',
                                  `direction` int DEFAULT NULL COMMENT '侧视方向',
                                  `resolution` decimal(4,2) DEFAULT NULL COMMENT '鍒嗚鲸鐜',
                                  `end_time` datetime DEFAULT NULL COMMENT '结束时间',
                                  `auto_focus` int DEFAULT NULL COMMENT '自聚焦',
                                  `moto` int DEFAULT NULL COMMENT '运动补偿',
                                  `image_light` int DEFAULT NULL COMMENT '图片亮度倍数',
                                  `heading_diff` int DEFAULT NULL COMMENT '雷达朝向与飞机朝向夹角',
                                  `image_bit` int DEFAULT NULL COMMENT '图像位数'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='执行任务的载荷';


LOCK TABLES `jm_job_payload` WRITE;

UNLOCK TABLES;

--
-- Table structure for table `jm_job_point`
--

DROP TABLE IF EXISTS `jm_job_point`;

CREATE TABLE `jm_job_point` (
                                `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
                                `job_id` bigint DEFAULT NULL COMMENT '任务',
                                `region_no` int DEFAULT NULL COMMENT '区域编号',
                                `point_no` int DEFAULT NULL COMMENT '序号',
                                `longitude` decimal(11,8) DEFAULT NULL COMMENT '经度',
                                `latitude` decimal(11,8) DEFAULT NULL COMMENT '纬度',
                                PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10117 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='任务点';


LOCK TABLES `jm_job_point` WRITE;

UNLOCK TABLES;

--
-- Table structure for table `jm_job_uav`
--

DROP TABLE IF EXISTS `jm_job_uav`;

CREATE TABLE `jm_job_uav` (
                              `job_id` bigint NOT NULL COMMENT '任务',
                              `uav_id` bigint NOT NULL COMMENT '无人机',
                              `start_lon` decimal(11,8) DEFAULT NULL COMMENT '起飞经度',
                              `start_lat` decimal(11,8) DEFAULT NULL COMMENT '起飞纬度',
                              `end_lon` decimal(11,8) DEFAULT NULL COMMENT '降落经度',
                              `end_lat` decimal(11,8) DEFAULT NULL COMMENT '降落纬度',
                              `start_altitude` decimal(11,7) DEFAULT NULL COMMENT '起飞点海拔高度',
                              `begin_time` datetime DEFAULT NULL COMMENT '开始时间',
                              `end_time` datetime DEFAULT NULL COMMENT '结束时间',
                              `speed` decimal(7,4) DEFAULT NULL COMMENT '飞行速度',
                              `height` decimal(11,7) DEFAULT NULL COMMENT '飞行高度'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='执行任务的无人机';


LOCK TABLES `jm_job_uav` WRITE;

UNLOCK TABLES;

--
-- Table structure for table `jm_status_log`
--

DROP TABLE IF EXISTS `jm_status_log`;

CREATE TABLE `jm_status_log` (
                                 `job_id` bigint DEFAULT NULL COMMENT '任务',
                                 `uav_id` bigint DEFAULT NULL COMMENT '无人机',
                                 `longitude` decimal(11,8) DEFAULT NULL COMMENT '经度',
                                 `latitude` decimal(11,8) DEFAULT NULL COMMENT '纬度',
                                 `altitude` decimal(11,7) DEFAULT NULL COMMENT '高度',
                                 `date` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                 `cpu_c` int DEFAULT NULL COMMENT 'CPU温度',
                                 `ant_c` int DEFAULT NULL COMMENT '天线模块温度',
                                 `rf_c` int DEFAULT NULL COMMENT '射频模块温度',
                                 `disk_c` int DEFAULT NULL COMMENT '硬盘温度',
                                 `fpga_c` int DEFAULT NULL COMMENT 'FPGA温度',
                                 `system_v` int DEFAULT NULL COMMENT '系统电压值',
                                 `clock_lock` int DEFAULT NULL COMMENT '时钟锁定',
                                 `imu_status` int DEFAULT NULL COMMENT '惯性导航状态',
                                 `memory_capacity` int DEFAULT NULL COMMENT '内存容量',
                                 `disk_utilization` int DEFAULT NULL COMMENT '硬盘容量占用百分比',
                                 `north_velocity` decimal(11,7) DEFAULT NULL COMMENT '组合导航北速',
                                 `sky_velocity` decimal(11,7) DEFAULT NULL COMMENT '组合导航天速',
                                 `east_velocity` decimal(11,7) DEFAULT NULL COMMENT '组合导航东速',
                                 `angle_roll` decimal(11,7) DEFAULT NULL COMMENT '组合导航滚动',
                                 `angle_yaw` decimal(11,7) DEFAULT NULL COMMENT '组合导航航向',
                                 `angle_pitch` decimal(11,7) DEFAULT NULL COMMENT '组合导航俯仰',
                                 `antenna_azimuth` decimal(11,7) DEFAULT NULL COMMENT '天线方位角',
                                 `antenna_pitch` decimal(11,7) DEFAULT NULL COMMENT '天线俯仰角',
                                 `is_boot` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '是否开机',
                                 `satellite_num` int DEFAULT NULL COMMENT 'GPS卫星数',
                                 `rtk_status` int DEFAULT NULL COMMENT 'RTK状态'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='sar状态日志';


LOCK TABLES `jm_status_log` WRITE;


UNLOCK TABLES;

--
-- Table structure for table `qrtz_calendars`
--

DROP TABLE IF EXISTS `qrtz_calendars`;

CREATE TABLE `qrtz_calendars` (
                                  `SCHED_NAME` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                  `CALENDAR_NAME` varchar(190) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                  `CALENDAR` blob NOT NULL,
                                  PRIMARY KEY (`SCHED_NAME`,`CALENDAR_NAME`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


LOCK TABLES `qrtz_calendars` WRITE;

UNLOCK TABLES;

--
-- Table structure for table `qrtz_fired_triggers`
--

DROP TABLE IF EXISTS `qrtz_fired_triggers`;

CREATE TABLE `qrtz_fired_triggers` (
                                       `SCHED_NAME` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                       `ENTRY_ID` varchar(95) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                       `TRIGGER_NAME` varchar(190) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                       `TRIGGER_GROUP` varchar(190) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                       `INSTANCE_NAME` varchar(190) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                       `FIRED_TIME` bigint NOT NULL,
                                       `SCHED_TIME` bigint NOT NULL,
                                       `PRIORITY` int NOT NULL,
                                       `STATE` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                       `JOB_NAME` varchar(190) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
                                       `JOB_GROUP` varchar(190) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
                                       `IS_NONCONCURRENT` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
                                       `REQUESTS_RECOVERY` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
                                       PRIMARY KEY (`SCHED_NAME`,`ENTRY_ID`),
                                       KEY `IDX_QRTZ_FT_INST_JOB_REQ_RCVRY` (`SCHED_NAME`,`INSTANCE_NAME`,`REQUESTS_RECOVERY`),
                                       KEY `IDX_QRTZ_FT_JG` (`SCHED_NAME`,`JOB_GROUP`),
                                       KEY `IDX_QRTZ_FT_J_G` (`SCHED_NAME`,`JOB_NAME`,`JOB_GROUP`),
                                       KEY `IDX_QRTZ_FT_TG` (`SCHED_NAME`,`TRIGGER_GROUP`),
                                       KEY `IDX_QRTZ_FT_TRIG_INST_NAME` (`SCHED_NAME`,`INSTANCE_NAME`),
                                       KEY `IDX_QRTZ_FT_T_G` (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


LOCK TABLES `qrtz_fired_triggers` WRITE;

UNLOCK TABLES;

--
-- Table structure for table `qrtz_locks`
--

DROP TABLE IF EXISTS `qrtz_locks`;

CREATE TABLE `qrtz_locks` (
                              `SCHED_NAME` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                              `LOCK_NAME` varchar(40) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                              PRIMARY KEY (`SCHED_NAME`,`LOCK_NAME`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


LOCK TABLES `qrtz_locks` WRITE;

INSERT INTO `qrtz_locks` VALUES ('LD','STATE_ACCESS'),('LD','TRIGGER_ACCESS');

UNLOCK TABLES;

--
-- Table structure for table `qrtz_paused_trigger_grps`
--

DROP TABLE IF EXISTS `qrtz_paused_trigger_grps`;

CREATE TABLE `qrtz_paused_trigger_grps` (
                                            `SCHED_NAME` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                            `TRIGGER_GROUP` varchar(190) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                            PRIMARY KEY (`SCHED_NAME`,`TRIGGER_GROUP`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


LOCK TABLES `qrtz_paused_trigger_grps` WRITE;

UNLOCK TABLES;

--
-- Table structure for table `qrtz_scheduler_state`
--

DROP TABLE IF EXISTS `qrtz_scheduler_state`;

CREATE TABLE `qrtz_scheduler_state` (
                                        `SCHED_NAME` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                        `INSTANCE_NAME` varchar(190) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                        `LAST_CHECKIN_TIME` bigint NOT NULL,
                                        `CHECKIN_INTERVAL` bigint NOT NULL,
                                        PRIMARY KEY (`SCHED_NAME`,`INSTANCE_NAME`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

LOCK TABLES `qrtz_scheduler_state` WRITE;

INSERT INTO `qrtz_scheduler_state` VALUES ('LD','DESKTOP-MI8NC3B1768958884917',1768960599596,7500);

UNLOCK TABLES;

--
-- Table structure for table `qrtz_job_details`
--

DROP TABLE IF EXISTS `qrtz_job_details`;

CREATE TABLE `qrtz_job_details` (
                                    `SCHED_NAME` varchar(120) COLLATE utf8mb4_unicode_ci NOT NULL,
                                    `JOB_NAME` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL,
                                    `JOB_GROUP` varchar(190) COLLATE utf8mb4_unicode_ci NOT NULL,
                                    `DESCRIPTION` varchar(250) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
                                    `JOB_CLASS_NAME` varchar(250) COLLATE utf8mb4_unicode_ci NOT NULL,
                                    `IS_DURABLE` varchar(1) COLLATE utf8mb4_unicode_ci NOT NULL,
                                    `IS_NONCONCURRENT` varchar(1) COLLATE utf8mb4_unicode_ci NOT NULL,
                                    `IS_UPDATE_DATA` varchar(1) COLLATE utf8mb4_unicode_ci NOT NULL,
                                    `REQUESTS_RECOVERY` varchar(1) COLLATE utf8mb4_unicode_ci NOT NULL,
                                    `JOB_DATA` blob,
                                    PRIMARY KEY (`SCHED_NAME`,`JOB_NAME`,`JOB_GROUP`),
                                    KEY `IDX_QRTZ_J_GRP` (`SCHED_NAME`,`JOB_GROUP`),
                                    KEY `IDX_QRTZ_J_REQ_RECOVERY` (`SCHED_NAME`,`REQUESTS_RECOVERY`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


LOCK TABLES `qrtz_job_details` WRITE;

UNLOCK TABLES;

--
-- Table structure for table `qrtz_triggers`
--

DROP TABLE IF EXISTS `qrtz_triggers`;

CREATE TABLE `qrtz_triggers` (
                                 `SCHED_NAME` varchar(120) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                 `TRIGGER_NAME` varchar(190) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                 `TRIGGER_GROUP` varchar(190) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                 `JOB_NAME` varchar(190) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                 `JOB_GROUP` varchar(190) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                 `DESCRIPTION` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
                                 `NEXT_FIRE_TIME` bigint DEFAULT NULL,
                                 `PREV_FIRE_TIME` bigint DEFAULT NULL,
                                 `PRIORITY` int DEFAULT NULL,
                                 `TRIGGER_STATE` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                 `TRIGGER_TYPE` varchar(8) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
                                 `START_TIME` bigint NOT NULL,
                                 `END_TIME` bigint DEFAULT NULL,
                                 `CALENDAR_NAME` varchar(190) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
                                 `MISFIRE_INSTR` smallint DEFAULT NULL,
                                 `JOB_DATA` blob,
                                 PRIMARY KEY (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`),
                                 KEY `IDX_QRTZ_T_C` (`SCHED_NAME`,`CALENDAR_NAME`),
                                 KEY `IDX_QRTZ_T_G` (`SCHED_NAME`,`TRIGGER_GROUP`),
                                 KEY `IDX_QRTZ_T_J` (`SCHED_NAME`,`JOB_NAME`,`JOB_GROUP`),
                                 KEY `IDX_QRTZ_T_JG` (`SCHED_NAME`,`JOB_GROUP`),
                                 KEY `IDX_QRTZ_T_NEXT_FIRE_TIME` (`SCHED_NAME`,`NEXT_FIRE_TIME`),
                                 KEY `IDX_QRTZ_T_NFT_MISFIRE` (`SCHED_NAME`,`MISFIRE_INSTR`,`NEXT_FIRE_TIME`),
                                 KEY `IDX_QRTZ_T_NFT_ST` (`SCHED_NAME`,`TRIGGER_STATE`,`NEXT_FIRE_TIME`),
                                 KEY `IDX_QRTZ_T_NFT_ST_MISFIRE` (`SCHED_NAME`,`MISFIRE_INSTR`,`NEXT_FIRE_TIME`,`TRIGGER_STATE`),
                                 KEY `IDX_QRTZ_T_NFT_ST_MISFIRE_GRP` (`SCHED_NAME`,`MISFIRE_INSTR`,`NEXT_FIRE_TIME`,`TRIGGER_GROUP`,`TRIGGER_STATE`),
                                 KEY `IDX_QRTZ_T_N_G_STATE` (`SCHED_NAME`,`TRIGGER_GROUP`,`TRIGGER_STATE`),
                                 KEY `IDX_QRTZ_T_N_STATE` (`SCHED_NAME`,`TRIGGER_NAME`,`TRIGGER_GROUP`,`TRIGGER_STATE`),
                                 KEY `IDX_QRTZ_T_STATE` (`SCHED_NAME`,`TRIGGER_STATE`),
                                 CONSTRAINT `qrtz_triggers_ibfk_1` FOREIGN KEY (`SCHED_NAME`, `JOB_NAME`, `JOB_GROUP`) REFERENCES `qrtz_job_details` (`SCHED_NAME`, `JOB_NAME`, `JOB_GROUP`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


LOCK TABLES `qrtz_triggers` WRITE;

UNLOCK TABLES;

--
-- Table structure for table `sar_mti_point`
--

DROP TABLE IF EXISTS `sar_mti_point`;

CREATE TABLE `sar_mti_point` (
                                 `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
                                 `payload_id` bigint DEFAULT NULL COMMENT '载荷ID',
                                 `airline_id` bigint DEFAULT NULL COMMENT '航线ID',
                                 `no` int DEFAULT NULL COMMENT '目标编号',
                                 `rg` int DEFAULT NULL COMMENT '距离',
                                 `azimuth` decimal(6,2) DEFAULT NULL COMMENT '方位角',
                                 `lon` decimal(9,6) DEFAULT NULL COMMENT '经度',
                                 `lat` decimal(9,6) DEFAULT NULL COMMENT '纬度',
                                 `alt` int DEFAULT NULL COMMENT '高度',
                                 `amp` int DEFAULT NULL COMMENT '幅度',
                                 `speed` decimal(8,2) DEFAULT NULL COMMENT '速度',
                                 `create_time` datetime DEFAULT NULL COMMENT '创建时间',
                                 PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='mti点';


LOCK TABLES `sar_mti_point` WRITE;

UNLOCK TABLES;

--
-- Table structure for table `sar_mti_trail`
--

DROP TABLE IF EXISTS `sar_mti_trail`;

CREATE TABLE `sar_mti_trail` (
                                 `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
                                 `payload_id` bigint DEFAULT NULL COMMENT '载荷ID',
                                 `airline_id` bigint DEFAULT NULL COMMENT '航线ID',
                                 `no` int DEFAULT NULL COMMENT '航迹批号',
                                 `lon` decimal(9,6) DEFAULT NULL COMMENT '经度',
                                 `lat` decimal(9,6) DEFAULT NULL COMMENT '纬度',
                                 `alt` int DEFAULT NULL COMMENT '高度',
                                 `amp` int DEFAULT NULL COMMENT '幅度',
                                 `speed` decimal(8,2) DEFAULT NULL COMMENT '速度',
                                 `heading_angle` decimal(6,2) DEFAULT NULL COMMENT '航向角',
                                 `create_time` datetime DEFAULT NULL COMMENT '创建时间',
                                 PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='mti轨迹';


LOCK TABLES `sar_mti_trail` WRITE;

UNLOCK TABLES;

DROP TABLE IF EXISTS `sys_file`;

CREATE TABLE `sys_file` (
                            `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
                            `name` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '文件名',
                            `type` int NOT NULL COMMENT '文件类型',
                            `store_type` char(1) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '存储类型;0 临时文件，1 磁盘，2 文件服务器',
                            `path` varchar(300) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '存储路径',
                            `relative_path` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '相对路径',
                            `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                            PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10002 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='文件';


LOCK TABLES `sys_file` WRITE;

UNLOCK TABLES;

--
-- Table structure for table `sys_dict_data`
--

DROP TABLE IF EXISTS `sys_dict_data`;

CREATE TABLE `sys_dict_data` (
                                 `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
                                 `dict_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '类型',
                                 `dict_label` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '描述',
                                 `dict_value` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '值',
                                 `dict_sort` int DEFAULT NULL COMMENT '排序',
                                 `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                                 `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
                                 PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10062 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='数据字典';


LOCK TABLES `sys_dict_data` WRITE;

INSERT INTO `sys_dict_data` VALUES (10002,'imu_status','初始','99',1,'2025-06-30 19:24:40','2025-06-30 19:24:40'),(10003,'imu_status','准备','70',2,'2025-06-30 19:25:02','2025-06-30 19:25:02'),(10004,'imu_status','对准','60',3,'2025-06-30 19:25:12','2025-06-30 19:25:12'),(10005,'imu_status','纯惯性导航','1',4,'2025-06-30 19:26:43','2025-09-20 02:18:12'),(10006,'imu_status','位置组合','20',5,'2025-06-30 19:26:43','2025-06-30 19:26:50'),(10007,'imu_status','位置+速度组合','21',6,'2025-06-30 19:26:43','2025-06-30 19:26:50'),(10008,'imu_status','位置+速度+航向组合','22',7,'2025-06-30 19:26:43','2025-06-30 19:26:50'),(10009,'enable_status','有效','1',1,'2025-06-30 19:33:09','2025-06-30 19:33:09'),(10010,'enable_status','无效','0',2,'2025-06-30 19:33:09','2025-06-30 19:33:09'),(10011,'success_status','成功','1',1,'2025-06-30 19:34:26','2025-06-30 19:34:26'),(10012,'success_status','失败','0',2,'2025-06-30 19:34:26','2025-06-30 19:34:26'),(10013,'sar_work_status','开机','1',1,'2025-06-30 19:36:57','2025-06-30 19:36:57'),(10014,'sar_work_status','未开机','0',2,'2025-06-30 19:36:57','2025-06-30 19:36:57'),(10015,'job_mode','快速模式','1',1,'2025-07-02 01:30:59','2025-07-06 21:27:58'),(10017,'job_mode','航线创建','3',3,'2025-07-02 01:30:59','2025-07-06 21:27:58'),(10018,'job_status','执行中','1',2,'2025-07-03 00:34:59','2025-07-06 21:28:21'),(10019,'job_status','已完成','2',3,'2025-07-03 00:34:59','2025-07-06 21:28:21'),(10020,'job_status','未执行','0',1,'2025-07-06 21:28:21','2025-07-06 21:28:21'),(10021,'sar_polarization','H','0',1,'2025-07-06 21:32:53','2025-07-06 21:32:53'),(10022,'sar_polarization','V','1',2,'2025-07-06 21:32:53','2025-07-06 21:32:53'),(10023,'sar_polarization','全极化','4',3,'2025-07-06 21:32:53','2025-07-06 21:32:53'),(10024,'sar_direction','左','1',1,'2025-07-06 21:34:30','2025-07-06 21:34:30'),(10025,'sar_direction','右','-1 ',2,'2025-07-06 21:34:30','2025-07-06 21:34:30'),(10026,'sar_direction','左右交替 ','3',3,'2025-07-06 21:34:30','2025-07-06 21:34:30'),(10027,'sar_flight_type','直线轨迹','0',1,'2025-07-06 21:35:47','2025-07-06 21:35:47'),(10028,'sar_flight_type','圆迹轨迹','1',2,'2025-07-06 21:35:47','2025-07-06 21:35:47'),(10031,'payload_type','SAR','SAR',1,'2025-07-07 18:46:00','2025-07-07 18:46:00'),(10032,'sar_resolution','0.1m','0.1',1,'2025-07-07 19:05:07','2025-07-07 19:05:07'),(10033,'sar_resolution','0.2m','0.2',2,'2025-07-07 19:05:07','2025-07-07 19:05:07'),(10034,'sar_resolution','0.3m','0.3',3,'2025-07-07 19:05:07','2025-07-07 19:05:07'),(10035,'sar_resolution','10m','10',4,'2025-07-07 19:05:07','2026-01-09 06:26:30'),(10038,'py_detect_type','汽车','car',NULL,'2025-07-08 22:30:03','2025-07-08 22:30:03'),(10039,'rtk_status','0','无效',1,'2025-07-24 00:47:05','2025-07-24 00:47:05'),(10040,'rtk_status','1','初始化',2,'2025-07-24 00:47:05','2025-07-24 00:47:05'),(10041,'rtk_status','2','粗对准',3,'2025-07-24 00:47:05','2025-07-24 00:47:05'),(10042,'rtk_status','3','精对准',4,'2025-07-24 00:47:05','2025-07-24 00:47:05'),(10043,'rtk_status','4','单天线对准',5,'2025-07-24 00:47:05','2025-07-24 00:47:05'),(10044,'rtk_status','5','双天线对准',6,'2025-07-24 00:47:05','2025-07-24 00:47:05'),(10045,'rtk_status','6','纯惯性导航',7,'2025-07-24 00:47:05','2025-07-24 00:47:05'),(10046,'rtk_status','7','固定解粗对准',8,'2025-07-24 00:47:05','2025-07-24 00:47:05'),(10047,'rtk_status','8','固定解精对准',9,'2025-07-24 00:47:05','2025-07-24 00:47:05'),(10048,'rtk_status','9','RTK固定解',10,'2025-07-24 00:47:05','2025-07-24 00:47:05'),(10049,'rtk_status','10','RTK浮点解',11,'2025-07-24 00:47:05','2025-07-24 00:47:05'),(10050,'rtk_status','11','单点定位',12,'2025-07-24 00:47:05','2025-07-24 00:47:05'),(10051,'rtk_status','12','伪距差分或SBAS定位',13,'2025-07-24 00:47:05','2025-07-24 00:47:05'),(10052,'rtk_status','13','惯导定位',14,'2025-07-24 00:47:05','2025-07-24 00:47:05'),(10053,'rtk_status','14','用户设定位置',15,'2025-07-24 00:47:05','2025-07-24 00:47:05'),(10054,'rtk_status','99','错误',99,'2025-07-24 00:47:05','2025-07-24 00:47:05'),(10055,'job_status','准备中','3',2,'2025-09-03 03:29:49','2025-09-03 08:12:57'),(10056,'imu_status','无','0',0,'2025-06-30 19:26:43','2025-09-18 18:13:21'),(10057,'sar_image_mode','条带','0',1,'2025-06-30 11:26:43','2025-09-18 10:13:21'),(10058,'sar_image_mode','GMTI','4',4,'2025-06-30 11:26:43','2026-01-11 18:50:57'),(10059,'sar_image_mode','聚束','1',1,'2026-01-11 18:50:57','2026-01-11 18:50:57'),(10060,'job_target_type','点','1',1,'2026-01-11 18:50:57','2026-01-12 01:50:58'),(10061,'job_target_type','区域','2',2,'2026-01-11 18:50:57','2026-01-12 01:50:58');

UNLOCK TABLES;

--
-- Table structure for table `sys_dict_type`
--

DROP TABLE IF EXISTS `sys_dict_type`;

CREATE TABLE `sys_dict_type` (
                                 `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
                                 `code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '编码',
                                 `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '名称',
                                 `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '备注',
                                 PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10016 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='数据字典类型';


LOCK TABLES `sys_dict_type` WRITE;

INSERT INTO `sys_dict_type` VALUES (10001,'imu_status','惯性导航状态',NULL),(10002,'enable_status','有效状态',NULL),(10003,'success_status','成功状态',NULL),(10004,'sar_work_status','开机状态',NULL),(10005,'job_mode','任务模式',NULL),(10006,'job_status','任务状态',NULL),(10007,'sar_polarization','极化方式',NULL),(10008,'sar_direction','侧视方向',NULL),(10009,'sar_flight_type','飞行方式',NULL),(10010,'payload_type','载荷类型',NULL),(10011,'sar_resolution','分辨率',NULL),(10012,'py_detect_type','目标识别类型',NULL),(10013,'rtk_status','RTK状态',NULL),(10014,'sar_image_mode','成像模式',NULL),(10015,'job_target_type','任务目标',NULL);

UNLOCK TABLES;

--
-- Table structure for table `sys_log`
--

DROP TABLE IF EXISTS `sys_log`;

CREATE TABLE `sys_log` (
                           `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
                           `type` int DEFAULT NULL COMMENT '类型',
                           `operate_user` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '操作人姓名',
                           `operate_desc` varchar(2000) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '描述',
                           `create_time` char(19) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '操作时间',
                           `status` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '操作状态',
                           `ip` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '操作IP地址',
                           `operate` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '操作',
                           PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10001 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='操作日志';


LOCK TABLES `sys_log` WRITE;

UNLOCK TABLES;

--
-- Table structure for table `sys_user`
--

DROP TABLE IF EXISTS `sys_user`;

CREATE TABLE `sys_user` (
                            `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
                            `account` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '账号',
                            `password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '密码',
                            `status` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '状态;1 有效，0 无效',
                            `create_time` char(19) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '创建时间',
                            `update_time` char(19) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '修改时间',
                            PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10004 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='用户';


LOCK TABLES `sys_user` WRITE;

INSERT INTO `sys_user` VALUES (10001,'admin','202cb962ac59075b964b07152d234b70','1','2022-02-11 12:00:00','2025-06-12 14:12:16'),(10002,'test1','202cb962ac59075b964b07152d234b70','1',NULL,NULL),(10003,'test2','202cb962ac59075b964b07152d234b70','1',NULL,NULL);

UNLOCK TABLES;

--
-- Table structure for table `se_payload`
--

DROP TABLE IF EXISTS `se_payload`;

CREATE TABLE `se_payload` (
                                `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
                                `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '载荷名称',
                                `type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '载荷类型',
                                `ip` varchar(39) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'IP地址',
                                `dr` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0' COMMENT '删除标识',
                                PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10002 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='载荷';


LOCK TABLES `se_payload` WRITE;

INSERT INTO `se_payload` VALUES (10001,'SAR-01','SAR','192.168.112.181','0');

UNLOCK TABLES;

--
-- Table structure for table `se_uav`
--

DROP TABLE IF EXISTS `se_uav`;

CREATE TABLE `se_uav` (
                            `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键',
                            `code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '唯一码',
                            `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '名称',
                            `ip` varchar(39) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'ip地址',
                            `create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
                            `dr` char(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '0' COMMENT '删除标志',
                            PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10002 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='无人机';

LOCK TABLES `se_uav` WRITE;

INSERT INTO `se_uav` VALUES (10001,'A001','无人机1','192.168.3.3','2025-07-04 03:57:09','0');

UNLOCK TABLES;