93 lines
23 KiB
SQL
93 lines
23 KiB
SQL
-- 菜单层级修复:5 个一级分组归入 Web端菜单(id=2) 下,原二级菜单归入对应 TOP 分组
|
|
SET NAMES utf8mb4;
|
|
|
|
UPDATE sys_menu SET parent_id='2', path='/market', component='/index/index', perms='menu:market', visible='1', order_num=1, menu_type='M' WHERE id='TOP00000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='TOP00000000000000000000000000001', path='cell-storage', component=NULL, perms=NULL, visible='1', order_num=1, menu_type='M' WHERE id='CEL00000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='CEL00000000000000000000000000001', path='protocol', component='/cell-storage/protocol/index', perms='biz:cellStorageProtocol:list', visible='0', order_num=1, menu_type='C' WHERE id='50000000000000000000000000000002' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='CEL00000000000000000000000000001', path='protocol-audit', component='/cell-storage/protocol-audit/index', perms='biz:cellStorageProtocolAudit:list', visible='1', order_num=2, menu_type='C' WHERE id='50000000000000000000000000000003' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='CEL00000000000000000000000000001', path='sample-info', component='/cell-storage/sample-info/index', perms='cell-storage:sample-info:list', visible='1', order_num=3, menu_type='C' WHERE id='50000000000000000000000000000013' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='CEL00000000000000000000000000001', path='payment-confirm', component='/cell-storage/payment-confirm/index', perms='biz:cellStoragePaymentConfirm:list', visible='1', order_num=4, menu_type='C' WHERE id='50000000000000000000000000000004' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='CEL00000000000000000000000000001', path='storage-release-review', component='/quality-inspection/storage-release-review/index', perms='biz:storageReleaseReview:list', visible='1', order_num=5, menu_type='C' WHERE id='70000000000000000000000000000011' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='TOP00000000000000000000000000001', path='research-donation', component=NULL, perms=NULL, visible='1', order_num=2, menu_type='M' WHERE id='RSC00000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='RSC00000000000000000000000000001', path='list', component='/research-donation/list/index', perms='biz:researchDonation:list', visible='0', order_num=1, menu_type='C' WHERE id='60000000000000000000000000000002' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='RSC00000000000000000000000000001', path='audit', component='/research-donation/audit/index', perms='biz:researchDonationAudit:list', visible='1', order_num=2, menu_type='C' WHERE id='60000000000000000000000000000003' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='RSC00000000000000000000000000001', path='sample-info', component='/research-donation/sample-info/index', perms='research-donation:sample-info:list', visible='1', order_num=3, menu_type='C' WHERE id='60000000000000000000000000000004' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='TOP00000000000000000000000000001', path='pilot-service', component=NULL, perms=NULL, visible='1', order_num=3, menu_type='M' WHERE id='PIL00000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='PIL00000000000000000000000000001', path='pilot-application', component='/pilot-service/pilot-application/index', perms='pilot-service:pilot-application:list', visible='1', order_num=1, menu_type='C' WHERE id='80000000000000000000000000000010' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='PIL00000000000000000000000000001', path='outbound-release-review', component='/pilot-service/outbound-release-review/index', perms='pilot-service:outbound-release-review:list', visible='1', order_num=2, menu_type='C' WHERE id='PIL00000000000000000000000000004' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='TOP00000000000000000000000000001', path='basic-experiment', component=NULL, perms=NULL, visible='1', order_num=4, menu_type='M' WHERE id='BEX00000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='BEX00000000000000000000000000001', path='application', component='/pilot-service/pilot-application/index', perms='basic-experiment:application:list', visible='1', order_num=1, menu_type='C' WHERE id='BEX00000000000000000000000000002' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='BEX00000000000000000000000000001', path='payment-confirm', component='/pilot-service/clinical-payment-confirm/index', perms='basic-experiment:payment-confirm:list', visible='1', order_num=2, menu_type='C' WHERE id='BEX00000000000000000000000000003' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='BEX00000000000000000000000000001', path='outbound-release-review', component='/pilot-service/outbound-release-review/index', perms='basic-experiment:outbound-release-review:list', visible='1', order_num=3, menu_type='C' WHERE id='BEX00000000000000000000000000004' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='TOP00000000000000000000000000001', path='market-info', component=NULL, perms=NULL, visible='1', order_num=5, menu_type='M' WHERE id='MKT00000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='MKT00000000000000000000000000001', path='cell-sample-type', component='/basic-info/cell-sample-type/index', perms='biz:cellSampleType:list', visible='1', order_num=1, menu_type='C' WHERE id='122' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='MKT00000000000000000000000000001', path='collection-region', component='/basic-info/collection-region/index', perms='biz:collectionRegion:list', visible='1', order_num=2, menu_type='C' WHERE id='123' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='MKT00000000000000000000000000001', path='cell-product-type', component='/pilot-service/cell-product-type/index', perms='pilot-service:cell-product-type:list', visible='1', order_num=3, menu_type='C' WHERE id='80000000000000000000000000000002' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='MKT00000000000000000000000000001', path='insurance-company', component='/basic-info/insurance-company/index', perms='basic-info:insurance-company:list', visible='1', order_num=4, menu_type='C' WHERE id='40000000000000000000000000000007' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='MKT00000000000000000000000000001', path='checkup-institution', component='/pilot-service/checkup-institution/index', perms='pilot-service:checkup-institution:list', visible='1', order_num=5, menu_type='C' WHERE id='80000000000000000000000000000007' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='MKT00000000000000000000000000001', path='material', component='/cell-storage/material/index', perms='biz:material:list', visible='1', order_num=6, menu_type='C' WHERE id='50000000000000000000000000000009' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='MKT00000000000000000000000000001', path='customer', component='/basic-info/customer/index', perms='biz:customer:list', visible='1', order_num=7, menu_type='C' WHERE id='121' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='MKT00000000000000000000000000001', path='channel', component='/pilot-service/channel/index', perms='pilot-service:channel:list', visible='1', order_num=8, menu_type='C' WHERE id='80000000000000000000000000000006' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='MKT00000000000000000000000000001', path='channel-service-order-finance', component='/pilot-service/channel-service-order-finance/index', perms='pilot-service:channel-service-order-finance:list', visible='1', order_num=9, menu_type='C' WHERE id='80000000000000000000000000000009' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='2', path='/production-group', component='/index/index', perms='menu:production', visible='1', order_num=2, menu_type='M' WHERE id='TOP00000000000000000000000000002' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='TOP00000000000000000000000000002', path='clinical-application', component=NULL, perms=NULL, visible='0', order_num=1, menu_type='M' WHERE id='CLI00000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='CLI00000000000000000000000000001', path='clinical-application', component='/pilot-service/pilot-application/index', perms='clinical-application:application:list', visible='0', order_num=1, menu_type='C' WHERE id='CLI00000000000000000000000000002' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='CLI00000000000000000000000000001', path='clinical-checkup-management', component='/pilot-service/checkup-management/index', perms='clinical-application:checkup-management:list', visible='0', order_num=2, menu_type='C' WHERE id='CLI00000000000000000000000000003' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='CLI00000000000000000000000000001', path='clinical-infusion-schedule-management', component='/pilot-service/infusion-schedule-management/index', perms='clinical-application:infusion-schedule-management:list', visible='0', order_num=3, menu_type='C' WHERE id='CLI00000000000000000000000000004' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='CLI00000000000000000000000000001', path='clinical-payment-info', component='/pilot-service/clinical-payment-info/index', perms='clinical-application:payment-info:list', visible='0', order_num=4, menu_type='C' WHERE id='CLI00000000000000000000000000005' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='CLI00000000000000000000000000001', path='clinical-payment-confirm', component='/pilot-service/clinical-payment-confirm/index', perms='clinical-application:payment-confirm:list', visible='0', order_num=5, menu_type='C' WHERE id='CLI00000000000000000000000000006' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='CLI00000000000000000000000000001', path='clinical-refund-confirm', component='/pilot-service/clinical-refund-confirm/index', perms='clinical-application:refund-confirm:list', visible='1', order_num=6, menu_type='C' WHERE id='CLI00000000000000000000000000007' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='CLI00000000000000000000000000001', path='clinical-outbound-release-review', component='/pilot-service/outbound-release-review/index', perms='clinical-application:outbound-release-review:list', visible='0', order_num=7, menu_type='C' WHERE id='CLI00000000000000000000000000008' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='TOP00000000000000000000000000002', path='production', component=NULL, perms=NULL, visible='1', order_num=2, menu_type='M' WHERE id='PRM00000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='PRM00000000000000000000000000001', path='storage-facility', component='/operations/storage-facility/index', perms='operations:storage-facility:list', visible='1', order_num=1, menu_type='C' WHERE id='61000000000000000000000000000003' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='PRM00000000000000000000000000001', path='cell-product', component='/production/cell-product/index', perms='production:cell-product:list', visible='1', order_num=2, menu_type='C' WHERE id='90000000000000000000000000000013' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='PRM00000000000000000000000000001', path='production-work-order', component='/production/production-work-order/index', perms='production:work-order:list', visible='1', order_num=3, menu_type='C' WHERE id='90000000000000000000000000000011' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='PRM00000000000000000000000000001', path='my-production-task', component='/production/my-production-task/index', perms='production:my-task:list', visible='1', order_num=4, menu_type='C' WHERE id='94000000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='PRM00000000000000000000000000001', path='my-production-material-usage', component='/production/my-production-material-usage/index', perms='production:my-material-usage:list', visible='1', order_num=5, menu_type='C' WHERE id='94000000000000000000000000000002' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='PRM00000000000000000000000000001', path='sample-reception-completion', component='/production/sample-reception-completion/index', perms='production:sample-reception-completion:list', visible='1', order_num=6, menu_type='C' WHERE id='91000000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='PRM00000000000000000000000000001', path='cleanroom-garment', component='/production/cleanroom-garment/index', perms='production:cleanroom-garment:list', visible='1', order_num=7, menu_type='C' WHERE id='95000000000000000000000000000003' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='TOP00000000000000000000000000002', path='production-base', component=NULL, perms=NULL, visible='1', order_num=3, menu_type='M' WHERE id='PRB00000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='PRB00000000000000000000000000001', path='production-material', component='/production/production-material/index', perms='production:material:list', visible='1', order_num=1, menu_type='C' WHERE id='90000000000000000000000000000014' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='PRB00000000000000000000000000001', path='consumable', component='/production/consumable/index', perms='production:consumable:list', visible='0', order_num=2, menu_type='C' WHERE id='90000000000000000000000000000002' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='PRB00000000000000000000000000001', path='reagent', component='/production/reagent/index', perms='production:reagent:list', visible='0', order_num=3, menu_type='C' WHERE id='90000000000000000000000000000003' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='PRB00000000000000000000000000001', path='sop', component='/production/sop/index', perms='production:sop-document:list', visible='1', order_num=4, menu_type='C' WHERE id='90000000000000000000000000000004' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='PRB00000000000000000000000000001', path='process-category', component='/production/process-category/index', perms='production:process-category:list', visible='1', order_num=5, menu_type='C' WHERE id='90000000000000000000000000000005' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='PRB00000000000000000000000000001', path='process', component='/production/process/index', perms='production:process:list', visible='1', order_num=6, menu_type='C' WHERE id='90000000000000000000000000000008' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='PRB00000000000000000000000000001', path='equipment', component='/production/equipment/index', perms='production:equipment:list', visible='1', order_num=7, menu_type='C' WHERE id='90000000000000000000000000000009' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='2', path='/quality-group', component='/index/index', perms='menu:quality', visible='1', order_num=3, menu_type='M' WHERE id='TOP00000000000000000000000000003' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='TOP00000000000000000000000000003', path='quality-manage', component=NULL, perms=NULL, visible='1', order_num=1, menu_type='M' WHERE id='QCM00000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='QCM00000000000000000000000000001', path='sample-reception', component='/quality-inspection/sample-reception/index', perms='biz:sampleReception:list', visible='1', order_num=1, menu_type='C' WHERE id='70000000000000000000000000000002' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='QCM00000000000000000000000000001', path='qc-work-order', component='/quality-inspection/qc-work-order/index', perms='biz:qcWorkOrder:list', visible='1', order_num=2, menu_type='C' WHERE id='70000000000000000000000000000007' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='QCM00000000000000000000000000001', path='env-detect-record', component='/quality-inspection/env-detect-record/index', perms='biz:envDetectRecord:list', visible='1', order_num=3, menu_type='C' WHERE id='71000000000000000000000000000002' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='QCM00000000000000000000000000001', path='my-qc-material-usage', component='/quality-inspection/my-qc-material-usage/index', perms='biz:myQcMaterialUsage:list', visible='1', order_num=4, menu_type='C' WHERE id='92000000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='QCM00000000000000000000000000001', path='my-qc-task', component='/quality-inspection/my-qc-task/index', perms='biz:myQcTask:list', visible='1', order_num=5, menu_type='C' WHERE id='93000000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='TOP00000000000000000000000000003', path='quality-base', component=NULL, perms=NULL, visible='1', order_num=2, menu_type='M' WHERE id='QCB00000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='QCB00000000000000000000000000001', path='sample-reception-check-item', component='/quality-inspection/sample-reception-check-item/index', perms='biz:sampleReceptionCheckItem:list', visible='1', order_num=1, menu_type='C' WHERE id='70000000000000000000000000000003' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='QCB00000000000000000000000000001', path='lab-test-item', component='/quality-inspection/lab-test-item/index', perms='biz:qcLabTestItem:list', visible='1', order_num=2, menu_type='C' WHERE id='70000000000000000000000000000006' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='QCB00000000000000000000000000001', path='env-detect-item', component='/quality-inspection/env-detect-item/index', perms='biz:envDetectItem:list', visible='1', order_num=3, menu_type='C' WHERE id='71000000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='QCB00000000000000000000000000001', path='qc-material', component='/quality-inspection/qc-material/index', perms='biz:qcMaterial:list', visible='1', order_num=4, menu_type='C' WHERE id='70000000000000000000000000000009' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='2', path='/operations-group', component='/index/index', perms='menu:operations', visible='1', order_num=4, menu_type='M' WHERE id='TOP00000000000000000000000000004' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='TOP00000000000000000000000000004', path='system-base', component=NULL, perms=NULL, visible='1', order_num=1, menu_type='M' WHERE id='SYSB000000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='SYSB000000000000000000000000000001', path='site', component='/system/site/index', perms='system:site:list', visible='1', order_num=1, menu_type='C' WHERE id='107' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='SYSB000000000000000000000000000001', path='unit', component='/system/unit/index', perms='system:unit:list', visible='1', order_num=2, menu_type='C' WHERE id='109' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='SYSB000000000000000000000000000001', path='express', component='/system/express/index', perms='system:express:list', visible='1', order_num=3, menu_type='C' WHERE id='110' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='TOP00000000000000000000000000004', path='operations', component=NULL, perms=NULL, visible='1', order_num=2, menu_type='M' WHERE id='OPS00000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='OPS00000000000000000000000000001', path='clean-room', component='/operations/clean-room/index', perms='operations:clean-room:list', visible='1', order_num=1, menu_type='C' WHERE id='61000000000000000000000000000002' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='OPS00000000000000000000000000001', path='exhibition-appointment', component='/operations/exhibition-appointment/index', perms='operations:exhibition-appointment:list', visible='1', order_num=2, menu_type='C' WHERE id='61000000000000000000000000000004' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='2', path='/system-manage', component='/index/index', perms='menu:system-manage', visible='1', order_num=5, menu_type='M' WHERE id='TOP00000000000000000000000000005' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='TOP00000000000000000000000000005', path='system', component=NULL, perms=NULL, visible='1', order_num=1, menu_type='M' WHERE id='SYSM000000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='SYSM000000000000000000000000000001', path='tenant', component='/system/tenant/index', perms='system:tenant:list', visible='1', order_num=1, menu_type='C' WHERE id='101' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='SYSM000000000000000000000000000001', path='dict', component='/system/dict/index', perms='system:dict:list', visible='1', order_num=2, menu_type='C' WHERE id='102' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='SYSM000000000000000000000000000001', path='menu', component='/system/menu/index', perms='system:menu:list', visible='1', order_num=3, menu_type='C' WHERE id='106' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='SYSM000000000000000000000000000001', path='dept', component='/system/dept/index', perms='system:dept:list', visible='1', order_num=4, menu_type='C' WHERE id='103' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='SYSM000000000000000000000000000001', path='role', component='/system/role/index', perms='system:role:list', visible='1', order_num=5, menu_type='C' WHERE id='105' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='SYSM000000000000000000000000000001', path='user', component='/system/user/index', perms='system:user:list', visible='1', order_num=6, menu_type='C' WHERE id='104' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='SYSM000000000000000000000000000001', path='post', component='/system/post/index', perms='system:post:list', visible='1', order_num=7, menu_type='C' WHERE id='108' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='SYSM000000000000000000000000000001', path='user/detail', component='/system/user/detail', perms=NULL, visible='0', order_num=8, menu_type='C' WHERE id='10000000000000000000000000000008' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='TOP00000000000000000000000000005', path='workflow', component=NULL, perms=NULL, visible='1', order_num=2, menu_type='M' WHERE id='WKF00000000000000000000000000001' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='WKF00000000000000000000000000001', path='process', component='/system/workflow/process/index', perms='workflow:process', visible='1', order_num=1, menu_type='C' WHERE id='10000000000000000000000000000wf01' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='WKF00000000000000000000000000001', path='pending', component='/system/workflow/task-pending/index', perms='workflow:pending', visible='1', order_num=2, menu_type='C' WHERE id='10000000000000000000000000000wf02' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='WKF00000000000000000000000000001', path='completed', component='/system/workflow/task-completed/index', perms='workflow:completed', visible='1', order_num=3, menu_type='C' WHERE id='10000000000000000000000000000wf03' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='WKF00000000000000000000000000001', path='my-applications', component='/system/workflow/my-applications/index', perms='workflow:myApplications', visible='1', order_num=4, menu_type='C' WHERE id='10000000000000000000000000000wf05' AND del_flag=0;
|
|
UPDATE sys_menu SET parent_id='WKF00000000000000000000000000001', path='leave', component='/system/leave/index', perms='workflow:leave', visible='1', order_num=5, menu_type='C' WHERE id='10000000000000000000000000000wf04' AND del_flag=0;
|