From abcb19ee0cf2659981516133a1a9e7b163f529ce Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期六, 24 一月 2026 08:21:14 +0800
Subject: [PATCH] 1
---
version/db/new.sql | 35 +++++++++++++----------------------
1 files changed, 13 insertions(+), 22 deletions(-)
diff --git a/version/db/new.sql b/version/db/new.sql
index 603a794..b51e0e9 100644
--- a/version/db/new.sql
+++ b/version/db/new.sql
@@ -1,23 +1,14 @@
--- auto-generated definition
-create table man_lane
-(
- id bigint unsigned auto_increment comment 'ID'
- primary key,
- uuid varchar(255) null comment '缂栧彿(*)',
- zone_id bigint null comment '搴撳尯[man_zone]',
- name varchar(255) null comment '鍚嶇О',
- hash_code varchar(255) not null comment '鍝堝笇鍊�',
- codes text not null comment '鏉$爜闆�',
- entry_angle int default -1 null comment '鍏ュ彛瑙掑害',
- maximum int default -1 null comment '鎵胯浇閲�',
- status int(1) default 1 not null comment '鐘舵�亄1:姝e父,0:鍐荤粨}',
- deleted int(1) default 0 not null comment '鏄惁鍒犻櫎{1:鏄�,0:鍚',
- tenant_id int null comment '绉熸埛[sys_tenant]',
- create_by bigint null comment '娣诲姞浜哄憳[sys_user]',
- create_time timestamp default CURRENT_TIMESTAMP not null comment '娣诲姞鏃堕棿',
- update_by bigint null comment '淇敼浜哄憳[sys_user]',
- update_time timestamp default CURRENT_TIMESTAMP null comment '淇敼鏃堕棿',
- memo varchar(255) null comment '澶囨敞'
-)
- charset = utf8;
+alter table man_travel
+ add roller_waiting int(1) default 0 null comment '婊氱瓛绾跨瓑寰�' after task_ids;
+alter table man_travel
+ add roller_waiting_code bigint null comment '婊氱瓛绾跨瓑寰呭湴鐮�' after roller_waiting;
+
+alter table man_travel_log
+ add roller_waiting int(1) default 0 null comment '婊氱瓛绾跨瓑寰�' after task_ids;
+
+alter table man_travel_log
+ add roller_waiting_code bigint null comment '婊氱瓛绾跨瓑寰呭湴鐮�' after roller_waiting;
+
+CREATE INDEX idx_agv_state_wait
+ ON man_travel (agv_id, state, roller_waiting, deleted);
--
Gitblit v1.9.1