Files
MES/yawei-mes/.sql/2025-12-10_v1.0.42_周启威_生产领料新增绑定工单主表id.sql
2026-04-02 10:39:03 +08:00

17 lines
762 B
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters

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.

ALTER TABLE `wm_production_pick`
ADD COLUMN `work_order_id` bigint NULL DEFAULT NULL COMMENT '工单ID用于连续物料关联' AFTER `work_order_entry_id`;
ALTER TABLE `wm_production_pick`
ADD INDEX `idx_work_order_id`(`work_order_id`) USING BTREE;
-- 1. 隐藏"生产计划表"菜单 (menu_id=2413)
UPDATE sys_menu SET visible = '1' WHERE menu_id = 2413;
-- 2. 把"周/月产量计划"改名为"生产计划"并设置排序为0
UPDATE sys_menu SET menu_name = '生产计划', order_num = 0 WHERE menu_name = '周/月产量计划';
-- 3. 隐藏"产线模型"菜单 (menu_id=2359)
UPDATE sys_menu SET visible = '1' WHERE menu_id = 2359;
-- 4. 隐藏"车间设备"菜单 (menu_id=2363)
UPDATE sys_menu SET visible = '1' WHERE menu_id = 2363;