diff --git a/数据库更新/883-20241116更新.sql b/数据库更新/883-20241116更新.sql new file mode 100644 index 0000000..962e59f --- /dev/null +++ b/数据库更新/883-20241116更新.sql @@ -0,0 +1,66 @@ +-- ϲ +ALTER TABLE `883web`.mini_sales_returns_materials ADD order_no varchar(100) NULL COMMENT ''; +ALTER TABLE `883web`.mini_process_report ADD order_no varchar(100) NULL COMMENT ''; +ALTER TABLE `883web`.mini_production_schedule ADD order_no varchar(100) NULL COMMENT ''; +ALTER TABLE `883web`.mini_extrusion_schedule_detail ADD order_no varchar(100) NULL COMMENT ''; +ALTER TABLE `883web`.mini_product_receipt ADD order_no varchar(100) NULL COMMENT ''; + +ALTER TABLE `883web`.mini_production_schedule ADD status TINYINT DEFAULT 0 NULL COMMENT '״̬ 0-δŲ 1-Ų'; +ALTER TABLE `883web`.mini_extrusion_schedule_detail ADD status TINYINT DEFAULT 0 NULL COMMENT '״̬ 0-δ 1-'; + +ALTER TABLE mini_process_report +ADD COLUMN mold_code VARCHAR(100) COMMENT 'ģ߱', +ADD COLUMN mold_model VARCHAR(100) COMMENT 'ģͺ', +ADD COLUMN mold_thickness DECIMAL(15,4) COMMENT 'ģ', +ADD COLUMN mold_manufacturer VARCHAR(100) COMMENT 'ģ߳', +ADD COLUMN mold_color VARCHAR(100) COMMENT 'ɫ', +ADD COLUMN mold_change_reason TEXT COMMENT 'ģԭ', +ADD COLUMN rod_count INT COMMENT 'ð֧'; + +ALTER TABLE mini_process_report +ADD COLUMN stock_quantity int DEFAULT 0 COMMENT ''; + +-- ˵ +INSERT INTO `883web`.sys_menu +(parent, name, `path`, component, redirect, meta, status, create_by, sort) +VALUES('processReportManage', 'processReport_jy', +'/mini/productionManagement/processReport?type=jy', +'mini/productionManagement/processReport?type=jy', NULL, +'{"icon": "", "type": "menu", "affix": null, "color": null, "title": "ѹ", "active": null, "hidden": false, "hiddenBreadcrumb": false}', '0', '', NULL); +INSERT INTO `883web`.sys_menu +(parent, name, `path`, component, redirect, meta, status, create_by, sort) +VALUES('processReportManage', 'processReport_dk', +'/mini/productionManagement/processReport?type=dk', +'mini/productionManagement/processReport?type=dk', NULL, +'{"icon": "", "type": "menu", "affix": null, "color": null, "title": "ױ", "active": null, "hidden": false, "hiddenBreadcrumb": false}', '0', '', NULL); +INSERT INTO `883web`.sys_menu +(parent, name, `path`, component, redirect, meta, status, create_by, sort) +VALUES('processReportManage', 'processReport_jingpin', +'/mini/productionManagement/processReport?type=jingpin', +'mini/productionManagement/processReport?type=jingpin', NULL, +'{"icon": "", "type": "menu", "affix": null, "color": null, "title": "Ʒ", "active": null, "hidden": false, "hiddenBreadcrumb": false}', '0', '', NULL); +INSERT INTO `883web`.sys_menu +(parent, name, `path`, component, redirect, meta, status, create_by, sort) +VALUES('processReportManage', 'processReport_yanghua1', +'/mini/productionManagement/processReport?type=yanghua1', +'mini/productionManagement/processReport?type=yanghua1', NULL, +'{"icon": "", "type": "menu", "affix": null, "color": null, "title": "ű", "active": null, "hidden": false, "hiddenBreadcrumb": false}', '0', '', NULL); +INSERT INTO `883web`.sys_menu +(parent, name, `path`, component, redirect, meta, status, create_by, sort) +VALUES('processReportManage', 'processReport_yanghua2', +'/mini/productionManagement/processReport?type=yanghua2', +'mini/productionManagement/processReport?type=yanghua2', NULL, +'{"icon": "", "type": "menu", "affix": null, "color": null, "title": "ű", "active": null, "hidden": false, "hiddenBreadcrumb": false}', '0', '', NULL); +INSERT INTO `883web`.sys_menu +(parent, name, `path`, component, redirect, meta, status, create_by, sort) +VALUES('processReportManage', 'processReport_jingqie', +'/mini/productionManagement/processReport?type=jingqie', +'mini/productionManagement/processReport?type=jingqie', NULL, +'{"icon": "", "type": "menu", "affix": null, "color": null, "title": "б", "active": null, "hidden": false, "hiddenBreadcrumb": false}', '0', '', NULL); +INSERT INTO `883web`.sys_menu +(parent, name, `path`, component, redirect, meta, status, create_by, sort) +VALUES('processReportManage', 'processReport_bz', +'/mini/productionManagement/processReport?type=bz', +'mini/productionManagement/processReport?type=bz', NULL, +'{"icon": "", "type": "menu", "affix": null, "color": null, "title": "װ", "active": null, "hidden": false, "hiddenBreadcrumb": false}', '0', '', NULL); +