diff --git a/ncac/package/cacdb.sql b/ncac/package/cacdb.sql index ac7950c..85553d9 100644 --- a/ncac/package/cacdb.sql +++ b/ncac/package/cacdb.sql @@ -1,6 +1,6 @@ -- MySQL dump 10.13 Distrib 8.0.34, for Win64 (x86_64) -- --- Host: 192.168.50.81 Database: cacdb +-- Host: 192.168.50.83 Database: cacdb -- ------------------------------------------------------ -- Server version 5.7.44 @@ -482,6 +482,38 @@ LOCK TABLES `data_arcflash` WRITE; /*!40000 ALTER TABLE `data_arcflash` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Table structure for table `data_byq_jbfd` +-- + +DROP TABLE IF EXISTS `data_byq_jbfd`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `data_byq_jbfd` ( + `id` bigint(20) NOT NULL AUTO_INCREMENT, + `eqmid` int(11) DEFAULT NULL COMMENT '设备id', + `acquisitionTime` datetime DEFAULT NULL COMMENT '监测时间', + `dischargeCapacity` float DEFAULT NULL COMMENT '放电量', + `dischargePosition` float DEFAULT NULL COMMENT '放电位置', + `pulseCount` float DEFAULT NULL COMMENT '脉冲个数', + `dischargeWaveform` blob COMMENT '放电波形', + `isupload` int(11) DEFAULT NULL, + `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间', + `update_time` timestamp NULL DEFAULT NULL COMMENT '修改时间', + PRIMARY KEY (`id`), + KEY `idx` (`eqmid`,`acquisitionTime`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='变压器局部放电'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `data_byq_jbfd` +-- + +LOCK TABLES `data_byq_jbfd` WRITE; +/*!40000 ALTER TABLE `data_byq_jbfd` DISABLE KEYS */; +/*!40000 ALTER TABLE `data_byq_jbfd` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Table structure for table `data_config` -- @@ -531,6 +563,35 @@ LOCK TABLES `data_dalieqm` WRITE; /*!40000 ALTER TABLE `data_dalieqm` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Table structure for table `data_dcyw` +-- + +DROP TABLE IF EXISTS `data_dcyw`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `data_dcyw` ( + `id` bigint(20) NOT NULL AUTO_INCREMENT, + `eqmid` int(11) DEFAULT NULL COMMENT '设备id', + `acquisitionTime` datetime DEFAULT NULL COMMENT '监测时间', + `oilTemperature` float DEFAULT NULL COMMENT '顶层油温', + `isupload` int(11) DEFAULT NULL, + `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间', + `update_time` timestamp NULL DEFAULT NULL COMMENT '修改时间', + PRIMARY KEY (`id`), + KEY `idx` (`eqmid`,`acquisitionTime`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='顶层油温'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `data_dcyw` +-- + +LOCK TABLES `data_dcyw` WRITE; +/*!40000 ALTER TABLE `data_dcyw` DISABLE KEYS */; +/*!40000 ALTER TABLE `data_dcyw` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Table structure for table `data_dlg_h` -- @@ -634,6 +695,40 @@ LOCK TABLES `data_dlq_jbfd` WRITE; /*!40000 ALTER TABLE `data_dlq_jbfd` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Table structure for table `data_dr_jyjc` +-- + +DROP TABLE IF EXISTS `data_dr_jyjc`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `data_dr_jyjc` ( + `id` bigint(20) NOT NULL AUTO_INCREMENT, + `eqmid` int(11) DEFAULT NULL COMMENT '设备id', + `acquisitionTime` datetime DEFAULT NULL COMMENT '监测时间', + `capacitance` float DEFAULT NULL COMMENT '电容量', + `lossFactor` float DEFAULT NULL COMMENT '介质损耗因数', + `unbalanceCurrent` float DEFAULT NULL COMMENT '三相不平衡电流', + `unbalanceVoltage` float DEFAULT NULL COMMENT '三相不平衡电压', + `totalCurrent` float DEFAULT NULL COMMENT '全电流', + `systemVoltage` float DEFAULT NULL COMMENT '系统电压', + `isupload` int(11) DEFAULT NULL, + `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间', + `update_time` timestamp NULL DEFAULT NULL COMMENT '修改时间', + PRIMARY KEY (`id`), + KEY `idx` (`eqmid`,`acquisitionTime`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='电容绝缘监测'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `data_dr_jyjc` +-- + +LOCK TABLES `data_dr_jyjc` WRITE; +/*!40000 ALTER TABLE `data_dr_jyjc` DISABLE KEYS */; +/*!40000 ALTER TABLE `data_dr_jyjc` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Table structure for table `data_eaif_h` -- @@ -1014,6 +1109,66 @@ LOCK TABLES `data_etp_h6` WRITE; /*!40000 ALTER TABLE `data_etp_h6` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Table structure for table `data_fhdlbx` +-- + +DROP TABLE IF EXISTS `data_fhdlbx`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `data_fhdlbx` ( + `id` bigint(20) NOT NULL AUTO_INCREMENT, + `eqmid` int(11) DEFAULT NULL COMMENT '设备id', + `acquisitionTime` datetime DEFAULT NULL COMMENT '监测时间', + `action` int(11) DEFAULT NULL COMMENT '0”表示分闸;“1”表示合闸', + `loadWaveform` blob COMMENT '线圈电流波形', + `isupload` int(11) DEFAULT NULL, + `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间', + `update_time` timestamp NULL DEFAULT NULL COMMENT '修改时间', + PRIMARY KEY (`id`), + KEY `idx` (`eqmid`,`acquisitionTime`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='负荷电流波形'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `data_fhdlbx` +-- + +LOCK TABLES `data_fhdlbx` WRITE; +/*!40000 ALTER TABLE `data_fhdlbx` DISABLE KEYS */; +/*!40000 ALTER TABLE `data_fhdlbx` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `data_fhzxq` +-- + +DROP TABLE IF EXISTS `data_fhzxq`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `data_fhzxq` ( + `id` bigint(20) NOT NULL AUTO_INCREMENT, + `eqmid` int(11) DEFAULT NULL COMMENT '设备id', + `acquisitionTime` datetime DEFAULT NULL COMMENT '监测时间', + `action` int(11) DEFAULT NULL COMMENT '0”表示分闸;\n“1”表示合闸', + `coilWaveform` blob COMMENT '线圈电流波形', + `isupload` int(11) DEFAULT NULL, + `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间', + `update_time` timestamp NULL DEFAULT NULL COMMENT '修改时间', + PRIMARY KEY (`id`), + KEY `idx` (`eqmid`,`acquisitionTime`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='分合闸线圈'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `data_fhzxq` +-- + +LOCK TABLES `data_fhzxq` WRITE; +/*!40000 ALTER TABLE `data_fhzxq` DISABLE KEYS */; +/*!40000 ALTER TABLE `data_fhzxq` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Table structure for table `data_haikangeqm` -- @@ -1128,6 +1283,41 @@ LOCK TABLES `data_leakagecurrent_h` WRITE; /*!40000 ALTER TABLE `data_leakagecurrent_h` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Table structure for table `data_microclimate` +-- + +DROP TABLE IF EXISTS `data_microclimate`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `data_microclimate` ( + `id` bigint(20) NOT NULL AUTO_INCREMENT, + `eqmid` int(11) NOT NULL, + `acquisitionTime` datetime DEFAULT NULL COMMENT '监测时间', + `airTemperature` float DEFAULT NULL COMMENT '温度', + `airPressure` float DEFAULT NULL COMMENT '气压', + `humidity` float DEFAULT NULL COMMENT '湿度', + `precipitation` float DEFAULT NULL COMMENT '降雨量', + `wddir` float DEFAULT NULL COMMENT '风向', + `precipitationIntensity` float DEFAULT NULL COMMENT '降水强度', + `radiationIntensity` float DEFAULT NULL COMMENT '光辐射强度', + `isupload` int(1) DEFAULT '0' COMMENT '0', + `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间', + `update_time` timestamp NULL DEFAULT NULL COMMENT '修改时间', + PRIMARY KEY (`id`) USING BTREE, + KEY `idx` (`eqmid`,`acquisitionTime`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='微气象数据表'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `data_microclimate` +-- + +LOCK TABLES `data_microclimate` WRITE; +/*!40000 ALTER TABLE `data_microclimate` DISABLE KEYS */; +/*!40000 ALTER TABLE `data_microclimate` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Table structure for table `data_microclimate_h` -- @@ -1509,6 +1699,36 @@ LOCK TABLES `data_sf6_h` WRITE; /*!40000 ALTER TABLE `data_sf6_h` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Table structure for table `data_sf6_qtsf` +-- + +DROP TABLE IF EXISTS `data_sf6_qtsf`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `data_sf6_qtsf` ( + `id` bigint(20) NOT NULL AUTO_INCREMENT, + `eqmid` int(11) DEFAULT NULL COMMENT '设备id', + `acquisitionTime` datetime DEFAULT NULL COMMENT '监测时间', + `temperature` float DEFAULT NULL COMMENT '温度', + `moisture` float DEFAULT NULL COMMENT '水分', + `isupload` int(11) DEFAULT NULL, + `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间', + `update_time` timestamp NULL DEFAULT NULL COMMENT '修改时间', + PRIMARY KEY (`id`), + KEY `idx` (`eqmid`,`acquisitionTime`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='SF6 气体水分'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `data_sf6_qtsf` +-- + +LOCK TABLES `data_sf6_qtsf` WRITE; +/*!40000 ALTER TABLE `data_sf6_qtsf` DISABLE KEYS */; +/*!40000 ALTER TABLE `data_sf6_qtsf` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Table structure for table `data_sf6_qtyl` -- @@ -1756,6 +1976,35 @@ LOCK TABLES `data_video_h` WRITE; /*!40000 ALTER TABLE `data_video_h` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Table structure for table `data_ws` +-- + +DROP TABLE IF EXISTS `data_ws`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `data_ws` ( + `id` bigint(20) NOT NULL AUTO_INCREMENT, + `eqmid` int(11) DEFAULT NULL COMMENT '设备id', + `acquisitionTime` datetime DEFAULT NULL COMMENT '监测时间', + `moisture` float DEFAULT NULL COMMENT '水分', + `isupload` int(11) DEFAULT NULL, + `create_time` timestamp NULL DEFAULT NULL COMMENT '创建时间', + `update_time` timestamp NULL DEFAULT NULL COMMENT '修改时间', + PRIMARY KEY (`id`), + KEY `idx` (`eqmid`,`acquisitionTime`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='微水'; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `data_ws` +-- + +LOCK TABLES `data_ws` WRITE; +/*!40000 ALTER TABLE `data_ws` DISABLE KEYS */; +/*!40000 ALTER TABLE `data_ws` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Table structure for table `data_ysp` -- @@ -3316,137 +3565,6 @@ INSERT INTO `unit` VALUES (5,'Density','Kg/m3'),(6,'Temperature','°C'),(7,'Pres /*!40000 ALTER TABLE `unit` ENABLE KEYS */; UNLOCK TABLES; --- --- Temporary view structure for view `vw_cac` --- - -DROP TABLE IF EXISTS `vw_cac`; -/*!50001 DROP VIEW IF EXISTS `vw_cac`*/; -SET @saved_cs_client = @@character_set_client; -/*!50503 SET character_set_client = utf8mb4 */; -/*!50001 CREATE VIEW `vw_cac` AS SELECT - 1 AS `id`, - 1 AS `name`, - 1 AS `cagid`, - 1 AS `cagname`, - 1 AS `bdzid`, - 1 AS `bmc`, - 1 AS `manufacture`, - 1 AS `factoryint`, - 1 AS `manufacturedate`, - 1 AS `rundate`, - 1 AS `location`, - 1 AS `note`, - 1 AS `downip`, - 1 AS `upip`, - 1 AS `diskfree`*/; -SET character_set_client = @saved_cs_client; - --- --- Temporary view structure for view `vw_ied` --- - -DROP TABLE IF EXISTS `vw_ied`; -/*!50001 DROP VIEW IF EXISTS `vw_ied`*/; -SET @saved_cs_client = @@character_set_client; -/*!50503 SET character_set_client = utf8mb4 */; -/*!50001 CREATE VIEW `vw_ied` AS SELECT - 1 AS `id`, - 1 AS `name`, - 1 AS `cacid`, - 1 AS `cacname`, - 1 AS `cagid`, - 1 AS `cagname`, - 1 AS `manufacture`, - 1 AS `factoryint`, - 1 AS `manufacturedate`, - 1 AS `rundate`, - 1 AS `location`, - 1 AS `note`, - 1 AS `diskfree`, - 1 AS `downip`, - 1 AS `upip`, - 1 AS `bdzid`*/; -SET character_set_client = @saved_cs_client; - --- --- Temporary view structure for view `vw_jg` --- - -DROP TABLE IF EXISTS `vw_jg`; -/*!50001 DROP VIEW IF EXISTS `vw_jg`*/; -SET @saved_cs_client = @@character_set_client; -/*!50503 SET character_set_client = utf8mb4 */; -/*!50001 CREATE VIEW `vw_jg` AS SELECT - 1 AS `id`, - 1 AS `mc`, - 1 AS `bid`, - 1 AS `bmc`*/; -SET character_set_client = @saved_cs_client; - --- --- Temporary view structure for view `vw_msb` --- - -DROP TABLE IF EXISTS `vw_msb`; -/*!50001 DROP VIEW IF EXISTS `vw_msb`*/; -SET @saved_cs_client = @@character_set_client; -/*!50503 SET character_set_client = utf8mb4 */; -/*!50001 CREATE VIEW `vw_msb` AS SELECT - 1 AS `id`, - 1 AS `name`, - 1 AS `modevtid`, - 1 AS `mtmc`, - 1 AS `careLevel`, - 1 AS `zsbid`, - 1 AS `zsbmc`, - 1 AS `iedid`, - 1 AS `iedname`*/; -SET character_set_client = @saved_cs_client; - --- --- Temporary view structure for view `vw_sb` --- - -DROP TABLE IF EXISTS `vw_sb`; -/*!50001 DROP VIEW IF EXISTS `vw_sb`*/; -SET @saved_cs_client = @@character_set_client; -/*!50503 SET character_set_client = utf8mb4 */; -/*!50001 CREATE VIEW `vw_sb` AS SELECT - 1 AS `id`, - 1 AS `name`, - 1 AS `careLevel`, - 1 AS `zid`, - 1 AS `zmc`, - 1 AS `jgid`, - 1 AS `lxid`, - 1 AS `lmc`, - 1 AS `bdzid`, - 1 AS `jmc`, - 1 AS `bmc`, - 1 AS `mtid`, - 1 AS `mtmc`*/; -SET character_set_client = @saved_cs_client; - --- --- Temporary view structure for view `vw_zsb` --- - -DROP TABLE IF EXISTS `vw_zsb`; -/*!50001 DROP VIEW IF EXISTS `vw_zsb`*/; -SET @saved_cs_client = @@character_set_client; -/*!50503 SET character_set_client = utf8mb4 */; -/*!50001 CREATE VIEW `vw_zsb` AS SELECT - 1 AS `id`, - 1 AS `mc`, - 1 AS `jgid`, - 1 AS `lxid`, - 1 AS `lmc`, - 1 AS `bdzid`, - 1 AS `jmc`, - 1 AS `bmc`*/; -SET character_set_client = @saved_cs_client; - -- -- Table structure for table `warn_cfg` -- @@ -3730,114 +3848,6 @@ LOCK TABLES `zsb` WRITE; /*!40000 ALTER TABLE `zsb` DISABLE KEYS */; /*!40000 ALTER TABLE `zsb` ENABLE KEYS */; UNLOCK TABLES; - --- --- Final view structure for view `vw_cac` --- - -/*!50001 DROP VIEW IF EXISTS `vw_cac`*/; -/*!50001 SET @saved_cs_client = @@character_set_client */; -/*!50001 SET @saved_cs_results = @@character_set_results */; -/*!50001 SET @saved_col_connection = @@collation_connection */; -/*!50001 SET character_set_client = utf8mb4 */; -/*!50001 SET character_set_results = utf8mb4 */; -/*!50001 SET collation_connection = utf8mb4_general_ci */; -/*!50001 CREATE ALGORITHM=UNDEFINED */ -/*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */ -/*!50001 VIEW `vw_cac` AS select `cac`.`id` AS `id`,`cac`.`name` AS `name`,`cac`.`cagid` AS `cagid`,`cag`.`name` AS `cagname`,`cac`.`bdzid` AS `bdzid`,`bdz`.`mc` AS `bmc`,`cac`.`manufacture` AS `manufacture`,`cac`.`factoryint` AS `factoryint`,`cac`.`manufacturedate` AS `manufacturedate`,`cac`.`rundate` AS `rundate`,`cac`.`location` AS `location`,`cac`.`note` AS `note`,`cac`.`downip` AS `downip`,`cac`.`upip` AS `upip`,`cac`.`diskfree` AS `diskfree` from ((`bdz` join `cac` on((`bdz`.`id` = `cac`.`bdzid`))) join `cag` on((`cac`.`cagid` = `cag`.`id`))) order by `cac`.`id` */; -/*!50001 SET character_set_client = @saved_cs_client */; -/*!50001 SET character_set_results = @saved_cs_results */; -/*!50001 SET collation_connection = @saved_col_connection */; - --- --- Final view structure for view `vw_ied` --- - -/*!50001 DROP VIEW IF EXISTS `vw_ied`*/; -/*!50001 SET @saved_cs_client = @@character_set_client */; -/*!50001 SET @saved_cs_results = @@character_set_results */; -/*!50001 SET @saved_col_connection = @@collation_connection */; -/*!50001 SET character_set_client = utf8mb4 */; -/*!50001 SET character_set_results = utf8mb4 */; -/*!50001 SET collation_connection = utf8mb4_general_ci */; -/*!50001 CREATE ALGORITHM=UNDEFINED */ -/*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */ -/*!50001 VIEW `vw_ied` AS select `ied`.`id` AS `id`,`ied`.`name` AS `name`,`ied`.`cacid` AS `cacid`,`vw_cac`.`name` AS `cacname`,`vw_cac`.`cagid` AS `cagid`,`vw_cac`.`cagname` AS `cagname`,`ied`.`manufacture` AS `manufacture`,`ied`.`factoryint` AS `factoryint`,`ied`.`manufacturedate` AS `manufacturedate`,`ied`.`rundate` AS `rundate`,`ied`.`location` AS `location`,`ied`.`note` AS `note`,`ied`.`diskfree` AS `diskfree`,`ied`.`downip` AS `downip`,`ied`.`upip` AS `upip`,`vw_cac`.`bdzid` AS `bdzid` from (`vw_cac` join `ied` on((`ied`.`cacid` = `vw_cac`.`id`))) order by `ied`.`id` */; -/*!50001 SET character_set_client = @saved_cs_client */; -/*!50001 SET character_set_results = @saved_cs_results */; -/*!50001 SET collation_connection = @saved_col_connection */; - --- --- Final view structure for view `vw_jg` --- - -/*!50001 DROP VIEW IF EXISTS `vw_jg`*/; -/*!50001 SET @saved_cs_client = @@character_set_client */; -/*!50001 SET @saved_cs_results = @@character_set_results */; -/*!50001 SET @saved_col_connection = @@collation_connection */; -/*!50001 SET character_set_client = utf8mb4 */; -/*!50001 SET character_set_results = utf8mb4 */; -/*!50001 SET collation_connection = utf8mb4_general_ci */; -/*!50001 CREATE ALGORITHM=UNDEFINED */ -/*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */ -/*!50001 VIEW `vw_jg` AS select `j`.`id` AS `id`,`j`.`mc` AS `mc`,`j`.`bdzid` AS `bid`,`b`.`mc` AS `bmc` from (`bdz` `b` join `jg` `j` on((`b`.`id` = `j`.`bdzid`))) order by `j`.`id` */; -/*!50001 SET character_set_client = @saved_cs_client */; -/*!50001 SET character_set_results = @saved_cs_results */; -/*!50001 SET collation_connection = @saved_col_connection */; - --- --- Final view structure for view `vw_msb` --- - -/*!50001 DROP VIEW IF EXISTS `vw_msb`*/; -/*!50001 SET @saved_cs_client = @@character_set_client */; -/*!50001 SET @saved_cs_results = @@character_set_results */; -/*!50001 SET @saved_col_connection = @@collation_connection */; -/*!50001 SET character_set_client = utf8mb4 */; -/*!50001 SET character_set_results = utf8mb4 */; -/*!50001 SET collation_connection = utf8mb4_general_ci */; -/*!50001 CREATE ALGORITHM=UNDEFINED */ -/*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */ -/*!50001 VIEW `vw_msb` AS select `md`.`id` AS `id`,`md`.`name` AS `name`,`md`.`modevtid` AS `modevtid`,`mt`.`mc` AS `mtmc`,`md`.`careLevel` AS `careLevel`,`md`.`zsbid` AS `zsbid`,`vzsb`.`mc` AS `zsbmc`,`md`.`iedid` AS `iedid`,`vied`.`name` AS `iedname` from (((`modev` `md` join `modevtype` `mt` on((`md`.`modevtid` = `mt`.`id`))) join `vw_zsb` `vzsb` on((`md`.`zsbid` = `vzsb`.`id`))) join `vw_ied` `vied` on(((`vzsb`.`bdzid` = `vied`.`bdzid`) and (`md`.`iedid` = `vied`.`id`)))) order by `md`.`id` */; -/*!50001 SET character_set_client = @saved_cs_client */; -/*!50001 SET character_set_results = @saved_cs_results */; -/*!50001 SET collation_connection = @saved_col_connection */; - --- --- Final view structure for view `vw_sb` --- - -/*!50001 DROP VIEW IF EXISTS `vw_sb`*/; -/*!50001 SET @saved_cs_client = @@character_set_client */; -/*!50001 SET @saved_cs_results = @@character_set_results */; -/*!50001 SET @saved_col_connection = @@collation_connection */; -/*!50001 SET character_set_client = utf8mb4 */; -/*!50001 SET character_set_results = utf8mb4 */; -/*!50001 SET collation_connection = utf8mb4_general_ci */; -/*!50001 CREATE ALGORITHM=UNDEFINED */ -/*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */ -/*!50001 VIEW `vw_sb` AS select `vw_msb`.`id` AS `id`,`vw_msb`.`name` AS `name`,`vw_msb`.`careLevel` AS `careLevel`,`vw_zsb`.`id` AS `zid`,`vw_zsb`.`mc` AS `zmc`,`vw_zsb`.`jgid` AS `jgid`,`vw_zsb`.`lxid` AS `lxid`,`vw_zsb`.`lmc` AS `lmc`,`vw_zsb`.`bdzid` AS `bdzid`,`vw_zsb`.`jmc` AS `jmc`,`vw_zsb`.`bmc` AS `bmc`,`vw_msb`.`modevtid` AS `mtid`,`vw_msb`.`mtmc` AS `mtmc` from (`vw_zsb` join `vw_msb` on((`vw_zsb`.`id` = `vw_msb`.`zsbid`))) order by `vw_msb`.`id` desc */; -/*!50001 SET character_set_client = @saved_cs_client */; -/*!50001 SET character_set_results = @saved_cs_results */; -/*!50001 SET collation_connection = @saved_col_connection */; - --- --- Final view structure for view `vw_zsb` --- - -/*!50001 DROP VIEW IF EXISTS `vw_zsb`*/; -/*!50001 SET @saved_cs_client = @@character_set_client */; -/*!50001 SET @saved_cs_results = @@character_set_results */; -/*!50001 SET @saved_col_connection = @@collation_connection */; -/*!50001 SET character_set_client = utf8mb4 */; -/*!50001 SET character_set_results = utf8mb4 */; -/*!50001 SET collation_connection = utf8mb4_general_ci */; -/*!50001 CREATE ALGORITHM=UNDEFINED */ -/*!50013 DEFINER=`root`@`%` SQL SECURITY DEFINER */ -/*!50001 VIEW `vw_zsb` AS select `z`.`id` AS `id`,`z`.`mc` AS `mc`,`z`.`jgid` AS `jgid`,`z`.`lxid` AS `lxid`,`l`.`mc` AS `lmc`,`z`.`bdzid` AS `bdzid`,`vj`.`mc` AS `jmc`,`vj`.`bmc` AS `bmc` from ((`lx` `l` join `zsb` `z` on((`l`.`id` = `z`.`lxid`))) join `vw_jg` `vj` on(((`vj`.`id` = `z`.`jgid`) and (`vj`.`bid` = `z`.`bdzid`)))) order by `z`.`id` */; -/*!50001 SET character_set_client = @saved_cs_client */; -/*!50001 SET character_set_results = @saved_cs_results */; -/*!50001 SET collation_connection = @saved_col_connection */; /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; @@ -3848,4 +3858,4 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2024-06-06 11:32:25 +-- Dump completed on 2024-06-19 14:40:35