From 1f79d26f25103a89cf18dda035b813cdb79a448a Mon Sep 17 00:00:00 2001 From: lxw Date: Fri, 7 Jun 2024 15:00:32 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B5=E8=A1=A8sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebStarter/db/lxw0607.sql | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 WebStarter/db/lxw0607.sql diff --git a/WebStarter/db/lxw0607.sql b/WebStarter/db/lxw0607.sql new file mode 100644 index 0000000..6ce8b2c --- /dev/null +++ b/WebStarter/db/lxw0607.sql @@ -0,0 +1,42 @@ +/* +Navicat MySQL Data Transfer + +Source Server : rszn-dev +Source Server Version : 80034 +Source Host : 192.168.2.2:3306 +Source Database : huanneng_dev + +Target Server Type : MYSQL +Target Server Version : 80034 +File Encoding : 65001 + +Date: 2024-06-07 14:58:49 +*/ + +SET FOREIGN_KEY_CHECKS=0; + +-- ---------------------------- +-- Table structure for emeter_energy +-- ---------------------------- +DROP TABLE IF EXISTS `emeter_energy`; +CREATE TABLE `emeter_energy` ( + `id` varchar(255) NOT NULL, + `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '电表编码', + `value` float(10,4) DEFAULT NULL COMMENT '电表当前读数', + `upload_time` datetime DEFAULT NULL COMMENT '充电机上报时间', + `upload_flag` int DEFAULT NULL COMMENT '0未上传1上传', + PRIMARY KEY (`id`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC COMMENT='电表小时'; + +-- ---------------------------- +-- Table structure for emeter_energy_change +-- ---------------------------- +DROP TABLE IF EXISTS `emeter_energy_change`; +CREATE TABLE `emeter_energy_change` ( + `id` varchar(255) NOT NULL, + `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '电表编码', + `value` float(10,4) DEFAULT NULL COMMENT '电表当前读数', + `upload_time` datetime DEFAULT NULL COMMENT '充电机上报时间', + `upload_flag` int DEFAULT NULL COMMENT '0未上传1上传', + PRIMARY KEY (`id`) USING BTREE +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC COMMENT='电表小时';