From 2e835e9e9cd32969693e44b642d534ee7aafffac Mon Sep 17 00:00:00 2001 From: huangfeng Date: Mon, 14 Oct 2024 14:03:33 +0800 Subject: [PATCH] =?UTF-8?q?db:=20=E8=B0=83=E6=95=B4=E5=A2=9E=E5=8A=A0icd?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ncac/package/cacdb.sql | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/ncac/package/cacdb.sql b/ncac/package/cacdb.sql index e026700..fab0cdd 100644 --- a/ncac/package/cacdb.sql +++ b/ncac/package/cacdb.sql @@ -1990,7 +1990,10 @@ DROP TABLE IF EXISTS `icd_file`; CREATE TABLE `icd_file` ( `id` int(11) NOT NULL AUTO_INCREMENT, `md5` varchar(45) DEFAULT NULL, + `filename` varchar(45) DEFAULT NULL, `xml` longtext, + `srv` int(11) DEFAULT NULL, + `start` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='ICD文件'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2017,6 +2020,7 @@ CREATE TABLE `icd_ied` ( `icd_file_id` int(11) DEFAULT NULL, `ip` varchar(45) DEFAULT NULL, `ap_title` varchar(45) DEFAULT NULL, + `start` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='ied信息表'; /*!40101 SET character_set_client = @saved_cs_client */; @@ -2030,6 +2034,30 @@ LOCK TABLES `icd_ied` WRITE; /*!40000 ALTER TABLE `icd_ied` ENABLE KEYS */; UNLOCK TABLES; +-- +-- Table structure for table `icd_transform` +-- + +DROP TABLE IF EXISTS `icd_transform`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!50503 SET character_set_client = utf8mb4 */; +CREATE TABLE `icd_transform` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `rpt_from` varchar(200) DEFAULT NULL, + `rpt_to` varchar(200) DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `icd_transform` +-- + +LOCK TABLES `icd_transform` WRITE; +/*!40000 ALTER TABLE `icd_transform` DISABLE KEYS */; +/*!40000 ALTER TABLE `icd_transform` ENABLE KEYS */; +UNLOCK TABLES; + -- -- Table structure for table `jg` -- @@ -2774,4 +2802,4 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2024-10-09 11:36:20 +-- Dump completed on 2024-10-14 13:59:03