From 21092d29c1c0cd1003bb32bf91fddae265a8baea Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期三, 20 十一月 2024 08:41:11 +0800
Subject: [PATCH] 1、卧理单条磨边线对接完成,另一条线等待IP确认 2、大理片笼提交部分代码

---
 hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/changelog/ywChangelog.sql |   45 +++++++++++++++++++++++----------------------
 1 files changed, 23 insertions(+), 22 deletions(-)

diff --git a/hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/changelog/ywChangelog.sql b/hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/changelog/ywChangelog.sql
index 5892857..a67b7f8 100644
--- a/hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/changelog/ywChangelog.sql
+++ b/hangzhoumesParent/moduleService/TemperingGlassModule/src/main/resources/changelog/ywChangelog.sql
@@ -9,17 +9,14 @@
     glass_id_in  varchar(20)        DEFAULT NULL COMMENT '杩涚墖鐜荤拑id',
     glass_id_out varchar(20)        DEFAULT NULL COMMENT '鍑虹墖鐜荤拑id',
     glass_id     varchar(20)        DEFAULT NULL COMMENT '纾ㄨ竟鍓嶇幓鐠僫d',
+    in_place     int                DEFAULT 0 COMMENT '灏变綅淇″彿',
     current_cell int                DEFAULT '0' COMMENT '褰撳墠灞傚彿',
     start_cell   int                DEFAULT '0' COMMENT '灞傚彿',
     end_cell     int                DEFAULT NULL COMMENT '棰勭暀灞傚彿',
     task_state   int                DEFAULT NULL COMMENT '浠诲姟鐘舵�� 0榛樿绌轰换鍔� 1鎵ц涓� 2缁撴潫浠诲姟',
     task_type    int                DEFAULT NULL COMMENT '浠诲姟绫诲瀷',
     create_time  timestamp NULL     DEFAULT CURRENT_TIMESTAMP COMMENT '鍒涘缓鏃堕棿',
-    update_time  timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '鏇存柊鏃堕棿',
-    width        int                DEFAULT NULL COMMENT '瀹�',
-    height       int                DEFAULT NULL COMMENT '楂�',
-    thickness    int                DEFAULT NULL COMMENT '鍘�',
-    film_remove  int                DEFAULT NULL COMMENT '鏄惁闄よ啘'
+    update_time  timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '鏇存柊鏃堕棿'
 );
 -- rollback DROP TABLE edg_storage_device_one_task;
 
@@ -27,9 +24,10 @@
 -- changeset zsh:20241107002
 -- preconditions onFail:CONTINUE onError:CONTINUE
 -- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM edg_storage_device_one_task;
-INSERT INTO edg_storage_device_one_task (task_running, glass_id, glass_id_in, glass_id_out, current_cell, start_cell,
-                                         end_cell, task_state, task_type, width, height, thickness, film_remove)
-VALUES (0, NULL, NULL, NULL, 1, 0, NULL, 0, NULL, 0, 0, 0, 0);
+INSERT INTO edg_storage_device_one_task (task_running, glass_id, in_place, glass_id_in, glass_id_out, current_cell,
+                                         start_cell,
+                                         end_cell, task_state, task_type)
+VALUES (0, NULL, 0, NULL, NULL, 1, 0, NULL, 0, NULL, 0, 0, 0, 0);
 
 
 -- changeset zsh:20241107003
@@ -41,26 +39,24 @@
     glass_id_in  varchar(20)        DEFAULT NULL COMMENT '杩涚墖鐜荤拑id',
     glass_id_out varchar(20)        DEFAULT NULL COMMENT '鍑虹墖鐜荤拑id',
     glass_id     varchar(20)        DEFAULT NULL COMMENT '纾ㄨ竟鍓嶇幓鐠僫d',
+    in_place     int                DEFAULT 0 COMMENT '灏变綅淇″彿',
     current_cell int                DEFAULT '0' COMMENT '褰撳墠灞傚彿',
     start_cell   int                DEFAULT '0' COMMENT '灞傚彿',
     end_cell     int                DEFAULT NULL COMMENT '棰勭暀灞傚彿',
     task_state   int                DEFAULT NULL COMMENT '浠诲姟鐘舵�� 0榛樿绌轰换鍔� 1鎵ц涓� 2缁撴潫浠诲姟',
     task_type    int                DEFAULT NULL COMMENT '浠诲姟绫诲瀷',
     create_time  timestamp NULL     DEFAULT CURRENT_TIMESTAMP COMMENT '鍒涘缓鏃堕棿',
-    update_time  timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '鏇存柊鏃堕棿',
-    width        int                DEFAULT NULL COMMENT '瀹�',
-    height       int                DEFAULT NULL COMMENT '楂�',
-    thickness    int                DEFAULT NULL COMMENT '鍘�',
-    film_remove  int                DEFAULT NULL COMMENT '鏄惁闄よ啘'
+    update_time  timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '鏇存柊鏃堕棿'
 );
 -- rollback DROP TABLE edg_storage_device_two_task;
 
 -- changeset zsh:20241107004
 -- preconditions onFail:CONTINUE onError:CONTINUE
 -- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM edg_storage_device_two_task;
-INSERT INTO edg_storage_device_two_task (task_running, glass_id, glass_id_in, glass_id_out, current_cell, start_cell,
-                                         end_cell, task_state, task_type, width, height, thickness, film_remove)
-VALUES (0, NULL, NULL, NULL, 1, 0, NULL, 0, NULL, 0, 0, 0, 0);
+INSERT INTO edg_storage_device_two_task (task_running, glass_id, in_place, glass_id_in, glass_id_out, current_cell,
+                                         start_cell,
+                                         end_cell, task_state, task_type)
+VALUES (0, NULL, 0, NULL, NULL, 1, 0, NULL, 0, NULL, 0, 0, 0, 0);
 
 
 
@@ -72,6 +68,8 @@
     id           bigint    NOT NULL AUTO_INCREMENT COMMENT '宸ョ▼琛╥d',
     glass_id_in  varchar(20)        DEFAULT NULL COMMENT '杩涚墖鐜荤拑id',
     glass_id_out varchar(20)        DEFAULT NULL COMMENT '鍑虹墖鐜荤拑id',
+    glass_id     varchar(20)        DEFAULT NULL COMMENT '纾ㄨ竟鍓嶇幓鐠僫d',
+    in_place     int                DEFAULT 0 COMMENT '灏变綅淇″彿',
     current_cell int                DEFAULT '0' COMMENT '褰撳墠灞傚彿',
     start_cell   int                DEFAULT '0' COMMENT '灞傚彿',
     end_cell     int                DEFAULT NULL COMMENT '棰勭暀灞傚彿',
@@ -108,6 +106,7 @@
     raw_glass_width  int                DEFAULT '0' COMMENT '鍘熺墖瀹�',
     raw_glass_height int                DEFAULT '0' COMMENT '鍘熺墖楂�',
     slot             int                DEFAULT '0' COMMENT '涓婄墖浣嶇紪鍙�',
+    inkage_state     int                DEFAULT '0' COMMENT '鑱旀満鐘舵��',
     task_state       int                DEFAULT NULL COMMENT '浠诲姟鐘舵�� 0榛樿绌轰换鍔� 1鎵ц涓� 2缁撴潫浠诲姟',
     create_time      timestamp NULL     DEFAULT CURRENT_TIMESTAMP COMMENT '鍒涘缓鏃堕棿',
     update_time      timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '鏇存柊鏃堕棿',
@@ -120,9 +119,9 @@
 -- changeset zsh:20241107008
 -- preconditions onFail:CONTINUE onError:CONTINUE
 -- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM load_glass_device_one_task;
-INSERT INTO load_glass_device_one_task (task_running, raw_glass_width, raw_glass_height, slot, task_state, total_count,
-                                        finish_count, damage_count)
-VALUES (0, 0, 0, 0, 0, 0, 0, 0);
+INSERT INTO load_glass_device_one_task (task_running, raw_glass_width, raw_glass_height, slot, inkage_state, task_state,
+                                        total_count, finish_count, damage_count)
+VALUES (0, 0, 0, 0, 0, 0, 0, 0, 0);
 
 -- changeset zsh:20241107009
 -- preconditions onFail:CONTINUE onError:CONTINUE
@@ -133,6 +132,7 @@
     raw_glass_width  int                DEFAULT '0' COMMENT '鍘熺墖瀹�',
     raw_glass_height int                DEFAULT '0' COMMENT '鍘熺墖楂�',
     slot             int                DEFAULT '0' COMMENT '涓婄墖浣嶇紪鍙�',
+    inkage_state     int                DEFAULT '0' COMMENT '鑱旀満鐘舵��',
     task_state       int                DEFAULT NULL COMMENT '浠诲姟鐘舵�� 0榛樿绌轰换鍔� 1鎵ц涓� 2缁撴潫浠诲姟',
     create_time      timestamp NULL     DEFAULT CURRENT_TIMESTAMP COMMENT '鍒涘缓鏃堕棿',
     update_time      timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '鏇存柊鏃堕棿',
@@ -145,9 +145,9 @@
 -- changeset zsh:20241107010
 -- preconditions onFail:CONTINUE onError:CONTINUE
 -- precondition-sql-check expectedResult:0 SELECT COUNT(*) FROM load_glass_device_two_task;
-INSERT INTO load_glass_device_two_task (task_running, raw_glass_width, raw_glass_height, slot, task_state, total_count,
-                                        finish_count, damage_count)
-VALUES (0, 0, 0, 0, 0, 0, 0, 0);
+INSERT INTO load_glass_device_two_task (task_running, raw_glass_width, raw_glass_height, slot, inkage_state, task_state,
+                                        total_count, finish_count, damage_count)
+VALUES (0, 0, 0, 0, 0, 0, 0, 0, 0);
 
 
 -- changeset zsh:20241107011
@@ -161,6 +161,7 @@
     raw_glass_height int                DEFAULT '0' COMMENT '鍘熺墖楂�',
     station          int                DEFAULT '0' COMMENT '涓婄墖璁惧缂栧彿',
     slot             int                DEFAULT '0' COMMENT '涓婄墖浣嶇紪鍙�',
+    inkage_state     int                DEFAULT '0' COMMENT '鑱旀満鐘舵��',
     task_state       int                DEFAULT NULL COMMENT '浠诲姟鐘舵�� 0榛樿绌轰换鍔� 1鎵ц涓� 2缁撴潫浠诲姟',
     create_time      timestamp NULL     DEFAULT CURRENT_TIMESTAMP COMMENT '鍒涘缓鏃堕棿',
     update_time      timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '鏇存柊鏃堕棿',

--
Gitblit v1.8.0