You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.8 KiB

5 months ago
/*
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='电表小时';