This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- =============================================================
-- AGV 平库对接 · SQL 执行顺序说明
-- 说明:按编号顺序执行,每个脚本均可重复执行(幂等)
-- 执行范围: AGV 平库所在数据库(默认连接 wms_yongfeng_cp)
-- =============================================================
-- 【执行顺序】
--
-- 01_agv_task_table.sql —— AgvTask 主表 + AgvTaskHistory 归档镜像表
-- 02_agv_locationzone_floor.sql —— LocationZone 新增 Floor 楼层字段
-- 03_agv_tasklog.sql —— AgvTaskLog 日志表 + AgvTaskLogHistory 归档镜像表
-- 04_agv_scene_config.sql —— AgvTaskSceneConfig 场景配置表 + 初始数据
-- 05_agv_dml_menu.sql —— SysJob( 归档/超时监控)+ AGV任务页/场景配置页菜单权限
-- 06_agv_tasklog_menu.sql —— AGV 任务日志页菜单权限
-- 07_agv_dispatch_retryjob.sql —— SysJob( 定时下发/完成联动自动重试)+ 库位 ContainerStatus 兜底修复
-- 99_agv_verify.sql —— 只读核查(上线前后核对)
--
-- 【注意事项】
--
-- 1. 全部脚本可重复执行,现场误重复执行无影响
-- 2. 02 执行后需人工更新库区楼层: UPDATE LocationZone SET Floor = ? WHERE ZoneCode = ?
-- 3. 04 中的 SceneId/SceneName 为占位值,需按仙工实际场景配置更新
-- 4. 07 执行后需在【系统管理→定时任务】页面确认 Job 状态为启用
-- 5. 99 为只读核查,不修改数据