|
|
@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
|
|
Navicat Premium Data Transfer
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Source Server : rszn-dev
|
|
|
|
|
|
|
|
Source Server Type : MySQL
|
|
|
|
|
|
|
|
Source Server Version : 80034
|
|
|
|
|
|
|
|
Source Host : 192.168.2.2:3306
|
|
|
|
|
|
|
|
Source Schema : huanneng_dev
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Target Server Type : MySQL
|
|
|
|
|
|
|
|
Target Server Version : 80034
|
|
|
|
|
|
|
|
File Encoding : 65001
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Date: 02/07/2024 11:33:14
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SET NAMES utf8mb4;
|
|
|
|
|
|
|
|
SET FOREIGN_KEY_CHECKS = 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
|
|
|
-- Table structure for move_bin_record
|
|
|
|
|
|
|
|
-- ----------------------------
|
|
|
|
|
|
|
|
DROP TABLE IF EXISTS `move_bin_record`;
|
|
|
|
|
|
|
|
CREATE TABLE `move_bin_record` (
|
|
|
|
|
|
|
|
`id` int(0) NOT NULL AUTO_INCREMENT COMMENT 'id',
|
|
|
|
|
|
|
|
`in_bin_no` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
|
|
|
|
|
|
|
`in_battery_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '失败原因',
|
|
|
|
|
|
|
|
`in_battery_soc` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '创建人',
|
|
|
|
|
|
|
|
`created_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
|
|
|
|
|
|
|
`updated_by` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '更新人',
|
|
|
|
|
|
|
|
`updated_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
|
|
|
|
|
|
|
|
`up_bin_no` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
|
|
|
|
|
|
|
`up_battery_no` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '出倉電池no',
|
|
|
|
|
|
|
|
`up_battery_soc` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
|
|
|
|
|
|
|
`status` int(0) NULL DEFAULT NULL COMMENT '0:初始化 1:進行中 2:成功 3:失敗',
|
|
|
|
|
|
|
|
`created_by` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
|
|
|
|
|
|
|
`type` int(0) NULL DEFAULT NULL COMMENT '0:自动 1:手动',
|
|
|
|
|
|
|
|
PRIMARY KEY (`id`) USING BTREE
|
|
|
|
|
|
|
|
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|