严智鑫
2025-04-22 e45d0852eff0e494e232ffcc60e0c190acb28801
Merge branch 'master' of http://159.223.171.199:10439/r/Haier_MES_II
5个文件已修改
1378 ■■■■ 已修改文件
gmms.sql 784 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
gmms/WebContent/bigScreen/allGlassflash.jsp 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
gmms/WebContent/bigScreen/twoglassCut.jsp 558 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
gmms/WebContent/js/mixins.js 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
gmms/WebContent/qiegeguanli/qiegerenwu.jsp 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
gmms.sql
@@ -1,7 +1,7 @@
/*
 Navicat MySQL Data Transfer
 Source Server         : 本地服务器8.0.25
 Source Server         : demo
 Source Server Type    : MySQL
 Source Server Version : 80022
 Source Host           : localhost:3306
@@ -11,7 +11,7 @@
 Target Server Version : 80022
 File Encoding         : 65001
 Date: 19/04/2025 09:56:10
 Date: 22/04/2025 08:35:50
*/
SET NAMES utf8mb4;
@@ -26,7 +26,7 @@
  `ziduan1` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
  `ziduan2` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
  PRIMARY KEY (`ID`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3328063 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 3328063 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of ceshi
@@ -128703,7 +128703,7 @@
  `machine_id` bigint NULL DEFAULT NULL COMMENT '机器编号\r\n',
  `mod_time` datetime(0) NULL DEFAULT NULL COMMENT '下次时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of consumables
@@ -128721,7 +128721,7 @@
  `message` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '通讯内容',
  `mod_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of d
@@ -128736,7 +128736,7 @@
  `ng` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  PRIMARY KEY (`machine_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of defect_record
@@ -128754,7 +128754,7 @@
  `createdate` datetime(0) NULL DEFAULT NULL,
  `yuju` longtext CHARACTER SET utf8 COLLATE utf8_general_ci NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3300 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 3410 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of errsql
@@ -132006,6 +132006,116 @@
INSERT INTO `errsql` VALUES (3297, 'java.sql.SQLSyntaxErrorException: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column \'gmms.mc.machine_id\' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by', NULL, '大屏显示', '2025-01-02 08:16:52', NULL);
INSERT INTO `errsql` VALUES (3298, 'java.sql.SQLSyntaxErrorException: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column \'gmms.mc.machine_id\' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by', NULL, '大屏显示', '2025-01-02 08:16:57', NULL);
INSERT INTO `errsql` VALUES (3299, 'java.sql.SQLSyntaxErrorException: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column \'gmms.mc.machine_id\' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by', NULL, '大屏显示', '2025-01-02 08:17:02', NULL);
INSERT INTO `errsql` VALUES (3300, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:17:50', NULL);
INSERT INTO `errsql` VALUES (3301, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:18:50', NULL);
INSERT INTO `errsql` VALUES (3302, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:19:50', NULL);
INSERT INTO `errsql` VALUES (3303, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:20:50', NULL);
INSERT INTO `errsql` VALUES (3304, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:21:50', NULL);
INSERT INTO `errsql` VALUES (3305, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:22:50', NULL);
INSERT INTO `errsql` VALUES (3306, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:23:50', NULL);
INSERT INTO `errsql` VALUES (3307, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:24:50', NULL);
INSERT INTO `errsql` VALUES (3308, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:25:50', NULL);
INSERT INTO `errsql` VALUES (3309, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:26:50', NULL);
INSERT INTO `errsql` VALUES (3310, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:27:50', NULL);
INSERT INTO `errsql` VALUES (3311, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:28:50', NULL);
INSERT INTO `errsql` VALUES (3312, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:29:50', NULL);
INSERT INTO `errsql` VALUES (3313, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:30:50', NULL);
INSERT INTO `errsql` VALUES (3314, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:31:50', NULL);
INSERT INTO `errsql` VALUES (3315, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:32:50', NULL);
INSERT INTO `errsql` VALUES (3316, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:33:50', NULL);
INSERT INTO `errsql` VALUES (3317, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:34:50', NULL);
INSERT INTO `errsql` VALUES (3318, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:35:50', NULL);
INSERT INTO `errsql` VALUES (3319, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:36:50', NULL);
INSERT INTO `errsql` VALUES (3320, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:37:50', NULL);
INSERT INTO `errsql` VALUES (3321, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:38:50', NULL);
INSERT INTO `errsql` VALUES (3322, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:39:50', NULL);
INSERT INTO `errsql` VALUES (3323, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:40:50', NULL);
INSERT INTO `errsql` VALUES (3324, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:41:50', NULL);
INSERT INTO `errsql` VALUES (3325, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:42:50', NULL);
INSERT INTO `errsql` VALUES (3326, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:43:50', NULL);
INSERT INTO `errsql` VALUES (3327, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:44:50', NULL);
INSERT INTO `errsql` VALUES (3328, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:45:50', NULL);
INSERT INTO `errsql` VALUES (3329, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:46:50', NULL);
INSERT INTO `errsql` VALUES (3330, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:47:50', NULL);
INSERT INTO `errsql` VALUES (3331, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:48:50', NULL);
INSERT INTO `errsql` VALUES (3332, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:49:50', NULL);
INSERT INTO `errsql` VALUES (3333, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:51:50', NULL);
INSERT INTO `errsql` VALUES (3334, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:52:50', NULL);
INSERT INTO `errsql` VALUES (3335, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:53:50', NULL);
INSERT INTO `errsql` VALUES (3336, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:54:50', NULL);
INSERT INTO `errsql` VALUES (3337, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:55:50', NULL);
INSERT INTO `errsql` VALUES (3338, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:56:50', NULL);
INSERT INTO `errsql` VALUES (3339, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:57:50', NULL);
INSERT INTO `errsql` VALUES (3340, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:58:50', NULL);
INSERT INTO `errsql` VALUES (3341, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 14:59:50', NULL);
INSERT INTO `errsql` VALUES (3342, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:00:50', NULL);
INSERT INTO `errsql` VALUES (3343, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:01:50', NULL);
INSERT INTO `errsql` VALUES (3344, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:02:50', NULL);
INSERT INTO `errsql` VALUES (3345, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:03:50', NULL);
INSERT INTO `errsql` VALUES (3346, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:04:50', NULL);
INSERT INTO `errsql` VALUES (3347, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:05:50', NULL);
INSERT INTO `errsql` VALUES (3348, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:06:50', NULL);
INSERT INTO `errsql` VALUES (3349, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:07:50', NULL);
INSERT INTO `errsql` VALUES (3350, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:08:50', NULL);
INSERT INTO `errsql` VALUES (3351, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:09:50', NULL);
INSERT INTO `errsql` VALUES (3352, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:10:50', NULL);
INSERT INTO `errsql` VALUES (3353, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:11:50', NULL);
INSERT INTO `errsql` VALUES (3354, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:12:50', NULL);
INSERT INTO `errsql` VALUES (3355, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:13:50', NULL);
INSERT INTO `errsql` VALUES (3356, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:14:50', NULL);
INSERT INTO `errsql` VALUES (3357, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:15:50', NULL);
INSERT INTO `errsql` VALUES (3358, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:16:50', NULL);
INSERT INTO `errsql` VALUES (3359, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:17:50', NULL);
INSERT INTO `errsql` VALUES (3360, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:18:50', NULL);
INSERT INTO `errsql` VALUES (3361, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:19:50', NULL);
INSERT INTO `errsql` VALUES (3362, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:20:50', NULL);
INSERT INTO `errsql` VALUES (3363, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:21:50', NULL);
INSERT INTO `errsql` VALUES (3364, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:22:50', NULL);
INSERT INTO `errsql` VALUES (3365, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:23:50', NULL);
INSERT INTO `errsql` VALUES (3366, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:24:50', NULL);
INSERT INTO `errsql` VALUES (3367, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:25:50', NULL);
INSERT INTO `errsql` VALUES (3368, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:26:50', NULL);
INSERT INTO `errsql` VALUES (3369, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:27:50', NULL);
INSERT INTO `errsql` VALUES (3370, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:28:50', NULL);
INSERT INTO `errsql` VALUES (3371, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:29:50', NULL);
INSERT INTO `errsql` VALUES (3372, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:30:50', NULL);
INSERT INTO `errsql` VALUES (3373, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:31:50', NULL);
INSERT INTO `errsql` VALUES (3374, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:32:50', NULL);
INSERT INTO `errsql` VALUES (3375, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:33:50', NULL);
INSERT INTO `errsql` VALUES (3376, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:34:50', NULL);
INSERT INTO `errsql` VALUES (3377, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:35:50', NULL);
INSERT INTO `errsql` VALUES (3378, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:36:50', NULL);
INSERT INTO `errsql` VALUES (3379, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:37:50', NULL);
INSERT INTO `errsql` VALUES (3380, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:38:50', NULL);
INSERT INTO `errsql` VALUES (3381, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:39:50', NULL);
INSERT INTO `errsql` VALUES (3382, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:40:50', NULL);
INSERT INTO `errsql` VALUES (3383, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:41:50', NULL);
INSERT INTO `errsql` VALUES (3384, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:42:50', NULL);
INSERT INTO `errsql` VALUES (3385, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:43:50', NULL);
INSERT INTO `errsql` VALUES (3386, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:44:50', NULL);
INSERT INTO `errsql` VALUES (3387, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:45:50', NULL);
INSERT INTO `errsql` VALUES (3388, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:46:50', NULL);
INSERT INTO `errsql` VALUES (3389, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:47:50', NULL);
INSERT INTO `errsql` VALUES (3390, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:48:50', NULL);
INSERT INTO `errsql` VALUES (3391, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:49:50', NULL);
INSERT INTO `errsql` VALUES (3392, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:50:50', NULL);
INSERT INTO `errsql` VALUES (3393, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:51:50', NULL);
INSERT INTO `errsql` VALUES (3394, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:52:50', NULL);
INSERT INTO `errsql` VALUES (3395, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:53:50', NULL);
INSERT INTO `errsql` VALUES (3396, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:54:50', NULL);
INSERT INTO `errsql` VALUES (3397, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:55:50', NULL);
INSERT INTO `errsql` VALUES (3398, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:56:50', NULL);
INSERT INTO `errsql` VALUES (3399, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:57:50', NULL);
INSERT INTO `errsql` VALUES (3400, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:58:50', NULL);
INSERT INTO `errsql` VALUES (3401, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 15:59:50', NULL);
INSERT INTO `errsql` VALUES (3402, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 16:00:50', NULL);
INSERT INTO `errsql` VALUES (3403, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 16:01:50', NULL);
INSERT INTO `errsql` VALUES (3404, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 16:02:50', NULL);
INSERT INTO `errsql` VALUES (3405, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 16:03:50', NULL);
INSERT INTO `errsql` VALUES (3406, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 16:04:50', NULL);
INSERT INTO `errsql` VALUES (3407, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 16:05:50', NULL);
INSERT INTO `errsql` VALUES (3408, 'java.sql.SQLSyntaxErrorException: Unknown column \'overnum\' in \'field list\'', NULL, '设备产量', '2025-04-18 16:06:50', NULL);
INSERT INTO `errsql` VALUES (3409, 'java.sql.SQLSyntaxErrorException: Unknown column \'od.largeglass_lenght\' in \'field list\'', NULL, '任务查询成功', '2025-04-19 08:56:35', NULL);
-- ----------------------------
-- Table structure for face_recognition
@@ -132015,7 +132125,7 @@
  `shebei` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `user_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `times` datetime(0) NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of face_recognition
@@ -132034,7 +132144,7 @@
DROP TABLE IF EXISTS `face_recognition_time`;
CREATE TABLE `face_recognition_time`  (
  `create_time` datetime(0) NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of face_recognition_time
@@ -132050,12 +132160,28 @@
  `glass_id` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '玻璃类型',
  `flag` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '标记',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 74 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 74 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of glass_number_color
-- ----------------------------
INSERT INTO `glass_number_color` VALUES (1, '白玻', '0');
-- ----------------------------
-- Table structure for halt
-- ----------------------------
DROP TABLE IF EXISTS `halt`;
CREATE TABLE `halt`  (
  `id` bigint NOT NULL COMMENT '停机表id',
  `machine_id` int NULL DEFAULT NULL COMMENT '设备id',
  `num` int NULL DEFAULT NULL COMMENT '时长分钟',
  `createTime` datetime(0) NULL DEFAULT NULL COMMENT '停机时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of halt
-- ----------------------------
-- ----------------------------
-- Table structure for load_rack
@@ -132071,7 +132197,7 @@
  `type_falg` int NOT NULL DEFAULT 0 COMMENT '上片位类型',
  `groups` bigint NOT NULL COMMENT '线路',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of load_rack
@@ -132102,37 +132228,37 @@
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `machine_type_id`(`machine_type_id`) USING BTREE,
  CONSTRAINT `machine_ibfk_1` FOREIGN KEY (`machine_type_id`) REFERENCES `machine_type` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 81 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 81 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of machine
-- ----------------------------
INSERT INTO `machine` VALUES (1, 'A1仓储', 1, '192.168.30.1', 502, '已连接', '暂停', 1, '0', 90, 0, NULL, 3);
INSERT INTO `machine` VALUES (2, 'A2上片', 2, '192.168.30.6', 502, '已连接', '暂停', 0, '1', 90, 0, NULL, 3);
INSERT INTO `machine` VALUES (4, 'A3掰片片台组', 4, '192.168.30.14', 102, '已连接', '暂停', 1, '0', 134, 34, 'DB34.0', 11);
INSERT INTO `machine` VALUES (5, '磨边机', 5, '192.168.30.46', 502, '已连接', '暂停', 1, '0', 42, 1700, NULL, 3);
INSERT INTO `machine` VALUES (6, '倒角机', 6, '192.168.30.57', 102, '已连接', '暂停', 1, '0', 100, 3200, 'DB1.1600', 10);
INSERT INTO `machine` VALUES (2, 'A2上片', 2, '192.168.30.1', 502, '已连接', '暂停', 0, '0', 100, 0, NULL, 3);
INSERT INTO `machine` VALUES (4, 'A3掰片片台组', 4, '192.168.30.14', 102, '已连接', '暂停', 1, '0', 134, 34, 'DB34.0', 3);
INSERT INTO `machine` VALUES (5, '磨边机', 5, '192.168.30.46', 502, '正在连接', '暂停', 1, '0', 42, 1700, NULL, 3);
INSERT INTO `machine` VALUES (6, '倒角机', 6, '192.168.30.57', 102, '已连接', '暂停', 1, '0', 100, 3200, 'DB1.1600', 3);
INSERT INTO `machine` VALUES (7, '钻孔机', 7, '192.168.30.1', 502, '已连接', '暂停', 1, '0', 100, 0, NULL, 3);
INSERT INTO `machine` VALUES (8, 'CB4钻孔片台组', 8, '192.168.30.72', 102, '已连接', '暂停', 1, '0', 100, 20, 'DB20.0', 12);
INSERT INTO `machine` VALUES (9, '激光', 9, '192.168.30.117', 502, '正在连接', '暂停', 1, '0', 240, 8000, NULL, 3);
INSERT INTO `machine` VALUES (10, '激光段片台组', 10, '192.168.30.93', 102, '已连接', '暂停', 1, '0', 100, 16, 'DB16.0', 12);
INSERT INTO `machine` VALUES (11, '加工中心', 11, '192.168.30.150', 502, '已连接', '暂停', 1, '0', 150, 0, NULL, 3);
INSERT INTO `machine` VALUES (12, '加工中心片台组', 12, '192.168.30.127', 102, '已连接', '暂停', 1, '0', 150, 17, 'DB17.0', 12);
INSERT INTO `machine` VALUES (13, '贴膜机', 13, '192.168.30.205', 102, '已连接', '暂停', 1, '0', 160, 4000, 'DB1.2000', 10);
INSERT INTO `machine` VALUES (8, 'CB4钻孔片台组', 8, '192.168.30.72', 102, '已连接', '暂停', 1, '0', 100, 20, 'DB20.0', 3);
INSERT INTO `machine` VALUES (9, '激光', 9, '192.168.30.117', 502, '正在连接', '暂停', 1, '1', 240, 8000, NULL, 3);
INSERT INTO `machine` VALUES (10, '激光段片台组', 10, '192.168.30.93', 102, '已连接', '暂停', 1, '0', 100, 16, 'DB16.0', 3);
INSERT INTO `machine` VALUES (11, '加工中心', 11, '192.168.30.1', 502, '已连接', '暂停', 1, '0', 150, 0, NULL, 3);
INSERT INTO `machine` VALUES (12, '加工中心片台组', 12, '192.168.30.127', 102, '已连接', '暂停', 1, '0', 150, 17, 'DB17.0', 3);
INSERT INTO `machine` VALUES (13, '贴膜机', 13, '192.168.30.205', 102, '已连接', '暂停', 1, '0', 160, 4000, 'DB1.2000', 3);
INSERT INTO `machine` VALUES (14, '清洗机1', 14, '192.168.30.66', 502, '已连接', '暂停', 1, '0', 100, 0, NULL, 3);
INSERT INTO `machine` VALUES (15, '清洗机2', 14, '192.168.30.1', 502, '已连接', '暂停', 1, '0', 100, 0, NULL, 3);
INSERT INTO `machine` VALUES (16, '清洗机3', 14, '192.168.30.1', 502, '已连接', '暂停', 1, '0', 100, 0, NULL, 3);
INSERT INTO `machine` VALUES (17, '清洗机4', 14, '192.168.30.1', 502, '已连接', '暂停', 1, '0', 100, 0, NULL, 3);
INSERT INTO `machine` VALUES (18, '丝印1', 15, '192.168.30.173', 502, '正在连接', '暂停', 1, '0', 100, 10000, NULL, 3);
INSERT INTO `machine` VALUES (19, '烘干1', 16, '192.168.30.175', 502, '正在连接', '暂停', 1, '0', 100, 10000, NULL, 3);
INSERT INTO `machine` VALUES (20, '丝印2', 15, '192.168.30.177', 502, '正在连接', '暂停', 1, '0', 100, 10000, NULL, 3);
INSERT INTO `machine` VALUES (21, '烘干2', 17, '192.168.30.251', 502, '正在连接', '暂停', 1, '0', 100, 10000, NULL, 3);
INSERT INTO `machine` VALUES (22, '丝印3', 15, '192.168.30.197', 502, '正在连接', '暂停', 1, '0', 100, 10000, NULL, 3);
INSERT INTO `machine` VALUES (23, '烘干3', 18, '192.168.30.199', 502, '正在连接', '暂停', 1, '0', 100, 10000, NULL, 3);
INSERT INTO `machine` VALUES (24, '丝印4', 15, '192.168.30.201', 502, '正在连接', '暂停', 1, '0', 100, 10000, NULL, 3);
INSERT INTO `machine` VALUES (25, '烘干4', 19, '192.168.30.253', 502, '正在连接', '暂停', 1, '0', 100, 10000, NULL, 3);
INSERT INTO `machine` VALUES (26, '下片堆垛机', 20, '192.168.30.246', 102, '已连接', '暂停', 1, '0', 100, 0, 'DB1.500', 10);
INSERT INTO `machine` VALUES (27, 'CB9片台组', 21, '192.168.30.228', 102, '已连接', '暂停', 1, '0', 100, 20, 'DB16.0', 12);
INSERT INTO `machine` VALUES (18, '丝印1', 15, '192.168.30.173', 502, '已连接', '暂停', 1, '0', 100, 10000, NULL, 3);
INSERT INTO `machine` VALUES (19, '烘干1', 16, '192.168.30.175', 502, '已连接', '暂停', 1, '0', 100, 10000, NULL, 3);
INSERT INTO `machine` VALUES (20, '丝印2', 15, '192.168.30.177', 502, '已连接', '暂停', 1, '0', 100, 10000, NULL, 3);
INSERT INTO `machine` VALUES (21, '烘干2', 17, '192.168.30.251', 502, '已连接', '暂停', 1, '0', 100, 10000, NULL, 3);
INSERT INTO `machine` VALUES (22, '丝印3', 15, '192.168.30.197', 502, '已连接', '暂停', 1, '0', 100, 10000, NULL, 3);
INSERT INTO `machine` VALUES (23, '烘干3', 18, '192.168.30.199', 502, '已连接', '暂停', 1, '0', 100, 10000, NULL, 3);
INSERT INTO `machine` VALUES (24, '丝印4', 15, '192.168.30.201', 502, '已连接', '暂停', 1, '0', 100, 10000, NULL, 3);
INSERT INTO `machine` VALUES (25, '烘干4', 19, '192.168.30.253', 502, '已连接', '暂停', 1, '0', 100, 10000, NULL, 3);
INSERT INTO `machine` VALUES (26, '下片堆垛机', 20, '192.168.30.246', 102, '已连接', '暂停', 1, '0', 100, 0, 'DB1.500', 3);
INSERT INTO `machine` VALUES (27, 'CB9片台组', 21, '192.168.30.228', 102, '已连接', '暂停', 1, '0', 100, 20, 'DB16.0', 3);
-- ----------------------------
-- Table structure for machine_analysis
@@ -132146,7 +132272,7 @@
  `class_html` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `leixing` int NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2748 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 2748 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of machine_analysis
@@ -132258,7 +132384,7 @@
INSERT INTO `machine_analysis` VALUES (808, 5, 30, 'W1玻璃状态', 'A16', 1);
INSERT INTO `machine_analysis` VALUES (809, 5, 32, 'W2玻璃状态', 'A17', 1);
INSERT INTO `machine_analysis` VALUES (810, 5, 34, 'W1磨边玻璃计数', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (811, 5, 36, 'W2磨边玻璃计数', 'A16', 1);
INSERT INTO `machine_analysis` VALUES (811, 5, 36, 'W2磨边玻璃计数', 'A16', 10);
INSERT INTO `machine_analysis` VALUES (812, 5, 38, 'W1故障内容', 'A17', 1);
INSERT INTO `machine_analysis` VALUES (813, 5, 40, 'W2故障内容', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (901, 6, 0, 'MES发送配方', 'A18', 1);
@@ -132343,38 +132469,6 @@
INSERT INTO `machine_analysis` VALUES (2344, 20, 86, 'MES发送配方', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2345, 20, 88, '禁止进入', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2346, 20, 90, '计数清零', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2401, 21, 0, '当前配方号', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2402, 21, 2, '14#设备状态', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2403, 21, 4, '15#设备状态', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2404, 21, 6, '烘干风冷设备状态', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2405, 21, 8, '18#设备状态', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2406, 21, 10, '19#设备状态', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2407, 21, 12, '20#设备状态', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2408, 21, 14, '21#设备状态', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2409, 21, 16, '42#设备状态', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2410, 21, 18, '14#玻璃数量', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2411, 21, 20, '15#玻璃数量', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2412, 21, 22, '烘干风冷玻璃数量', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2413, 21, 24, '18#玻璃数量', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2414, 21, 26, '19#玻璃数量', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2415, 21, 28, '20#玻璃数量', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2416, 21, 30, '21#玻璃数量', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2417, 21, 32, '21#储片数量', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2418, 21, 34, '42#玻璃数量', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2419, 21, 36, '烘干玻璃总数', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2420, 21, 38, '烘干玻璃总数', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2421, 21, 40, '14#故障内容', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2422, 21, 42, '15#故障内容', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2423, 21, 44, '烘干机故障内容1', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2424, 21, 46, '烘干机故障内容2', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2425, 21, 48, '18#故障内容', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2426, 21, 50, '19#故障内容', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2427, 21, 52, '20#故障内容', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2428, 21, 54, '21#故障内容', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2429, 21, 56, '42#故障内容', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2445, 21, 86, '任务配方', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2446, 21, 88, '禁止进片', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2447, 21, 90, '计数清零', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2501, 22, 0, '当前配方', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2502, 22, 2, '片台1设备状态', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2503, 22, 4, '片台2设备状态', 'A18', 1);
@@ -132394,28 +132488,6 @@
INSERT INTO `machine_analysis` VALUES (2544, 22, 86, 'MES发送配方', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2545, 22, 88, '禁止进入', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2546, 22, 90, '计数清零', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2601, 23, 0, '当前配方', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2602, 23, 2, '25#设备状态', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2603, 23, 4, '26#设备状态', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2604, 23, 6, '烘干风冷设备状态', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2605, 23, 8, '29#设备状态', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2606, 23, 10, '30#设备状态', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2607, 23, 12, '25#玻璃数量', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2608, 23, 14, '26#玻璃数量', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2609, 23, 16, '烘干风冷玻璃数量', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2610, 23, 18, '29#玻璃数量', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2611, 23, 20, '30#玻璃数量', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2612, 23, 22, '烘干玻璃总数', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2613, 23, 24, '烘干玻璃总数', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2614, 23, 26, '25#故障内容', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2615, 23, 28, '26#故障内容', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2616, 23, 30, '烘干机故障内容1', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2617, 23, 32, '烘干机故障内容2', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2618, 23, 34, '29#故障内容', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2619, 23, 36, '30#故障内容', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2645, 23, 86, 'MES发送配方', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2646, 23, 88, '禁止进入', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2647, 23, 90, '计数清零', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2701, 24, 0, '当前配方', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2702, 24, 2, '片台1设备状态', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2703, 24, 4, '片台2设备状态', 'A18', 1);
@@ -132435,28 +132507,6 @@
INSERT INTO `machine_analysis` VALUES (2745, 24, 86, 'MES发送配方', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2746, 24, 88, '禁止进入', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2747, 24, 90, '计数清零', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2801, 25, 0, '当前配方', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2802, 25, 2, '35#设备状态', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2803, 25, 4, '36#设备状态', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2804, 25, 6, '烘干风冷设备状态', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2805, 25, 8, '39#设备状态', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2806, 25, 10, '40#设备状态', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2807, 25, 12, '35#玻璃数量', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2808, 25, 14, '36#玻璃数量', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2809, 25, 16, '烘干风冷玻璃数量', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2810, 25, 18, '39#玻璃数量', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2811, 25, 20, '40#玻璃数量', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2812, 25, 22, '烘干玻璃总数', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2813, 25, 24, '烘干玻璃总数', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2814, 25, 26, '35#故障内容', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2815, 25, 28, '36#故障内容', 'A18', 1);
INSERT INTO `machine_analysis` VALUES (2816, 25, 30, '烘干机故障内容1', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2817, 25, 32, '烘干机故障内容2', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2818, 25, 34, '39#故障内容', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2819, 25, 36, '40#故障内容', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2845, 25, 86, 'MES发送配方', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2846, 25, 88, '禁止进入', 'A7', 1);
INSERT INTO `machine_analysis` VALUES (2847, 25, 90, '计数清零', 'A7', 1);
-- ----------------------------
-- Table structure for machine_content
@@ -132469,7 +132519,7 @@
  `finsh_time` datetime(0) NULL DEFAULT NULL,
  `class_html` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `leixing` int NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC STATS_AUTO_RECALC = 1;
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of machine_content
@@ -132484,6 +132534,85 @@
INSERT INTO `machine_content` VALUES (1, '0', NULL, '2025-04-02 09:35:57', 'A16', 1);
INSERT INTO `machine_content` VALUES (1, '0', NULL, '2025-04-02 09:35:57', 'A17', 1);
INSERT INTO `machine_content` VALUES (1, '0', NULL, '2025-04-02 09:35:57', 'A18', 1);
INSERT INTO `machine_content` VALUES (2, '0', NULL, '2025-04-02 09:35:57', 'A4', 1);
INSERT INTO `machine_content` VALUES (2, '0', NULL, '2025-04-02 09:35:57', 'A7', 1);
INSERT INTO `machine_content` VALUES (2, '0', NULL, '2025-04-02 09:35:57', 'A9', 1);
INSERT INTO `machine_content` VALUES (2, '0', NULL, '2025-04-02 09:35:57', 'A11', 1);
INSERT INTO `machine_content` VALUES (2, '0', NULL, '2025-04-02 09:35:57', 'A15', 1);
INSERT INTO `machine_content` VALUES (2, '0', NULL, '2025-04-02 09:35:57', 'A10', 1);
INSERT INTO `machine_content` VALUES (2, '0', NULL, '2025-04-02 09:35:57', 'A14', 1);
INSERT INTO `machine_content` VALUES (2, '0', NULL, '2025-04-02 09:35:57', 'A16', 1);
INSERT INTO `machine_content` VALUES (2, '0', NULL, '2025-04-02 09:35:57', 'A17', 1);
INSERT INTO `machine_content` VALUES (2, '0', NULL, '2025-04-02 09:35:57', 'A18', 1);
INSERT INTO `machine_content` VALUES (8, 'MES发送配方', 0, '2025-04-10 16:04:08', 'A18', 1);
INSERT INTO `machine_content` VALUES (8, 'MES发送清除计数', 0, '2025-04-10 16:04:08', 'A7', 1);
INSERT INTO `machine_content` VALUES (4, '0', 18, '2025-04-10 16:04:08', '0', 1);
INSERT INTO `machine_content` VALUES (4, '2', 2, '2025-04-10 16:04:08', '2', 1);
INSERT INTO `machine_content` VALUES (4, '4', 2, '2025-04-10 16:04:08', '4', 1);
INSERT INTO `machine_content` VALUES (4, '6', 2, '2025-04-10 16:04:08', '6', 1);
INSERT INTO `machine_content` VALUES (4, '8', 2, '2025-04-10 16:04:08', '8', 1);
INSERT INTO `machine_content` VALUES (4, '10', 2, '2025-04-10 16:04:08', '10', 1);
INSERT INTO `machine_content` VALUES (4, '12', 2, '2025-04-10 16:04:08', '12', 1);
INSERT INTO `machine_content` VALUES (4, '14', 2, '2025-04-10 16:04:08', '14', 1);
INSERT INTO `machine_content` VALUES (4, '16', 2, '2025-04-10 16:04:08', '16', 1);
INSERT INTO `machine_content` VALUES (4, '18', 2, '2025-04-10 16:04:08', '18', 1);
INSERT INTO `machine_content` VALUES (4, '20', 1, '2025-04-10 16:04:08', '20', 1);
INSERT INTO `machine_content` VALUES (4, '22', 1, '2025-04-10 16:04:08', '22', 1);
INSERT INTO `machine_content` VALUES (4, '24', 1, '2025-04-10 16:04:08', '24', 1);
INSERT INTO `machine_content` VALUES (4, '26', 1, '2025-04-10 16:04:08', '26', 1);
INSERT INTO `machine_content` VALUES (4, '28', 1, '2025-04-10 16:04:08', '28', 1);
INSERT INTO `machine_content` VALUES (4, '30', 1, '2025-04-10 16:04:08', '30', 1);
INSERT INTO `machine_content` VALUES (4, '32', 1, '2025-04-10 16:04:08', '32', 1);
INSERT INTO `machine_content` VALUES (4, '34', 1, '2025-04-10 16:04:08', '34', 1);
INSERT INTO `machine_content` VALUES (4, '36', 1, '2025-04-10 16:04:08', '36', 1);
INSERT INTO `machine_content` VALUES (4, '38', 1, '2025-04-10 16:04:08', '38', 1);
INSERT INTO `machine_content` VALUES (4, '40', 1, '2025-04-10 16:04:08', '40', 1);
INSERT INTO `machine_content` VALUES (4, '42', 1, '2025-04-10 16:04:08', '42', 1);
INSERT INTO `machine_content` VALUES (4, '44', 1, '2025-04-10 16:04:08', '44', 1);
INSERT INTO `machine_content` VALUES (4, '46', 1, '2025-04-10 16:04:08', '46', 1);
INSERT INTO `machine_content` VALUES (4, '48', 1, '2025-04-10 16:04:08', '48', 1);
INSERT INTO `machine_content` VALUES (4, '50', 121, '2025-04-10 16:04:08', '50', 1);
INSERT INTO `machine_content` VALUES (4, '52', 0, '2025-04-10 16:04:08', '52', 1);
INSERT INTO `machine_content` VALUES (4, '54', 350, '2025-04-10 16:04:08', '54', 1);
INSERT INTO `machine_content` VALUES (4, '56', 350, '2025-04-10 16:04:08', '56', 1);
INSERT INTO `machine_content` VALUES (4, '58', 0, '2025-04-10 16:04:08', '58', 1);
INSERT INTO `machine_content` VALUES (4, '60', 0, '2025-04-10 16:04:08', '60', 1);
INSERT INTO `machine_content` VALUES (4, '62', 350, '2025-04-10 16:04:08', '62', 1);
INSERT INTO `machine_content` VALUES (4, '64', 0, '2025-04-10 16:04:08', '64', 1);
INSERT INTO `machine_content` VALUES (4, '66', 0, '2025-04-10 16:04:08', '66', 1);
INSERT INTO `machine_content` VALUES (4, '68', 0, '2025-04-10 16:04:08', '68', 1);
INSERT INTO `machine_content` VALUES (4, '70', 0, '2025-04-10 16:04:08', '70', 1);
INSERT INTO `machine_content` VALUES (4, '72', 0, '2025-04-10 16:04:08', '72', 1);
INSERT INTO `machine_content` VALUES (4, '74', 0, '2025-04-10 16:04:08', '74', 1);
INSERT INTO `machine_content` VALUES (4, '76', 0, '2025-04-10 16:04:08', '76', 1);
INSERT INTO `machine_content` VALUES (4, '78', 0, '2025-04-10 16:04:08', '78', 1);
INSERT INTO `machine_content` VALUES (4, '80', 0, '2025-04-10 16:04:08', '80', 1);
INSERT INTO `machine_content` VALUES (4, '82', 0, '2025-04-10 16:04:08', '82', 1);
INSERT INTO `machine_content` VALUES (4, '84', 0, '2025-04-10 16:04:08', '84', 1);
INSERT INTO `machine_content` VALUES (4, '86', 0, '2025-04-10 16:04:08', '86', 1);
INSERT INTO `machine_content` VALUES (4, '88', 0, '2025-04-10 16:04:08', '88', 1);
INSERT INTO `machine_content` VALUES (4, '90', 0, '2025-04-10 16:04:08', '90', 1);
INSERT INTO `machine_content` VALUES (4, '92', 0, '2025-04-10 16:04:08', '92', 1);
INSERT INTO `machine_content` VALUES (4, '94', 0, '2025-04-10 16:04:08', '94', 1);
INSERT INTO `machine_content` VALUES (4, '96', 0, '2025-04-10 16:04:08', '96', 1);
INSERT INTO `machine_content` VALUES (4, '98', 0, '2025-04-10 16:04:08', '98', 1);
INSERT INTO `machine_content` VALUES (4, '100', 0, '2025-04-10 16:04:08', '100', 1);
INSERT INTO `machine_content` VALUES (4, '102', 460, '2025-04-10 16:04:08', '102', 1);
INSERT INTO `machine_content` VALUES (4, '104', 0, '2025-04-10 16:04:08', '104', 1);
INSERT INTO `machine_content` VALUES (4, '106', 0, '2025-04-10 16:04:08', '106', 1);
INSERT INTO `machine_content` VALUES (4, '108', 0, '2025-04-10 16:04:08', '108', 1);
INSERT INTO `machine_content` VALUES (4, '110', 0, '2025-04-10 16:04:08', '110', 1);
INSERT INTO `machine_content` VALUES (4, '112', 0, '2025-04-10 16:04:08', '112', 1);
INSERT INTO `machine_content` VALUES (4, '114', 0, '2025-04-10 16:04:08', '114', 1);
INSERT INTO `machine_content` VALUES (4, '116', 0, '2025-04-10 16:04:08', '116', 1);
INSERT INTO `machine_content` VALUES (4, '118', 0, '2025-04-10 16:04:08', '118', 1);
INSERT INTO `machine_content` VALUES (4, '120', 0, '2025-04-10 16:04:08', '120', 1);
INSERT INTO `machine_content` VALUES (4, 'MES发送配方', 0, '2025-04-10 16:04:08', '122', 1);
INSERT INTO `machine_content` VALUES (4, 'MES发送清除计数', 0, '2025-04-10 16:04:08', '124', 1);
INSERT INTO `machine_content` VALUES (4, 'MES发送磨边速度', 53, '2025-04-10 16:04:08', '126', 1);
INSERT INTO `machine_content` VALUES (4, '128', 0, '2025-04-10 16:04:08', '128', 1);
INSERT INTO `machine_content` VALUES (4, '130', 0, '2025-04-10 16:04:08', '130', 1);
INSERT INTO `machine_content` VALUES (4, '132', 0, '2025-04-10 16:04:08', '132', 1);
INSERT INTO `machine_content` VALUES (9, 'MES发送配方', 0, '2025-04-12 14:32:04', 'A18', 1);
INSERT INTO `machine_content` VALUES (9, 'MES发送清除计数', 0, '2025-04-12 14:32:04', 'A7', 1);
INSERT INTO `machine_content` VALUES (9, '紧急停止', 0, '2025-04-12 14:32:04', 'A7', 1);
@@ -132497,105 +132626,26 @@
INSERT INTO `machine_content` VALUES (9, '加温片台-玻璃状态', 0, '2025-04-12 14:32:04', 'A7', 1);
INSERT INTO `machine_content` VALUES (9, '破片片台-玻璃状态', 0, '2025-04-12 14:32:04', 'A7', 1);
INSERT INTO `machine_content` VALUES (9, '故障内容', 0, '2025-04-12 14:32:04', 'A7', 1);
INSERT INTO `machine_content` VALUES (8, 'MES发送配方', 0, '2025-04-19 08:54:16', 'A18', 1);
INSERT INTO `machine_content` VALUES (8, 'MES发送清除计数', 0, '2025-04-19 08:54:16', 'A7', 1);
INSERT INTO `machine_content` VALUES (6, 'MES发送配方', 0, '2025-04-19 08:54:16', 'A18', 1);
INSERT INTO `machine_content` VALUES (6, 'MES发送清除计数', 0, '2025-04-19 08:54:16', 'A7', 1);
INSERT INTO `machine_content` VALUES (6, '紧急停止', 0, '2025-04-19 08:54:16', 'A9', 1);
INSERT INTO `machine_content` VALUES (6, '当前配方', 0, '2025-04-19 08:54:16', 'A18', 1);
INSERT INTO `machine_content` VALUES (6, '倒角完成计数', 0, '2025-04-19 08:54:16', 'A7', 1);
INSERT INTO `machine_content` VALUES (6, '入片当前速度', 34633, '2025-04-19 08:54:16', 'A9', 1);
INSERT INTO `machine_content` VALUES (6, '出片当前速度', 20, '2025-04-19 08:54:16', 'A9', 1);
INSERT INTO `machine_content` VALUES (4, '0', 18, '2025-04-19 08:54:16', '0', 1);
INSERT INTO `machine_content` VALUES (4, '2', 3, '2025-04-19 08:54:16', '2', 1);
INSERT INTO `machine_content` VALUES (4, '4', 3, '2025-04-19 08:54:16', '4', 1);
INSERT INTO `machine_content` VALUES (4, '6', 3, '2025-04-19 08:54:16', '6', 1);
INSERT INTO `machine_content` VALUES (4, '8', 3, '2025-04-19 08:54:16', '8', 1);
INSERT INTO `machine_content` VALUES (4, '10', 3, '2025-04-19 08:54:16', '10', 1);
INSERT INTO `machine_content` VALUES (4, '12', 3, '2025-04-19 08:54:16', '12', 1);
INSERT INTO `machine_content` VALUES (4, '14', 3, '2025-04-19 08:54:16', '14', 1);
INSERT INTO `machine_content` VALUES (4, '16', 3, '2025-04-19 08:54:16', '16', 1);
INSERT INTO `machine_content` VALUES (4, '18', 3, '2025-04-19 08:54:16', '18', 1);
INSERT INTO `machine_content` VALUES (4, '20', 0, '2025-04-19 08:54:16', '20', 1);
INSERT INTO `machine_content` VALUES (4, '22', 0, '2025-04-19 08:54:16', '22', 1);
INSERT INTO `machine_content` VALUES (4, '24', 0, '2025-04-19 08:54:16', '24', 1);
INSERT INTO `machine_content` VALUES (4, '26', 0, '2025-04-19 08:54:16', '26', 1);
INSERT INTO `machine_content` VALUES (4, '28', 0, '2025-04-19 08:54:16', '28', 1);
INSERT INTO `machine_content` VALUES (4, '30', 0, '2025-04-19 08:54:16', '30', 1);
INSERT INTO `machine_content` VALUES (4, '32', 0, '2025-04-19 08:54:16', '32', 1);
INSERT INTO `machine_content` VALUES (4, '34', 0, '2025-04-19 08:54:16', '34', 1);
INSERT INTO `machine_content` VALUES (4, '36', 1, '2025-04-19 08:54:16', '36', 1);
INSERT INTO `machine_content` VALUES (4, '38', 0, '2025-04-19 08:54:16', '38', 1);
INSERT INTO `machine_content` VALUES (4, '40', 0, '2025-04-19 08:54:16', '40', 1);
INSERT INTO `machine_content` VALUES (4, '42', 0, '2025-04-19 08:54:16', '42', 1);
INSERT INTO `machine_content` VALUES (4, '44', 0, '2025-04-19 08:54:16', '44', 1);
INSERT INTO `machine_content` VALUES (4, '46', 1, '2025-04-19 08:54:16', '46', 1);
INSERT INTO `machine_content` VALUES (4, '48', 0, '2025-04-19 08:54:16', '48', 1);
INSERT INTO `machine_content` VALUES (4, '50', 121, '2025-04-19 08:54:16', '50', 1);
INSERT INTO `machine_content` VALUES (4, '52', 0, '2025-04-19 08:54:16', '52', 1);
INSERT INTO `machine_content` VALUES (4, '54', 350, '2025-04-19 08:54:16', '54', 1);
INSERT INTO `machine_content` VALUES (4, '56', 350, '2025-04-19 08:54:16', '56', 1);
INSERT INTO `machine_content` VALUES (4, '58', 0, '2025-04-19 08:54:16', '58', 1);
INSERT INTO `machine_content` VALUES (4, '60', 0, '2025-04-19 08:54:16', '60', 1);
INSERT INTO `machine_content` VALUES (4, '62', 350, '2025-04-19 08:54:16', '62', 1);
INSERT INTO `machine_content` VALUES (4, '64', 0, '2025-04-19 08:54:16', '64', 1);
INSERT INTO `machine_content` VALUES (4, '66', 0, '2025-04-19 08:54:16', '66', 1);
INSERT INTO `machine_content` VALUES (4, '68', 0, '2025-04-19 08:54:16', '68', 1);
INSERT INTO `machine_content` VALUES (4, '70', 0, '2025-04-19 08:54:16', '70', 1);
INSERT INTO `machine_content` VALUES (4, '72', 0, '2025-04-19 08:54:16', '72', 1);
INSERT INTO `machine_content` VALUES (4, '74', 0, '2025-04-19 08:54:16', '74', 1);
INSERT INTO `machine_content` VALUES (4, '76', 0, '2025-04-19 08:54:16', '76', 1);
INSERT INTO `machine_content` VALUES (4, '78', 0, '2025-04-19 08:54:16', '78', 1);
INSERT INTO `machine_content` VALUES (4, '80', 0, '2025-04-19 08:54:16', '80', 1);
INSERT INTO `machine_content` VALUES (4, '82', 0, '2025-04-19 08:54:16', '82', 1);
INSERT INTO `machine_content` VALUES (4, '84', 0, '2025-04-19 08:54:16', '84', 1);
INSERT INTO `machine_content` VALUES (4, '86', 0, '2025-04-19 08:54:16', '86', 1);
INSERT INTO `machine_content` VALUES (4, '88', 0, '2025-04-19 08:54:16', '88', 1);
INSERT INTO `machine_content` VALUES (4, '90', 0, '2025-04-19 08:54:16', '90', 1);
INSERT INTO `machine_content` VALUES (4, '92', 0, '2025-04-19 08:54:16', '92', 1);
INSERT INTO `machine_content` VALUES (4, '94', 0, '2025-04-19 08:54:16', '94', 1);
INSERT INTO `machine_content` VALUES (4, '96', 0, '2025-04-19 08:54:16', '96', 1);
INSERT INTO `machine_content` VALUES (4, '98', 0, '2025-04-19 08:54:16', '98', 1);
INSERT INTO `machine_content` VALUES (4, '100', 0, '2025-04-19 08:54:16', '100', 1);
INSERT INTO `machine_content` VALUES (4, '102', 0, '2025-04-19 08:54:16', '102', 1);
INSERT INTO `machine_content` VALUES (4, '104', 0, '2025-04-19 08:54:16', '104', 1);
INSERT INTO `machine_content` VALUES (4, '106', 0, '2025-04-19 08:54:16', '106', 1);
INSERT INTO `machine_content` VALUES (4, '108', 0, '2025-04-19 08:54:16', '108', 1);
INSERT INTO `machine_content` VALUES (4, '110', 0, '2025-04-19 08:54:16', '110', 1);
INSERT INTO `machine_content` VALUES (4, '112', 0, '2025-04-19 08:54:16', '112', 1);
INSERT INTO `machine_content` VALUES (4, '114', 0, '2025-04-19 08:54:16', '114', 1);
INSERT INTO `machine_content` VALUES (4, '116', 0, '2025-04-19 08:54:16', '116', 1);
INSERT INTO `machine_content` VALUES (4, '118', 0, '2025-04-19 08:54:16', '118', 1);
INSERT INTO `machine_content` VALUES (4, '120', 0, '2025-04-19 08:54:16', '120', 1);
INSERT INTO `machine_content` VALUES (4, 'MES发送配方', 0, '2025-04-19 08:54:16', '122', 1);
INSERT INTO `machine_content` VALUES (4, 'MES发送清除计数', 0, '2025-04-19 08:54:16', '124', 1);
INSERT INTO `machine_content` VALUES (4, 'MES发送磨边速度', 0, '2025-04-19 08:54:16', '126', 1);
INSERT INTO `machine_content` VALUES (4, '128', 0, '2025-04-19 08:54:16', '128', 1);
INSERT INTO `machine_content` VALUES (4, '130', 0, '2025-04-19 08:54:16', '130', 1);
INSERT INTO `machine_content` VALUES (4, '132', 0, '2025-04-19 08:54:16', '132', 1);
INSERT INTO `machine_content` VALUES (5, 'MES发送配方', 0, '2025-04-19 08:54:16', 'A18', 1);
INSERT INTO `machine_content` VALUES (5, 'MES发送清除计数', 0, '2025-04-19 08:54:16', 'A7', 1);
INSERT INTO `machine_content` VALUES (5, '当前配方', 0, '2025-04-19 08:54:16', 'A9', 1);
INSERT INTO `machine_content` VALUES (5, '入片速度', 0, '2025-04-19 08:54:16', 'A11', 1);
INSERT INTO `machine_content` VALUES (5, '出片速度', 0, '2025-04-19 08:54:16', 'A15', 1);
INSERT INTO `machine_content` VALUES (5, 'W1设备状态', 0, '2025-04-19 08:54:16', 'A10', 1);
INSERT INTO `machine_content` VALUES (5, 'W2设备状态', 0, '2025-04-19 08:54:16', 'A14', 1);
INSERT INTO `machine_content` VALUES (5, 'W1玻璃状态', 0, '2025-04-19 08:54:16', 'A16', 1);
INSERT INTO `machine_content` VALUES (5, 'W2玻璃状态', 0, '2025-04-19 08:54:16', 'A17', 1);
INSERT INTO `machine_content` VALUES (5, 'W1磨边玻璃计数', 0, '2025-04-19 08:54:16', 'A18', 1);
INSERT INTO `machine_content` VALUES (5, 'W2磨边玻璃计数', 0, '2025-04-19 08:54:16', 'A16', 1);
INSERT INTO `machine_content` VALUES (5, 'W1故障内容', 0, '2025-04-19 08:54:16', 'A17', 1);
INSERT INTO `machine_content` VALUES (5, 'W2故障内容', 0, '2025-04-19 08:54:16', 'A18', 1);
INSERT INTO `machine_content` VALUES (2, '0', 0, '2025-04-19 09:54:44', 'A4', 1);
INSERT INTO `machine_content` VALUES (2, '0', 0, '2025-04-19 09:54:44', 'A7', 1);
INSERT INTO `machine_content` VALUES (2, '0', 0, '2025-04-19 09:54:44', 'A9', 1);
INSERT INTO `machine_content` VALUES (2, '0', 0, '2025-04-19 09:54:44', 'A11', 1);
INSERT INTO `machine_content` VALUES (2, '0', 0, '2025-04-19 09:54:44', 'A15', 1);
INSERT INTO `machine_content` VALUES (2, '0', 0, '2025-04-19 09:54:44', 'A10', 1);
INSERT INTO `machine_content` VALUES (2, '0', 0, '2025-04-19 09:54:44', 'A14', 1);
INSERT INTO `machine_content` VALUES (2, '0', 0, '2025-04-19 09:54:44', 'A16', 1);
INSERT INTO `machine_content` VALUES (2, '0', 0, '2025-04-19 09:54:44', 'A17', 1);
INSERT INTO `machine_content` VALUES (2, '0', 0, '2025-04-19 09:54:44', 'A18', 1);
INSERT INTO `machine_content` VALUES (6, 'MES发送配方', 0, '2025-04-20 22:15:46', 'A18', 1);
INSERT INTO `machine_content` VALUES (6, 'MES发送清除计数', 0, '2025-04-20 22:15:46', 'A7', 1);
INSERT INTO `machine_content` VALUES (6, '紧急停止', 0, '2025-04-20 22:15:46', 'A9', 1);
INSERT INTO `machine_content` VALUES (6, '当前配方', 18, '2025-04-20 22:15:46', 'A18', 1);
INSERT INTO `machine_content` VALUES (6, '倒角完成计数', 0, '2025-04-20 22:15:46', 'A7', 1);
INSERT INTO `machine_content` VALUES (6, '入片当前速度', 23681, '2025-04-20 22:15:46', 'A9', 1);
INSERT INTO `machine_content` VALUES (6, '出片当前速度', 20, '2025-04-20 22:15:46', 'A9', 1);
INSERT INTO `machine_content` VALUES (5, 'W2磨边玻璃计数', 9, '2025-04-21 12:38:00', 'A16', 10);
INSERT INTO `machine_content` VALUES (5, 'MES发送配方', 0, '2025-04-21 16:50:36', 'A18', 1);
INSERT INTO `machine_content` VALUES (5, 'MES发送清除计数', 0, '2025-04-21 16:50:36', 'A7', 1);
INSERT INTO `machine_content` VALUES (5, '当前配方', 18, '2025-04-21 16:50:36', 'A9', 1);
INSERT INTO `machine_content` VALUES (5, '入片速度', 53, '2025-04-21 16:50:36', 'A11', 1);
INSERT INTO `machine_content` VALUES (5, '出片速度', 49, '2025-04-21 16:50:36', 'A15', 1);
INSERT INTO `machine_content` VALUES (5, 'W1设备状态', 3, '2025-04-21 16:50:36', 'A10', 1);
INSERT INTO `machine_content` VALUES (5, 'W2设备状态', 3, '2025-04-21 16:50:36', 'A14', 1);
INSERT INTO `machine_content` VALUES (5, 'W1玻璃状态', 3, '2025-04-21 16:50:36', 'A16', 1);
INSERT INTO `machine_content` VALUES (5, 'W2玻璃状态', 6, '2025-04-21 16:50:36', 'A17', 1);
INSERT INTO `machine_content` VALUES (5, 'W1磨边玻璃计数', 9960, '2025-04-21 16:50:36', 'A18', 1);
INSERT INTO `machine_content` VALUES (5, 'W1故障内容', 0, '2025-04-21 16:50:36', 'A17', 1);
INSERT INTO `machine_content` VALUES (5, 'W2故障内容', 0, '2025-04-21 16:50:36', 'A18', 1);
-- ----------------------------
-- Table structure for machine_dispose
@@ -132614,7 +132664,7 @@
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `machine_type_id`(`machine_type_id`) USING BTREE,
  CONSTRAINT `machine_dispose_ibfk_1` FOREIGN KEY (`machine_type_id`) REFERENCES `machine_type` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 110 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 110 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of machine_dispose
@@ -132654,7 +132704,7 @@
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `machine_type_id`(`machine_type_id`) USING BTREE,
  CONSTRAINT `machine_font_ibfk_1` FOREIGN KEY (`machine_type_id`) REFERENCES `machine_type` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of machine_font
@@ -132684,18 +132734,18 @@
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `machine_id`(`machine_id`) USING BTREE,
  CONSTRAINT `machine_message_ibfk_1` FOREIGN KEY (`machine_id`) REFERENCES `machine` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 81 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 81 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of machine_message
-- ----------------------------
INSERT INTO `machine_message` VALUES (1, 1, '00010000005d01035a00010000000000000000000000000000000000000001000000010e4c083e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '2023-11-22 12:08:48');
INSERT INTO `machine_message` VALUES (2, 2, '00010000005d01035a00000000000000000000000000000000000000000000000000020e4c0988000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '2025-04-19 09:54:44');
INSERT INTO `machine_message` VALUES (4, 4, '000000000000000000001200030003000300030003000300030003000300000000000000000000000000000000000100000000000000000001000000790000015e015e00000000015e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '2025-04-19 08:54:16');
INSERT INTO `machine_message` VALUES (5, 5, '00010000002d01032a000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '2025-04-19 08:54:16');
INSERT INTO `machine_message` VALUES (6, 6, '00000000000000000000000000000000000000000000000000000000000000000087490014400000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000', '2025-04-19 08:54:16');
INSERT INTO `machine_message` VALUES (2, 2, '00010000006701036400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002a00000000000000000000000000000000000000000000000000000', '2023-11-22 12:08:48');
INSERT INTO `machine_message` VALUES (4, 4, '000000000000000000001200020002000200020002000200020002000200010001000100010001000100010001000100010001000100010001000100790000015e015e00000000015e000000000000000000000000000000000000000000000000000000000000000000000000000001cc000000000000000000000000000000000000000000000035000000000000', '2025-04-10 16:04:08');
INSERT INTO `machine_message` VALUES (5, 5, '00010000002d01032a0000000000000007001300000000000000000000001200350031000300030003000626e80009000000000000000000000000000000000000000000000000000000000000000000000003005c810014400000000000000000000000000', '2025-04-21 16:50:36');
INSERT INTO `machine_message` VALUES (6, 6, '00010000002d01032a0000000000000007001300000000000000000000001200350031000300030003000626e801cd000000000000000000000000000000000000000000000000000000000000000000000030005c810014400000000000000000000000000', '2025-04-10 16:04:07');
INSERT INTO `machine_message` VALUES (7, 7, '00010000006701036400160002000200040003001e82da0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000', '2023-11-22 12:08:48');
INSERT INTO `machine_message` VALUES (8, 8, '00000000000000000000000000000000000000000000000000000000000000001200030003000300030003000300030003000300030003000300030003000300030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '2025-04-19 08:54:16');
INSERT INTO `machine_message` VALUES (8, 8, '00000000000000000000000000000000000000000000000000000000000000001200020002000200020002000200020002000300030003000300030003000300030000000000000000000000000000000000010001000000000000000000000000000000000000000000000000', '2025-04-10 16:04:08');
INSERT INTO `machine_message` VALUES (9, 9, '0001000000f30103f0000000000000000000000000000000000000000000000000009600960000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '2025-04-12 14:32:04');
INSERT INTO `machine_message` VALUES (10, 10, '000100000099010396000100010001000100010001000100010001000100010001000100010001001e000100010000000000010001000100010001000100000001000100010000000000000001000100000048004a004c004e00500052005400560058005a005c005e00600062006400660068006a000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '2023-11-22 12:08:48');
INSERT INTO `machine_message` VALUES (11, 11, '000100000099010396000100010001000100010001000100010001000100010001000100010001001e000100010000000000010001000100010001000100000001000100010000000000000001000100000048004a004c004e00500052005400560058005a005c005e00600062006400660068006a000000000000000000000000000000000000000000000000000000000000000000000000000000000000', '2023-11-22 12:08:48');
@@ -132719,7 +132769,7 @@
  `machine_group` int NULL DEFAULT NULL,
  `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 41 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 41 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of machine_parts_change
@@ -132771,7 +132821,7 @@
  `type` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机器类型名称',
  `type_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '机器类型名称',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 22 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of machine_type
@@ -132811,7 +132861,7 @@
  `machine_water_power` double NULL DEFAULT NULL COMMENT '机器用水量',
  `machine_water_group` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '水箱组别',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 81 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 81 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of machines_power
@@ -132881,7 +132931,7 @@
  `ratio` int NULL DEFAULT NULL,
  `hexdlt645` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of meter_paramenter
@@ -132910,7 +132960,7 @@
  `optfile_maker` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT 'OPT录入人',
  `updatetime` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of optfile
@@ -132946,6 +132996,8 @@
  `id` int NOT NULL AUTO_INCREMENT,
  `order_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '订单号',
  `recipe_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '配方号',
  `largeglass_length` double(7, 2) NULL DEFAULT NULL COMMENT '大片长',
  `largeglass_width` double(7, 2) NULL DEFAULT NULL COMMENT '大片高',
  `largeglass_no` int NULL DEFAULT NULL COMMENT '大片总数量',
  `largeglass_completed` int NULL DEFAULT 0 COMMENT '大片已完成',
  `smallglass_no` int NULL DEFAULT NULL COMMENT '小片总量',
@@ -132958,19 +133010,38 @@
  `update_time` datetime(0) NULL DEFAULT NULL COMMENT '修改时间',
  PRIMARY KEY (`id`, `order_id`) USING BTREE,
  UNIQUE INDEX `order_id`(`order_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 19 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 21 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of order
-- ----------------------------
INSERT INTO `order` VALUES (1, 'NG23090401', '16', 20, 0, 2000, 168, 1830, 2, 3, '曾涛', '2023-07-14 08:49:10', '2023-12-04 15:49:12');
INSERT INTO `order` VALUES (2, 'NG23090501', '4', 20, 0, 2000, 0, 2000, 0, 3, '曾涛', '2023-07-14 08:49:10', '2023-12-04 17:02:16');
INSERT INTO `order` VALUES (3, 'NG23090601', '15', 20, 0, 2000, 0, 2000, 0, 1, '曾涛', '2023-07-14 08:49:10', '2023-09-06 13:00:13');
INSERT INTO `order` VALUES (13, 'NG23090701', '22', 3, 0, 2000, 0, 2000, 0, 3, 'admin', '2023-07-31 16:29:32', '2023-09-06 13:05:21');
INSERT INTO `order` VALUES (14, 'NG23090801', '20', 500, 275, 1600, 900, 1600, 0, 3, 'admin', '2023-08-19 15:51:23', '2023-10-27 16:10:18');
INSERT INTO `order` VALUES (15, 'NG23103101', '0', 500, 0, 2000, 1900, 100, 94, 2, 'admin', '2023-08-19 15:51:33', '2023-12-04 17:12:17');
INSERT INTO `order` VALUES (16, 'NG23091001', '22', 17, 0, 2000, 0, 2000, 0, 0, 'admin', '2023-08-19 15:51:43', NULL);
INSERT INTO `order` VALUES (18, 'NG23122001', '12', 5, 0, 100, 0, 100, 0, 1, 'admin', '2023-12-20 13:27:45', NULL);
INSERT INTO `order` VALUES (1, 'NG23090401', '16', 2000.00, 2000.00, 20, 0, 2000, 168, 1830, 2, 3, '曾涛', '2023-07-14 08:49:10', '2023-12-04 15:49:12');
INSERT INTO `order` VALUES (2, 'NG23090501', '4', 2000.00, 2000.00, 20, 0, 2000, 0, 2000, 0, 3, '曾涛', '2023-07-14 08:49:10', '2023-12-04 17:02:16');
INSERT INTO `order` VALUES (3, 'NG23090601', '15', 2000.00, 2000.00, 20, 0, 2000, 0, 2000, 0, 1, '曾涛', '2023-07-14 08:49:10', '2023-09-06 13:00:13');
INSERT INTO `order` VALUES (13, 'NG23090701', '22', 2000.00, 2000.00, 3, 0, 2000, 0, 2000, 0, 3, 'admin', '2023-07-31 16:29:32', '2023-09-06 13:05:21');
INSERT INTO `order` VALUES (14, 'NG23090801', '20', 2000.00, 2000.00, 500, 275, 1600, 900, 1600, 0, 3, 'admin', '2023-08-19 15:51:23', '2023-10-27 16:10:18');
INSERT INTO `order` VALUES (15, 'NG23103101', '0', 2000.00, 2000.00, 500, 0, 2000, 1900, 100, 94, 2, 'admin', '2023-08-19 15:51:33', '2023-12-04 17:12:17');
INSERT INTO `order` VALUES (16, 'NG23091001', '22', 2000.00, 2000.00, 17, 0, 2000, 0, 2000, 0, 0, 'admin', '2023-08-19 15:51:43', NULL);
INSERT INTO `order` VALUES (18, 'NG23122001', '12', 2000.00, 2000.00, 5, 0, 100, 0, 100, 0, 1, 'admin', '2023-12-20 13:27:45', NULL);
INSERT INTO `order` VALUES (19, 'NG25041901', '11', NULL, NULL, 1, 0, 1, 0, 1, 0, 0, 'admin', '2025-04-19 08:59:11', NULL);
INSERT INTO `order` VALUES (20, 'NG25041902', '11', 3.00, 4.00, 2, 0, 1, 0, 1, 0, 0, 'admin', '2025-04-19 09:01:01', NULL);
-- ----------------------------
-- Table structure for product_type
-- ----------------------------
DROP TABLE IF EXISTS `product_type`;
CREATE TABLE `product_type`  (
  `id` int NOT NULL COMMENT '产品类型表id',
  `product_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '产品类型名称',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of product_type
-- ----------------------------
INSERT INTO `product_type` VALUES (1, '消毒柜');
INSERT INTO `product_type` VALUES (2, '蒸烤箱');
INSERT INTO `product_type` VALUES (3, '烟机');
-- ----------------------------
-- Table structure for raw_package
@@ -132991,7 +133062,7 @@
  `production_time` datetime(0) NULL DEFAULT NULL COMMENT '生产日期',
  `batch_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '批次号',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3141 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 3141 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of raw_package
@@ -136130,7 +136201,7 @@
  `updatetime` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0) COMMENT '修改时间',
  `tempering_parameter_id` int NULL DEFAULT NULL COMMENT '钢化参数编号',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 45 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 45 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of recipe
@@ -136171,7 +136242,7 @@
  `state` int NULL DEFAULT 1,
  `create_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP(0),
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 38 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 38 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of screen_photo
@@ -136217,17 +136288,25 @@
-- ----------------------------
DROP TABLE IF EXISTS `shutdown_statistics`;
CREATE TABLE `shutdown_statistics`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `machine_id` int NULL DEFAULT NULL,
  `time_count` int NULL DEFAULT NULL,
  `create_time` datetime(0) NULL DEFAULT NULL,
  `finsh_time` datetime(0) NULL DEFAULT NULL,
  `id` int NOT NULL AUTO_INCREMENT COMMENT 'id',
  `machine_id` int NULL DEFAULT NULL COMMENT '设备id',
  `time_count` int NULL DEFAULT NULL COMMENT '时间计数',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '上一次生产时间',
  `finsh_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 86782 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 86790 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of shutdown_statistics
-- ----------------------------
INSERT INTO `shutdown_statistics` VALUES (86782, 5, 0, '2025-04-21 11:51:41', '2025-04-21 11:51:41');
INSERT INTO `shutdown_statistics` VALUES (86783, 5, 0, '2025-04-21 11:51:44', '2025-04-21 11:51:44');
INSERT INTO `shutdown_statistics` VALUES (86784, 5, 345, '2025-04-21 12:26:10', '2025-04-21 12:31:55');
INSERT INTO `shutdown_statistics` VALUES (86785, 5, 63, '2025-04-21 12:31:55', '2025-04-21 12:32:58');
INSERT INTO `shutdown_statistics` VALUES (86786, 5, 131, '2025-04-21 12:32:58', '2025-04-21 12:35:09');
INSERT INTO `shutdown_statistics` VALUES (86787, 5, 147, '2025-04-21 12:35:09', '2025-04-21 12:37:36');
INSERT INTO `shutdown_statistics` VALUES (86788, 5, 159, '2025-04-21 12:35:09', '2025-04-21 12:37:48');
INSERT INTO `shutdown_statistics` VALUES (86789, 5, 24, '2025-04-21 12:37:36', '2025-04-21 12:38:00');
-- ----------------------------
-- Table structure for shutdown_time
@@ -136238,7 +136317,7 @@
  `machine_id` int NULL DEFAULT NULL,
  `shijian` int NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 23 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 23 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of shutdown_time
@@ -136284,7 +136363,7 @@
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `shelf_rank_id`(`shelf_rack_id`) USING BTREE,
  CONSTRAINT `storage _transfer_ibfk_1` FOREIGN KEY (`shelf_rack_id`) REFERENCES `gmms_shelf_rack` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 2501 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 2501 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of storage _transfer
@@ -138204,7 +138283,7 @@
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `raw_package_id1`(`raw_package_id`) USING BTREE,
  CONSTRAINT `storage_rack_ibfk_1` FOREIGN KEY (`raw_package_id`) REFERENCES `raw_package` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 25 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 25 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of storage_rack
@@ -138248,7 +138327,7 @@
  `start_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
  `finsh_time` datetime(0) NULL DEFAULT NULL COMMENT '完成时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 41629 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 41629 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of storage_task
@@ -138275,7 +138354,6 @@
INSERT INTO `storage_task` VALUES (41626, '从仓位到吊装位', '等待中', '1', '1', 1, '2023-12-20 11:21:23', NULL);
INSERT INTO `storage_task` VALUES (41627, '从仓位到吊装位', '等待中', '2', '98', 1, '2023-12-20 11:28:51', NULL);
INSERT INTO `storage_task` VALUES (41628, '从仓位到上片位', '已完成', '5', '101', 1, '2023-12-20 13:33:38', NULL);
INSERT INTO `storage_task` VALUES (41629, '从上片位到仓位', '等待中', '5', '101', 1, '2025-04-18 22:42:33', NULL);
-- ----------------------------
-- Table structure for storage_transfer
@@ -138299,7 +138377,7 @@
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `shelf_rank_id`(`shelf_rack_id`) USING BTREE,
  CONSTRAINT `storage_transfer_ibfk_1` FOREIGN KEY (`shelf_rack_id`) REFERENCES `gmms_shelf_rack` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 2271 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 2271 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of storage_transfer
@@ -139988,7 +140066,7 @@
  `glass_type` int NULL DEFAULT NULL COMMENT '玻璃类型',
  `production_type` int NULL DEFAULT NULL COMMENT '生产类型',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of tempering_parameter
@@ -140009,7 +140087,7 @@
  `glass_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '白玻\r\n镀膜\r\n单银\r\n双银\r\n0\r\n1\r\n2\r\n3',
  `product_type` int NULL DEFAULT NULL COMMENT '全钢    0\r\n半钢    1\r\n防火    2\r\nTVG VSG    3\r\nFire Proof    4\r\nMarine    5\r\n',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of tempering_parameters
@@ -140025,7 +140103,7 @@
  `tempering_type_value` int NULL DEFAULT NULL COMMENT '内容',
  `tempering_type_leixing` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '类型',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of tempering_type
@@ -140052,7 +140130,7 @@
  `count` int NULL DEFAULT NULL,
  `count_task` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = DYNAMIC;
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of yieid
@@ -140125,31 +140203,22 @@
SET @content_value3=null;
SET @content_value4=null;
    
        select content_value into @content_value3  from machine_content where machine_id=machineid and leixing=11  ;
        select analysismessage(machine_id, weizhi) into @content_value4 from machine_analysis where machine_id=machineid and leixing=11 ;
        if  machineid=5 or  machineid=13 or machineid=19 or machineid=21 then
            if @content_value3=0 and @content_value4=1  then
                insert glog.sum_glass (num,machine_id) values(1,machineid);
--                 if machineid=13 then
--                     update `order` set smallglass_completed=smallglass_completed+1,smallglass_processing=smallglass_processing-1 where order_status=2;
--                 end if;
            end if;
        elseif machineid=12 or machineid=34 or  machineid=35 or machineid=36 then
            if @content_value3!=4 and @content_value4=4  then
                insert glog.sum_glass (num,machine_id) values(1,machineid);
            end if;
        elseif machineid=14 or machineid=37 or  machineid=38 or machineid=39 or machineid=11 or  machineid=31 or machineid=32 or machineid=33 then
            if @content_value3!=2 and @content_value4=2  then
                insert glog.sum_glass (num,machine_id) values(1,machineid);
        select content_value into @content_value3  from machine_content where machine_id=machineid and leixing=10;
        select analysismessage(machine_id, weizhi) into @content_value4 from machine_analysis where machine_id=machineid and leixing=10;
        if  machineid!="" then
            if @content_value3<@content_value4  then
            select content_value into @recipe from machine_content where machine_id=machineid and content="当前配方";
                insert glog.sum_glass (num,machine_id,recipe_no)
                values(@content_value4-@content_value3,machineid,@recipe);
            end if;
        end if;
    
#更新设备状态信息    
    if @counts>0 then
        delete from machine_content where machine_id=machineid and leixing!=11;
        delete from machine_content where machine_id=machineid and leixing!=10;
        insert into machine_content (machine_id,content,content_value,finsh_time,class_html,leixing)
            select machineid,beizhu,analysismessage(machine_id, weizhi),now(),class_html,leixing from machine_analysis where machine_id=machineid and leixing!=11;
            select machineid,beizhu,analysismessage(machine_id, weizhi),now(),class_html,leixing from machine_analysis where machine_id=machineid and leixing!=10;
    end if;
    
@@ -140158,29 +140227,40 @@
SET @content_value=null;
SET @content_value1=null;
set @shijian=null;
    select content_value,finsh_time into @content_value,@finsh_time  from machine_content where machine_id=machineid and leixing=11 ;
    select analysismessage(machine_id, weizhi) into @content_value1 from machine_analysis where machine_id=machineid and leixing=11;
    
    #获取上一次的记录
        SELECT createtime INTO @finsh_time FROM glog.sum_glass WHERE machine_id = machineid
    ORDER BY createtime DESC LIMIT 1 OFFSET 1;
    #获取当前通讯的计数数量
    select analysismessage(machine_id, weizhi) into @content_value1 from machine_analysis where machine_id=machineid and leixing=10;
    select content_value into @content_value  from machine_content where machine_id=machineid and leixing=10 ;
    #获取设备的停机时长计数秒
    select shijian into @shijian from shutdown_time where machine_id=machineid;
    set @aaa=DATE_ADD(@finsh_time, INTERVAL @shijian second);
  #获取上一条生产记录的时间
    #获取上一次生产到目前的秒数
     set @aaa= TIMESTAMPDIFF(SECOND,@finsh_time, NOW());
    if @content_value is null then
        insert into machine_content (machine_id,content,content_value,finsh_time,class_html,leixing)
                select machineid,beizhu,analysismessage(machine_id, weizhi),now(),class_html,leixing from machine_analysis where machine_id=machineid and leixing=11;
                select machineid,beizhu,analysismessage(machine_id, weizhi),now(),class_html,leixing from machine_analysis where machine_id=machineid and leixing=10;
    end if;
#当计数变化时
    if @content_value!=@content_value1  then
            if @aaa<now() then
            #当前时间超过预计停机时间
            if @aaa>@shijian then
                #新增
                set @shijian2=TIMESTAMPDIFF(minute,@aaa,now());
                insert into shutdown_statistics (machine_id,time_count,create_time,finsh_time) values(machineid,@shijian2,@finsh_time,now());
--                 set @shijian2=TIMESTAMPDIFF(minute,@aaa,now());
                insert into shutdown_statistics (machine_id,time_count,create_time,finsh_time) values(machineid,@aaa,@finsh_time,now());
            end if;
            
            delete from machine_content where machine_id=machineid and leixing=11;
            delete from machine_content where machine_id=machineid and leixing=10;
            insert into machine_content (machine_id,content,content_value,finsh_time,class_html,leixing)
                select machineid,beizhu,analysismessage(machine_id, weizhi),now(),class_html,leixing from machine_analysis where machine_id=machineid and leixing=11;
                select machineid,beizhu,analysismessage(machine_id, weizhi),now(),class_html,leixing from machine_analysis where machine_id=machineid and leixing=10;
                
    end if;
    
@@ -141264,6 +141344,10 @@
delimiter ;;
CREATE PROCEDURE `AXJ_a_order_add`(in inProduceid VARCHAR(255),
in inGlassNum VARCHAR(255),
in bigGlassNum int,
in glassLength double(7,2),
in glassWidth double(7,2),
in inCreator VARCHAR(255),
out fanhui VARCHAR(255))
BEGIN
@@ -141303,15 +141387,20 @@
    largeglass_no, 
    smallglass_no,
    smallglass_processing, 
    order_maker
    order_maker,
    largeglass_length,
    largeglass_width
    )
    VALUES( 
    @orderid,
    inProduceid,
    CEILING(inGlassNum/@cutGlassNum),-- 获取最大值
    bigGlassNum,
    #CEILING(inGlassNum/@cutGlassNum),-- 获取最大值
    inGlassNum,
    inGlassNum,
    inCreator
    inCreator,
    glassLength,
    glassWidth
    );
    
    
@@ -142713,9 +142802,9 @@
BEGIN
set @num = 0 ;
    select od.id,od.order_id,op.original_width,op.original_height,re.width,re.height,re.thickness,od.largeglass_no,od.largeglass_completed,od.smallglass_no,od.smallglass_completed,od.order_status,od.order_maker,@num:=@num+1 as px from `order` od left join recipe re on od.recipe_no=re.id left join optfile op on re.optfile_no=op.id where od.order_status=2
    select od.id,od.order_id,od.largeglass_length ,largeglass_width ,re.width,re.height,re.thickness,od.largeglass_no,od.largeglass_completed,od.smallglass_no,od.smallglass_completed,od.order_status,od.order_maker,@num:=@num+1 as px from `order` od left join recipe re on od.recipe_no=re.id left join optfile op on re.optfile_no=op.id where od.order_status=2
 union  
select * from (select od.id,od.order_id,op.original_width,op.original_height,re.width,re.height,re.thickness,od.largeglass_no,od.largeglass_completed,od.smallglass_no,od.smallglass_completed,od.order_status,od.order_maker,@num:=@num+1 as px from `order` od left join recipe re on od.recipe_no=re.id left join optfile op on re.optfile_no=op.id where od.order_status!=0 and od.order_status!=2 order by order_status) b ;
select * from (select od.id,od.order_id,od.largeglass_length,od.largeglass_width,re.width,re.height,re.thickness,od.largeglass_no,od.largeglass_completed,od.smallglass_no,od.smallglass_completed,od.order_status,od.order_maker,@num:=@num+1 as px from `order` od left join recipe re on od.recipe_no=re.id left join optfile op on re.optfile_no=op.id where od.order_status!=0 and od.order_status!=2 order by order_status) b ;
     
END
;;
@@ -143997,7 +144086,7 @@
DECLARE overnum int;
set plan=2000;
set overnum=0;
 if loadTime ="" or endtime="" then
 SET loadTime = DATE_FORMAT(DATE_SUB(CURDATE(), INTERVAL 2 DAY),'%Y-%m-%d 00:00:00');
 SET endTime = DATE_FORMAT(DATE_ADD(CURDATE(), INTERVAL 1 DAY),'%Y-%m-%d 00:00:00');
@@ -144006,11 +144095,41 @@
    if type="" then
        set type="全部";
    end if;
    select left(a.createTime,10)as createtime,type,"莱阳厨电" as factory,"厨电二期" as line,plan,sum(a.num)AS overnum,
  plan-sum(a.num) as difference
    from glog.sum_glass a where a.machine_id=machineid
    AND a.createTime BETWEEN loadtime AND endtime
    GROUP BY a.createTime,a.num;
-- 查询数据
SELECT
    DATE(a.createTime) AS createtime,
    type,
    "莱阳厨电" AS factory,
    "厨电二期" AS line,
    plan,
    SUM(a.num) AS overnum,
    plan - SUM(a.num) AS difference,
    CASE
        WHEN plan = 0 THEN 0
        ELSE ROUND((SUM(a.num) / plan) * 100, 2)
    END AS plan_completion_rate,
    IFNULL(b.shutdownNum,0) AS shutdownNum
FROM
    glog.sum_glass a
LEFT JOIN
    (SELECT
         DATE(create_time) AS shutdownTime,
         ROUND(SUM(time_count) / 60, 2) AS shutdownNum
     FROM
         shutdown_statistics
     WHERE
         machine_id = machineid
         AND create_time BETWEEN loadtime AND endtime
     GROUP BY DATE(create_time)) AS b
ON DATE(a.createTime) = b.shutdownTime
WHERE
    a.machine_id = machineid
    AND a.createTime BETWEEN loadtime AND endtime
GROUP BY
    DATE(a.createTime), type;
END
;;
@@ -144711,75 +144830,6 @@
delimiter ;
-- ----------------------------
-- Procedure structure for Total_method_load
-- ----------------------------
DROP PROCEDURE IF EXISTS `Total_method_load`;
delimiter ;;
CREATE PROCEDURE `Total_method_load`(IN `sendMessageHex` text,
IN `machineids` bigint,
IN `width` double,
IN `height` double,
IN `thickness` double,
IN `sameCount` bigint,
OUT `messagedate` varchar(255),
OUT `falgs` varchar(255))
BEGIN
    declare findplc varchar(255) default null;#
    declare taskplc varchar(255) default null;#
    declare taskmes varchar(255) default null;#
    declare findmes varchar(255) default null;#
  declare dates varchar(255) default null;#结果
    declare typeId varchar(255) default null;#类型ID
    declare orderWidth double default 3660;#订单宽
    declare orderHeight double default 2440;#订单高
    declare orderThickness double default 4;#厚度
    declare orderWidth16 varchar(255) default null;#订单宽
    declare orderHeight16 varchar(255) default null;#订单高
    declare orderThickness16 varchar(255) default null;#厚度
    declare orderSameCount varchar(255) default 10;#订单数量
    declare orderFinshSameCount varchar(255) default 9;#已完成数量
    set findplc = substring(sendMessageHex,(cast(0 as UNSIGNED INTEGER)*4)+19,4);
    set taskplc = substring(sendMessageHex,(cast(5 as UNSIGNED INTEGER)*4)+19,4);
    set taskmes = substring(sendMessageHex,(cast(10 as UNSIGNED INTEGER)*4)+19,4);
    set findmes = substring(sendMessageHex,(cast(20 as UNSIGNED INTEGER)*4)+19,4);
    update machine_message set message=sendMessageHex,mod_time=now() where machine_id=machineids;
    select findplc,taskplc,taskmes,findmes,orderWidth=width;
    if taskplc='0001' and findmes='0000' then
        call message('0001','0014',messagedate);#
      set falgs=1;#上片完成
    elseif taskplc='0000' and findmes='0001' then
        call message('0000','0014',messagedate);#
      set falgs=0;#上片完成清空
    elseif findplc='0000' and taskmes='0001' then
        call message('0000','000a',messagedate);#
      set falgs=0;#上片任务清空
    elseif findplc='0001' and taskmes='0000' then
        select orderWidth=width , orderHeight=height , orderThickness=thickness , sameCount>0;
        #select width,height,thickness,sameCount into orderWidth,orderHeight,orderThickness,orderSameCount from order where order_status=1;
        if orderWidth=width and orderHeight=height and orderThickness=thickness and sameCount>0 then #料架有玻璃
            if orderSameCount-orderFinshSameCount>0 then #订单任务未完成 继续上片
                call intTo2ByteHex10_16_4(orderWidth,orderWidth16);
                call intTo2ByteHex10_16_4(orderHeight,orderHeight16);
                call intTo2ByteHex10_16_4(orderThickness,orderThickness16);
                set dates=CONCAT('0001',"00000002",orderWidth16,orderHeight16);
                call message(dates,'000a',messagedate);#01a9
                set falgs=0;
            else
                set falgs=3;#需要退库
            end if;
        end if;
    end if;
END
;;
delimiter ;
-- ----------------------------
-- Procedure structure for Transportation
-- ----------------------------
DROP PROCEDURE IF EXISTS `Transportation`;
@@ -144855,11 +144905,11 @@
-- ----------------------------
-- Triggers structure for table machine_message
-- ----------------------------
DROP TRIGGER IF EXISTS `trigger1`;
DROP TRIGGER IF EXISTS `t`;
delimiter ;;
CREATE TRIGGER `trigger1` BEFORE UPDATE ON `machine_message` FOR EACH ROW BEGIN
call analysis_information(new.machine_id);
end
CREATE TRIGGER `t` BEFORE UPDATE ON `machine_message` FOR EACH ROW BEGIN
    call analysis_information(new.machine_id);
END
;;
delimiter ;
gmms/WebContent/bigScreen/allGlassflash.jsp
@@ -1277,7 +1277,15 @@
          itemStyle: {
            color: 'rgb(180, 180, 180)'
          }
        },
        },{
          name: '电耗2',
          type: 'bar',
          barWidth: '40%',
          data: [220, 152, 200, 334, 390, 330, 220],
          itemStyle: {
              color: 'rgb(30, 144, 255)'
          }
      },
      ]
    },
@@ -1382,6 +1390,7 @@
                
                this.val.yAxis[0].name="电耗";
                this.val.series[0].name='电耗(kw.h)'
                this.val.series[1].name='电耗(kw.h)1'
                for(let i in this.machineElectric){
                    dianhao.push(this.machineElectric[i]["0_jiqidianliang"]);
                    shijian.push(this.machineElectric[i]["1_date"]);
@@ -1391,9 +1400,10 @@
                    this.val.series[0].itemStyle.color='rgb(84,112,198)'
                    this.val.xAxis[0].data=datashijian;
                    this.val.series[0].data=dianhao;
                    this.val.series[1].data=dianhao;
                    HisArr.setOption(this.val);
                this.loading=false
    },
          },
            echarsInit1(){
            var datashijian=[];
            var s=7;
gmms/WebContent/bigScreen/twoglassCut.jsp
@@ -5,7 +5,9 @@
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>智能制造可视化</title>
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<%--    <script src="https://csdn.jsdelivr.net/npm/chart.js"></script>--%>
    <style>
        body {
            font-family: Arial, sans-serif;
@@ -140,13 +142,13 @@
    </style>
</head>
<body>
<div class="container">
<div id="app" class="container">
    <!-- Header Section -->
    <div class="header">
        <h1>北玻智能可视化</h1>
        <div class="date-time">
            <span>数据更新时间: 2025-03-31 12:50:52</span>
        </div>
<%--        <div class="date-time">--%>
<%--            <span>数据更新时间: 2025-04-31 12:50:52</span>--%>
<%--        </div>--%>
        <!-- 搜索栏 -->
        <div class="search-bar">
            <!-- 产业下拉框 -->
@@ -190,7 +192,7 @@
            <div class="top-blocks">
                <div class="top-block">
                    <div class="title">计划完成率</div>
                    <div class="value">111.26%</div>
                    <div class="value">76.00%</div>
                </div>
                <div class="top-block">
                    <div class="title">工程不良率</div>
@@ -208,82 +210,46 @@
            <!-- Chart Section -->
            <div class="chart-container">
                <!-- 第一个趋势图 (柱状图 - 订单计划和订单完成) -->
                <div class="chart">
                    <canvas id="trendChart1"></canvas>
                </div>
                <!-- 第二个趋势图 (柱状图 - 工程不良台数和工程不良率) -->
                <div class="chart">
                    <canvas id="trendChart2"></canvas>
                </div>
                <!-- 第三个趋势图 (柱状图 - 停机时长和停机时率) -->
                <div class="chart">
                    <canvas id="trendChart3"></canvas>
                </div>
                <div id="trendChart1" class="chart"></div>
                <div id="trendChart2" class="chart"></div>
                <div id="trendChart3" class="chart"></div>
            </div>
            <!-- Table Section -->
            <div class="side-visual">
                <table class="data-table">
                    <thead>
                    <tr>
                        <th>日期</th>
                        <th>产品名称</th>
                        <th>工厂名称</th>
                        <th>线体</th>
                        <th>订单计划</th>
                        <th>订单完成</th>
                        <th>差异</th>
                        <th>计划完成率</th>
                    </tr>
                    </thead>
                    <tbody id="table-body">
                    <tr>
                        <td>2025-03-30</td>
                        <td>智能家电</td>
                        <td>菜阳原电</td>
                        <td>厨电二期</td>
                        <td>7,098</td>
                        <td>7,897</td>
                        <td>799</td>
                        <td>111.26%</td>
                    </tr>
                    <tr>
                        <td>2025-03-31</td>
                        <td>厨房电</td>
                        <td>菜阳原电</td>
                        <td>厨电二期</td>
                        <td>1,898</td>
                        <td>2,478</td>
                        <td>580</td>
                        <td>130.56%</td>
                    </tr>
                    <tr>
                        <td>2025-04-1</td>
                        <td>厨房电</td>
                        <td>菜阳原电</td>
                        <td>厨电二期</td>
                        <td>2,300</td>
                        <td>2,300</td>
                        <td>0</td>
                        <td>100.00%</td>
                    </tr>
                    <tr>
                        <td>2025-04-2</td>
                        <td>厨房电</td>
                        <td>菜阳原电</td>
                        <td>厨电二期</td>
                        <td>2,300</td>
                        <td>2,300</td>
                        <td>0</td>
                        <td>100.00%</td>
                    </tr>
                    </tbody>
                </table>
                    <table class="table table-striped table-hover data-table" style="overflow-x: auto;font-size: 12px;">
                        <thead>
                        <tr>
                            <th>日期</th>
                            <th>产品名称</th>
                            <th>工厂名称</th>
                            <th>线体</th>
                            <th>订单计划</th>
                            <th>订单完成</th>
                            <th>差异</th>
                            <th>计划完成率</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr v-for="(item, index) in shuzu" :key="index">
                            <td>{{ item['0_createtime'] || '暂无数据' }}</td>
                            <td>{{ item['1_type'] || '暂无数据' }}</td>
                            <td>{{ item['2_factory'] || '暂无数据' }}</td>
                            <td>{{ item['3_line'] || '暂无数据' }}</td>
                            <td>{{ item['4_plan'] || 0 }}</td>
                            <td>{{ item['5_overnum'] || 0 }}</td>
                            <td>{{ item['6_difference'] || '暂无数据' }}</td>
                            <td>{{ item['7_plan_completion_rate'] || '暂无数据' }}%</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- Chart.js Script -->
<script src="../js/jquery-3.4.1.min.js"></script>
@@ -302,103 +268,28 @@
            shuzu:[{}],
            shuzu1:[{}],
            shuzu2:[{}],
            yield:[{}],
            machineElectric:[{}],
            machineWater:[{}],
            val1: {
                borderColor:'#082352',
                title: {
                    // text: '成品库存',
                    // left: '290px',
                    // top: '0px'
                    text:'合格率',//主标题文本
                    left:'center',
                    top:'45%',
                    left:'50%',
                    textStyle:{
                        color:'#454c5c',
                        align:'center'
                    },
                    subtextStyle:{
                        fontFamily : "微软雅黑",
                        color:'#6c7a89',
                    }
                },
                tooltip: {
                    trigger: 'item',
                    textStyle:{
                    }
                },
                legend: {
                    // orient: 'vertical',
                    left: 'left',
                    textStyle:{
                    }
                },
                textStyle:{
                },
                series: [
                    {
                        type: 'pie',
                        radius : ['40%','70%'],
                        center: ['50%', '50%'],
                        minAngle:'15',
                        label: {
                            // position: 'inside',
                            show: true,
                            formatter(param) {
                                // correct the percentage
                                return param.name + ' (' + param.percent + '%)';
                            }
                        },
                        data: [
                            { value: 300, name: '成品',itemStyle:{color:'#53a2ff'} },
                            { value: 700, name: '次品',itemStyle:{color:'darkseagreen'} }
                        ],
                        itemStyle: {
                            normal:{
                                label:{
                                    show:true,
                                    //formatter: "{b} :\n  {c} \n ({d}%)",
                                    formatter: "{b} :\n   ({d}%)",
                                    position:"inner"
                                }
                            }
                        }
                    }
                ]
            },
        },
        methods:{
            dingdanxiangqing(){
                let HisArr="";
                // HisArr = this.$echarts.init(document.getElementById('main2'));
                let a = {
                    value: this.shuzu1[0]['6_qualified'],
                    name: "成品",
                    itemStyle: { color: '#53a2ff' },
                    label:{fontSize:30}
                }
                let b = {
                    value: this.shuzu1[0]['7_qualified_not'],
                    name: "次品",
                    itemStyle: { color: 'darkseagreen' },
                    label:{fontSize:30}
                }
                this.val1.title.text="合格率"
                this.val1.title.top="45%"
@@ -406,10 +297,7 @@
                this.val1.title.textStyle.fontSize=30
                this.val1.series[0].data[0]=a
                this.val1.series[0].data[1]=b
                HisArr.setOption(this.val1);
                this.loading=false
            },
            dingdanxiangqing1(){
                let HisArr="";
@@ -420,8 +308,6 @@
                    name: "已完成",
                    itemStyle: { color: '#53a2ff' },
                    label:{fontSize:30}
                }
                let b = {
                    value: this.shuzu1[0]['3_smallglass_processing'],
@@ -437,116 +323,247 @@
                this.val1.series[0].data[0]=a
                this.val1.series[0].data[1]=b
                HisArr.setOption(this.val1);
                this.loading=false
            },
            echarsInit() {
                let datashijian = [];
                let plans = [];
                let overnums = [];
                // 遍历 shuzu 数组提取日期、计划数和完成数
                for (let i in this.shuzu) {
                    // 这里将 createtime 转换成 "MM/DD" 格式的日期
                    let date = this.shuzu[i]["0_createtime"];
                    let day = new Date(date);
                    let formattedDate = (day.getMonth() + 1) + "/" + day.getDate(); // 格式化日期
                    datashijian.push(formattedDate);
                    plans.push(this.shuzu[i]["4_plan"]);  // 提取计划数
                    overnums.push(this.shuzu[i]["5_overnum"]);  // 提取完成数
                }
                // 选择图表容器
                let HisArr = this.$echarts.init(document.getElementById('trendChart1'));
                // 设置 ECharts 配置
                let option = {
                    tooltip: { trigger: 'axis' },
                    legend: { data: ['订单计划', '订单完成'] },
                    xAxis: {
                        type: 'category',
                        data: datashijian
                    },
                    yAxis: { type: 'value' },
                    series: [
                        {
                            name: '订单计划',
                            type: 'bar',
                            data: plans,  // 使用提取的计划数数据
                            itemStyle: { color: 'rgba(54, 162, 235, 1)' },  // 设置颜色
                            barWidth: '40%'  // 设置柱状图宽度
                        },
                        {
                            name: '订单完成',
                            type: 'bar',
                            data: overnums,  // 使用提取的完成数数据
                            itemStyle: { color: 'rgba(75, 192, 192, 1)' },  // 设置颜色
                            barWidth: '40%'  // 设置柱状图宽度
                        }
                    ]
                };
                // 设置图表
                HisArr.setOption(option);
                this.loading = false;  // 结束加载状态
            },
            echarsInit3() {
                let datashijian = [];
                let shutdownTimes = [];
                // 检查数据是否存在
                // if (this.shuzu && this.shuzu.length > 0) {
                    // 遍历 shuzu 数据提取停机时长数据
                    for (let i in this.shuzu) {
                        let date = this.shuzu[i]["0_createtime"];
                        let shutdownNum = this.shuzu[i]["8_shutdownNum"];
                        // 格式化日期
                        let day = new Date(date);
                        let formattedDate = (day.getMonth() + 1) + "/" + day.getDate();
                        datashijian.push(formattedDate);
                        // 停机时长
                        shutdownTimes.push(shutdownNum);
                    }
                    console.log('日期:', datashijian);
                    console.log('停机时长:', shutdownTimes);
                    // 初始化图表
                    let HisArr = this.$echarts.init(document.getElementById('trendChart3'));
                    let option = {
                        tooltip: { trigger: 'axis' },
                        legend: { data: ['停机时长(分)'] },
                        xAxis: {
                            type: 'category',
                            data: datashijian
                        },
                        yAxis: { type: 'value' },
                        series: [
                            {
                                name: '停机时长(分)',
                                type: 'bar',
                                data: shutdownTimes,
                                itemStyle: { color: 'rgba(255, 99, 132, 1)' },  // 可根据需要调整颜色
                                barWidth: '40%'  // 调整柱宽
                            }
                        ]
                    };
                    HisArr.setOption(option);
                // } else {
                //     console.error('shuzu 数据为空或未加载');
                //     console.log(this.shuzu);
                // }
                this.loading = false;
            },
        },
        watch:{
            shuzu1(){
                // this.dingdanxiangqing(),
                //     this.dingdanxiangqing1()
            }
            shuzu(){
                this.echarsInit();
                this.echarsInit3();
            },
        },
        async mounted(){
        mounted: function() {
            let sql=""
            let flag=2
            sql="{call AXJ_dapingxianshi_dingdanshuju2('下片')}"
            this.loadAjxss('大屏总订单数据',sql,flag,"shuzu1")
            await setInterval(()=>{
                sql="{call AXJ_dapingxianshi_dingdanshuju2('下片')}"
                this.interValLoadAjxs('大屏总订单数据',sql,flag,"shuzu1")
            },5000)
            this.shuzu = [];
            let sql="{call machine_bigScreen(5,'','','')}";
            let flag = 2;
            this.loadAjxss('任务查询成功',sql,flag,"shuzu");
        }
    })
    // 初始化数据
    const initialData = {
        labels: ['2025-03-30', '2025-03-31', '2025-04-01'],
        datasets: [{
            label: '订单计划',
            data: [7098, 8000, 8500],
            backgroundColor: 'rgba(54, 162, 235, 0.2)',
            borderColor: 'rgba(54, 162, 235, 1)',
            borderWidth: 1
        }, {
            label: '订单完成',
            data: [7897, 8200, 8700],
            backgroundColor: 'rgba(75, 192, 192, 0.2)',
            borderColor: 'rgba(75, 192, 192, 1)',
            borderWidth: 1
        }]
    };
    // 初始化 ECharts 图表
    const trendChart1 = echarts.init(document.getElementById('trendChart1'));
    const trendChart2 = echarts.init(document.getElementById('trendChart2'));
    const trendChart3 = echarts.init(document.getElementById('trendChart3'));
    const ctx1 = document.getElementById('trendChart1').getContext('2d');
    const trendChart1 = new Chart(ctx1, {
        type: 'bar',
        data: initialData
    });
    const ctx2 = document.getElementById('trendChart2').getContext('2d');
    const trendChart2 = new Chart(ctx2, {
        type: 'bar',
        data: {
            labels: ['2025-03-30', '2025-03-31', '2025-04-01'],
            datasets: [{
                label: '工程不良台数',
                data: [5, 3, 2],
                backgroundColor: 'rgba(75, 192, 192, 0.2)',
                borderColor: 'rgba(75, 192, 192, 1)',
                borderWidth: 1
            }, {
                label: '工程不良率',
    // 配置第一个图表 (柱状图 - 订单计划和订单完成)
    // const option1 = {
    //     tooltip: {
    //         trigger: 'axis'
    //     },
    //     legend: {
    //         data: ['订单计划', '订单完成']
    //     },
    //     xAxis: {
    //         type: 'category',
    //         data: dates
    //     },
    //     yAxis: {
    //         type: 'value'
    //     },
    //     series: [{
    //         name: '订单计划',
    //         type: 'bar',
    //         data: plans,
    //         itemStyle: {
    //             color: 'rgba(54, 162, 235, 1)'
    //         }
    //     },
    //         {
    //             name: '订单完成',
    //             type: 'bar',
    //             data: overnums,
    //             itemStyle: {
    //                 color: 'rgba(75, 192, 192, 1)'
    //             }
    //         }
    //     ]
    // };
    // trendChart1.setOption(option1);
    // 配置第二个图表 (柱状图 - 工程不良台数和工程不良率)
    const option2 = {
        tooltip: {
            trigger: 'axis'
        },
        legend: {
            data: ['工程不良台数', '工程不良率']
        },
        xAxis: {
            type: 'category',
            data: ['2025-03-30', '2025-03-31', '2025-04-01']
        },
        yAxis: {
            type: 'value'
        },
        series: [{
            name: '工程不良台数',
            type: 'bar',
            data: [5, 3, 2],
            itemStyle: {
                color: 'rgba(75, 192, 192, 1)'
            }
        },
            {
                name: '工程不良率',
                type: 'bar',
                data: [0.01, 0.02, 0.03],
                backgroundColor: 'rgba(255, 99, 132, 0.2)',
                borderColor: 'rgba(255, 99, 132, 1)',
                borderWidth: 1
            }]
        }
    });
                itemStyle: {
                    color: 'rgba(255, 99, 132, 1)'
                }
            }
        ]
    };
    trendChart2.setOption(option2);
    const ctx3 = document.getElementById('trendChart3').getContext('2d');
    const trendChart3 = new Chart(ctx3, {
        type: 'bar',
        data: {
            labels: ['2025-03-30', '2025-03-31', '2025-04-01'],
            datasets: [{
                label: '停机时长',
                data: [1, 2, 3],
                backgroundColor: 'rgba(255, 159, 64, 0.2)',
                borderColor: 'rgba(255, 159, 64, 1)',
                borderWidth: 1
            }, {
                label: '停机时率',
                data: [0.02, 0.03, 0.04],
                backgroundColor: 'rgba(153, 102, 255, 0.2)',
                borderColor: 'rgba(153, 102, 255, 1)',
                borderWidth: 1
            }]
        }
    });
    // 配置第三个图表 (柱状图 - 停机时长和停机时率)
    // const option3 = {
    //     tooltip: {
    //         trigger: 'axis'
    //     },
    //     legend: {
    //         data: ['停机时长', '停机时率']
    //     },
    //     xAxis: {
    //         type: 'category',
    //         data: ['2025-03-30', '2025-03-31', '2025-04-01']
    //     },
    //     yAxis: {
    //         type: 'value'
    //     },
    //     series: [{
    //         name: '停机时长',
    //         type: 'bar',
    //         data: [1, 2, 3],
    //         itemStyle: {
    //             color: 'rgba(255, 159, 64, 1)'
    //         }
    //     },
    //         {
    //             name: '停机时率',
    //             type: 'bar',
    //             data: [0.02, 0.03, 0.04],
    //             itemStyle: {
    //                 color: 'rgba(153, 102, 255, 1)'
    //             }
    //         }
    //     ]
    // };
    // trendChart3.setOption(option3);
    //根据日期范围过滤数据
    // 根据日期范围过滤数据
    function filterData() {
        const startDate = document.getElementById('start-date').value;
        const endDate = document.getElementById('end-date').value;
        // 构建请求的参数
        const params = {
            startDate: startDate,
            endDate: endDate,
        };
        // 示例:假设您已经通过查询筛选了数据,下面模拟更新图表数据
        // 更新第一个趋势图
        trendChart1.data = {
        // 模拟新的数据
        const newData1 = {
            labels: ['2025-03-30', '2025-03-31'],
            datasets: [{
                label: '订单计划',
@@ -562,41 +579,18 @@
                borderWidth: 1
            }]
        };
        trendChart2.data = {
            labels: ['2025-03-30', '2025-03-31'],
            datasets: [{
                label: '工程不良台数',
                data: [5, 3,],
                backgroundColor: 'rgba(75, 192, 192, 0.2)',
                borderColor: 'rgba(75, 192, 192, 1)',
                borderWidth: 1
            }, {
                label: '工程不良率',
                data: [0.01, 0.02],
                backgroundColor: 'rgba(255, 99, 132, 0.2)',
                borderColor: 'rgba(255, 99, 132, 1)',
                borderWidth: 1
            }]
        };
        trendChart3.data = {
            labels: ['2025-03-30', '2025-03-31'],
            datasets: [{
                label: '停机时长',
                data: [1, 2],
                backgroundColor: 'rgba(255, 159, 64, 0.2)',
                borderColor: 'rgba(255, 159, 64, 1)',
                borderWidth: 1
            }, {
                label: '停机时率',
                data: [0.02, 0.03],
                backgroundColor: 'rgba(153, 102, 255, 0.2)',
                borderColor: 'rgba(153, 102, 255, 1)',
                borderWidth: 1
            }]
        };
        trendChart1.update();
        trendChart2.update();
        trendChart3.update();
        trendChart1.setOption({
            xAxis: {
                data: newData1.labels
            },
            series: [{
                data: newData1.datasets[0].data
            },
                {
                    data: newData1.datasets[1].data
                }
            ]
        });
    }
    // 重置搜索栏
gmms/WebContent/js/mixins.js
@@ -59,6 +59,7 @@
            
      },
        async loadAjxss(gongneng,sql,flag,vals){
          let param = new URLSearchParams(); 
          param.append("yemian","123"); 
          param.append("gongneng",gongneng);
@@ -67,9 +68,11 @@
          param.append("anquanma","anquanma1");
        await this.$http.post( '../mysqlInsert/mysql.jsp',param)
            .then(function (response) {
                if(flag==2){
                    let result=response.data;
                    let index = result.indexOf("[{");
                    //console.log('....'+index);
                    if(index>-1){
                        result=result.substring(index).trim();
                        app.$data[vals]=JSON.parse(result);
gmms/WebContent/qiegeguanli/qiegerenwu.jsp
@@ -15,8 +15,6 @@
<link rel="stylesheet" href="../static/css/element.css">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript">
/*   var interval = setInterval('refreshStatus()', 20000);
   $(document).ready(function(){
@@ -86,7 +84,7 @@
                            </tr>
                        </thead>
                        <tbody>
                            <tr v-for="item in shuzu" style="height: 51px;">
                            <tr v-for="(item, index) in shuzu" :key="index" style="height: 51px;">
                                <td>{{item['1_order_id']}}</td>
                                <td>{{item['2_largeglass_length']}}</td>
                                <td>{{item['3_largeglass_width']}}</td>
@@ -110,8 +108,8 @@
                                    手动完成
                                </td>
                                <td v-else>
                                </td>
                                <td>{{item['12_order_maker']}}</td>
                                <td  v-if="item['11_order_status']==1">
@@ -120,7 +118,7 @@
                                    <button @click="dainjishijian('手动完成',item['0_id'])" style='background-color: #5CADFE' class='btn btn-large btn-success' >手动完成</button>
                                </td>
                                <td  v-else-if="item['11_order_status']==2">
                                    <button @click="dainjishijian('结束任务',item['0_id'])" style='background-color: red' class='btn btn-large btn-success' >结束任务</button>
                                    &nbsp;&nbsp;&nbsp;
                                    <button @click="dainjishijian('取消任务',item['0_id'])" style='background-color: #5CADFE' class='btn btn-large btn-success' >取消任务</button>
@@ -129,7 +127,7 @@
                                    <button @click="dainjishijian('重新下发',item[0])" style='background-color: #5CADFE' class='btn btn-large btn-success' >重新下发</button>
                                </td> -->
                                <td v-else>
                                </td>
                            </tr>
                        </tbody>
@@ -365,10 +363,11 @@
         let canshu={
                 line:<%= request.getParameter("id") %>
         }
         this.shuzu="";
          let sql="{call AXJ_qiegeguanli_threelinetask_list1()}";
         // this.shuzu="";
         let sql="{call AXJ_qiegeguanli_threelinetask_list1()}";
         let flag=2;
         this.loadAjxss('任务查询成功',sql,flag,"shuzu");
         this.loadAjxss('任务查询成功',sql,flag,"shuzu");
         console.log("sql:",this.shuzu);
         /* sql="{call AXJ_qiegeguanli_peifanghao_cahxun()}";
         loadAjxs('配方号查询',sql,flag,"peifanhao");  */
      }