初始代码

This commit is contained in:
hhh
2026-04-02 10:38:23 +08:00
parent d8b4140f50
commit aed67ce1fd
1937 changed files with 447678 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
-- 1. 先查询出父菜单ID并赋值给变量
SET @parent_id = (SELECT menu_id FROM sys_menu WHERE path='fiihupgrade' and menu_type='M');
-- 2. 使用变量插入数据
INSERT INTO sys_menu (
`menu_name`, `parent_id`, `order_num`, `path`,
`component`, `query`, `is_frame`, `is_cache`, `menu_type`,
`visible`, `status`, `perms`, `icon`, `create_by`, `create_time`,
`update_by`, `update_time`, `remark`
)VALUES (
'质检追溯', @parent_id, 10, 'qualityAccident',
'mes/quality/accident/index', NULL, 1, 0, 'C', '0', '0',
'', '#', 'YAVII', '2026-02-05 15:34:51', 'YAVII',
'2026-02-05 19:50:48', ''
);