cirs_20230430.sql 8.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. use cirs;
  2. -- 菜单 SQL
  3. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  4. values('预处理', '0', '1', 'preprocessing', 'biz/preprocessing/index', 1, 0, 'C', '0', '0', 'biz:preprocessing:list', '#', 'admin', sysdate(), '', null, '预处理菜单');
  5. -- 按钮父菜单ID
  6. SELECT @parentId := LAST_INSERT_ID();
  7. -- 按钮 SQL
  8. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  9. values('预处理查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'biz:preprocessing:query', '#', 'admin', sysdate(), '', null, '');
  10. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  11. values('预处理新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'biz:preprocessing:add', '#', 'admin', sysdate(), '', null, '');
  12. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  13. values('预处理修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'biz:preprocessing:edit', '#', 'admin', sysdate(), '', null, '');
  14. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  15. values('预处理删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'biz:preprocessing:remove', '#', 'admin', sysdate(), '', null, '');
  16. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  17. values('预处理导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'biz:preprocessing:export', '#', 'admin', sysdate(), '', null, '');
  18. ALTER TABLE t_data_preprocessing MODIFY COLUMN column_name VARCHAR(255);
  19. INSERT INTO `t_data_preprocessing` VALUES (1, 'manufacturer', '济半所', '济南半导体元件实验所', '', NULL, '', NULL, NULL);
  20. INSERT INTO `t_data_preprocessing` VALUES (2, 'manufacturer', '济半', '济南半导体元件实验所', '', NULL, '', NULL, NULL);
  21. INSERT INTO `t_data_preprocessing` VALUES (3, 'manufacturer', '济南半导体元件实验所', '济南半导体元件实验所', '', NULL, '', NULL, NULL);
  22. INSERT INTO `t_data_preprocessing` VALUES (4, 'manufacturer', '北京七一八友晟电子有限公司', '北京七一八友晟电子有限公司', '', NULL, '', NULL, NULL);
  23. INSERT INTO `t_data_preprocessing` VALUES (5, 'manufacturer', '友晟', '北京七一八友晟电子有限公司', '', NULL, '', NULL, NULL);
  24. INSERT INTO `t_data_preprocessing` VALUES (6, 'manufacturer', '718友晟', '北京七一八友晟电子有限公司', '', NULL, '', NULL, NULL);
  25. INSERT INTO `t_data_preprocessing` VALUES (7, 'manufacturer', '友晟电子', '北京七一八友晟电子有限公司', '', NULL, '', NULL, NULL);
  26. INSERT INTO `t_data_preprocessing` VALUES (8, 'manufacturer', '北京718友晟电子', '北京七一八友晟电子有限公司', '', NULL, '', NULL, NULL);
  27. INSERT INTO `t_data_preprocessing` VALUES (9, 'manufacturer', '北京元六鸿远电子科技股份有限公司', '北京元六鸿远电子科技股份有限公司', '', NULL, '', NULL, NULL);
  28. INSERT INTO `t_data_preprocessing` VALUES (10, 'manufacturer', '元六', '北京元六鸿远电子科技股份有限公司', '', NULL, '', NULL, NULL);
  29. INSERT INTO `t_data_preprocessing` VALUES (11, 'manufacturer', '元六鸿远', '北京元六鸿远电子科技股份有限公司', '', NULL, '', NULL, NULL);
  30. INSERT INTO `t_data_preprocessing` VALUES (12, 'manufacturer', '北京元六', '北京元六鸿远电子科技股份有限公司', '', NULL, '', NULL, NULL);
  31. INSERT INTO `t_data_preprocessing` VALUES (13, 'manufacturer', '北京元六鸿远', '北京元六鸿远电子科技股份有限公司', '', NULL, '', NULL, NULL);
  32. INSERT INTO `t_data_preprocessing` VALUES (14, 'manufacturer', '元六鸿远电子', '北京元六鸿远电子科技股份有限公司', '', NULL, '', NULL, NULL);
  33. INSERT INTO `t_data_preprocessing` VALUES (15, 'manufacturer', '深圳振华富电子有限公司', '深圳振华富电子有限公司', '', NULL, '', NULL, NULL);
  34. INSERT INTO `t_data_preprocessing` VALUES (16, 'manufacturer', '振华富', '深圳振华富电子有限公司', '', NULL, '', NULL, NULL);
  35. INSERT INTO `t_data_preprocessing` VALUES (17, 'manufacturer', '振华富电子', '深圳振华富电子有限公司', '', NULL, '', NULL, NULL);
  36. -- 菜单 SQL
  37. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  38. values('双清单管理', '0', '1', 'sqd', 'biz/sqd/index', 1, 0, 'C', '0', '0', 'biz:sqd:list', '#', 'admin', sysdate(), '', null, '双清单管理菜单');
  39. -- 按钮父菜单ID
  40. SELECT @parentId := LAST_INSERT_ID();
  41. -- 按钮 SQL
  42. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  43. values('双清单管理查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'biz:sqd:query', '#', 'admin', sysdate(), '', null, '');
  44. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  45. values('双清单管理新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'biz:sqd:add', '#', 'admin', sysdate(), '', null, '');
  46. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  47. values('双清单管理修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'biz:sqd:edit', '#', 'admin', sysdate(), '', null, '');
  48. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  49. values('双清单管理删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'biz:sqd:remove', '#', 'admin', sysdate(), '', null, '');
  50. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  51. values('双清单管理导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'biz:sqd:export', '#', 'admin', sysdate(), '', null, '');
  52. -- 菜单 SQL
  53. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  54. values('SQD明细', '0', '1', 'sqddetail', 'biz/sqddetail/index', 1, 0, 'C', '0', '0', 'biz:sqddetail:list', '#', 'admin', sysdate(), '', null, 'SQD明细菜单');
  55. -- 按钮父菜单ID
  56. SELECT @parentId := LAST_INSERT_ID();
  57. -- 按钮 SQL
  58. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  59. values('SQD明细查询', @parentId, '1', '#', '', 1, 0, 'F', '0', '0', 'biz:sqddetail:query', '#', 'admin', sysdate(), '', null, '');
  60. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  61. values('SQD明细新增', @parentId, '2', '#', '', 1, 0, 'F', '0', '0', 'biz:sqddetail:add', '#', 'admin', sysdate(), '', null, '');
  62. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  63. values('SQD明细修改', @parentId, '3', '#', '', 1, 0, 'F', '0', '0', 'biz:sqddetail:edit', '#', 'admin', sysdate(), '', null, '');
  64. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  65. values('SQD明细删除', @parentId, '4', '#', '', 1, 0, 'F', '0', '0', 'biz:sqddetail:remove', '#', 'admin', sysdate(), '', null, '');
  66. insert into sys_menu (menu_name, parent_id, order_num, path, component, is_frame, is_cache, menu_type, visible, status, perms, icon, create_by, create_time, update_by, update_time, remark)
  67. values('SQD明细导出', @parentId, '5', '#', '', 1, 0, 'F', '0', '0', 'biz:sqddetail:export', '#', 'admin', sysdate(), '', null, '');