/* Navicat Premium Dump SQL Source Server : localhost Source Server Type : MySQL Source Server Version : 50728 (5.7.28-log) Source Host : localhost:3306 Source Schema : zuihou_base_yj_0000 Target Server Type : MySQL Target Server Version : 50728 (5.7.28-log) File Encoding : 65001 Date: 13/11/2024 02:54:20 */ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Table structure for device_state_record -- ---------------------------- DROP TABLE IF EXISTS `device_state_record`; CREATE TABLE `device_state_record` ( `id` bigint(24) NOT NULL, `machine_id` bigint(24) NOT NULL, `device_ip` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL, `device_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL, `device_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL, `start_timne` datetime NULL DEFAULT NULL, `end_time` datetime NULL DEFAULT NULL, `device_state` int(11) NOT NULL COMMENT '设备状态(0-空闲 1-加工 2-故障 3-离线)', `create_date` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL, `create_time` datetime NULL DEFAULT NULL, `create_user` bigint(20) NULL DEFAULT NULL, `update_time` datetime NULL DEFAULT NULL, `update_user` bigint(20) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic; -- ---------------------------- -- Records of device_state_record -- ---------------------------- SET FOREIGN_KEY_CHECKS = 1;