-- 任务：菜单权限校验
update sys_menu set perms='system:user:list' where menu_name='用户管理';
update sys_menu set perms='system:role:list' where menu_name='角色管理';
update sys_menu set perms='system:menu:list' where menu_name='菜单管理';
update sys_menu set perms='system:dept:list' where menu_name='部门管理';
update sys_menu set perms='system:post:list' where menu_name='岗位管理';
update sys_menu set perms='system:dict:list' where menu_name='字典管理';
update sys_menu set perms='system:config:list' where menu_name='参数设置';
update sys_menu set perms='system:notice:list' where menu_name='通知公告';
update sys_menu set perms='monitor:online:list' where menu_name='在线用户';
update sys_menu set perms='monitor:job:list' where menu_name='定时任务';
update sys_menu set perms='monitor:sentinel:list' where menu_name='Sentinel控制台';
update sys_menu set perms='monitor:nacos:list' where menu_name='Nacos控制台';
update sys_menu set perms='monitor:server:list' where menu_name='Admin控制台';
update sys_menu set perms='tool:build:list' where menu_name='表单构建';
update sys_menu set perms='tool:gen:list' where menu_name='代码生成';
update sys_menu set perms='tool:swagger:list' where menu_name='系统接口';
update sys_menu set perms='system:operlog:list' where menu_name='操作日志';
update sys_menu set perms='system:logininfor:list' where menu_name='登录日志';
update sys_menu set perms='system:user:query' where menu_name='用户查询';
update sys_menu set perms='system:user:add' where menu_name='用户新增';
update sys_menu set perms='system:user:edit' where menu_name='用户修改';
update sys_menu set perms='system:user:remove' where menu_name='用户删除';
update sys_menu set perms='system:user:export' where menu_name='用户导出';
update sys_menu set perms='system:user:import' where menu_name='用户导入';
update sys_menu set perms='system:user:resetPwd' where menu_name='重置密码';
update sys_menu set perms='system:role:query' where menu_name='角色查询';
update sys_menu set perms='system:role:add' where menu_name='角色新增';
update sys_menu set perms='system:role:edit' where menu_name='角色修改';
update sys_menu set perms='system:role:remove' where menu_name='角色删除';
update sys_menu set perms='system:role:export' where menu_name='角色导出';
update sys_menu set perms='system:menu:query' where menu_name='菜单查询';
update sys_menu set perms='system:menu:add' where menu_name='菜单新增';
update sys_menu set perms='system:menu:edit' where menu_name='菜单修改';
update sys_menu set perms='system:menu:remove' where menu_name='菜单删除';
update sys_menu set perms='system:dept:query' where menu_name='部门查询';
update sys_menu set perms='system:dept:add' where menu_name='部门新增';
update sys_menu set perms='system:dept:edit' where menu_name='部门修改';
update sys_menu set perms='system:dept:remove' where menu_name='部门删除';
update sys_menu set perms='system:post:query' where menu_name='岗位查询';
update sys_menu set perms='system:post:add' where menu_name='岗位新增';
update sys_menu set perms='system:post:edit' where menu_name='岗位修改';
update sys_menu set perms='system:post:remove' where menu_name='岗位删除';
update sys_menu set perms='system:post:export' where menu_name='岗位导出';
update sys_menu set perms='system:dict:query' where menu_name='字典查询';
update sys_menu set perms='system:dict:add' where menu_name='字典新增';
update sys_menu set perms='system:dict:edit' where menu_name='字典修改';
update sys_menu set perms='system:dict:remove' where menu_name='字典删除';
update sys_menu set perms='system:dict:export' where menu_name='字典导出';
update sys_menu set perms='system:config:query' where menu_name='参数查询';
update sys_menu set perms='system:config:add' where menu_name='参数新增';
update sys_menu set perms='system:config:edit' where menu_name='参数修改';
update sys_menu set perms='system:config:remove' where menu_name='参数删除';
update sys_menu set perms='system:config:export' where menu_name='参数导出';
update sys_menu set perms='system:notice:query' where menu_name='公告查询';
update sys_menu set perms='system:notice:add' where menu_name='公告新增';
update sys_menu set perms='system:notice:edit' where menu_name='公告修改';
update sys_menu set perms='system:notice:remove' where menu_name='公告删除';
update sys_menu set perms='system:operlog:query' where menu_name='操作查询';
update sys_menu set perms='system:operlog:remove' where menu_name='操作删除';
update sys_menu set perms='system:operlog:export' where menu_name='日志导出';
update sys_menu set perms='system:logininfor:query' where menu_name='登录查询';
update sys_menu set perms='system:logininfor:remove' where menu_name='登录删除';
update sys_menu set perms='system:logininfor:export' where menu_name='日志导出';
update sys_menu set perms='system:logininfor:unlock' where menu_name='账户解锁';
update sys_menu set perms='monitor:online:query' where menu_name='在线查询';
update sys_menu set perms='monitor:online:batchLogout' where menu_name='批量强退';
update sys_menu set perms='monitor:online:forceLogout' where menu_name='单条强退';
update sys_menu set perms='monitor:job:query' where menu_name='任务查询';
update sys_menu set perms='monitor:job:add' where menu_name='任务新增';
update sys_menu set perms='monitor:job:edit' where menu_name='任务修改';
update sys_menu set perms='monitor:job:remove' where menu_name='任务删除';
update sys_menu set perms='monitor:job:changeStatus' where menu_name='状态修改';
update sys_menu set perms='monitor:job:export' where menu_name='任务导出';
update sys_menu set perms='tool:gen:query' where menu_name='生成查询';
update sys_menu set perms='tool:gen:edit' where menu_name='生成修改';
update sys_menu set perms='tool:gen:remove' where menu_name='生成删除';
update sys_menu set perms='tool:gen:import' where menu_name='导入代码';
update sys_menu set perms='tool:gen:preview' where menu_name='预览代码';
update sys_menu set perms='tool:gen:code' where menu_name='生成代码';
update sys_menu set perms='shelvesList:list' where menu_name='仓库货架管理';
update sys_menu set perms='shelvesConfig:list' where menu_name='货架配置管理';
update sys_menu set perms='plan:list' where menu_name='计划管理';
update sys_menu set perms='planSecond:list' where menu_name='计划借调管理';
update sys_menu set perms='unit:list' where menu_name='单位类型管理';
update sys_menu set perms='comeAndGo:list' where menu_name='往来单位管理';
update sys_menu set perms='comeAndGoPeople:list' where menu_name='往来单位-人员配置';
update sys_menu set perms='project:list' where menu_name='工程项目管理';
update sys_menu set perms='section:list' where menu_name='标段工程管理';
update sys_menu set perms='assetAttributeManagement:list' where menu_name='资产属性管理';
update sys_menu set perms='assetAttributeAllocation:list' where menu_name='资产属性配置';
update sys_menu set perms='cost:settlement:list' where menu_name='费用结算';
update sys_menu set perms='cost:settlement:auditing' where menu_name='费用结算审核';
update sys_menu set perms='picking:list:query' where menu_name='领料查询';
update sys_menu set perms='return:list:query' where menu_name='退料查询';
update sys_menu set perms='stquery:projUsingRecord:list' where menu_name='工程机具使用查询';
update sys_menu set perms='tools:repair:list' where menu_name='机具维修查询';
update sys_menu set perms='stquery:deviceScrapQuery:list' where menu_name='机具报废查询';
update sys_menu set perms='storage:list:query' where menu_name='机具入库查询';
update sys_menu set perms='stock:log:list' where menu_name='库存日志';
update sys_menu set perms='poleConfig:list' where menu_name='抱杆配套管理';
update sys_menu set perms='planAdd:list' where menu_name='新增计划管理';
update sys_menu set perms='scrap:auditing' where menu_name='审核按钮';
update sys_menu set perms='forecast:waste:auditing' where menu_name='预报废审核（按钮）';
update sys_menu set perms='scrap:disposition' where menu_name='报废处置（按钮）';
update sys_menu set perms='scrap:batch:disposition' where menu_name='批量处置（按钮）';
update sys_menu set perms='submit:batch:scrap' where menu_name='批量提交报废（按钮）';
update sys_menu set perms='submit:scrap' where menu_name='提交报废（按钮）';
update sys_menu set perms='warehousing:newTools:list' where menu_name='新购工机具入库';
update sys_menu set perms='warehousing:repair:list' where menu_name='修试入库';
update sys_menu set perms='newPurchase:tools:add' where menu_name='新增（按钮）';
update sys_menu set perms='newPurchase:tools:del' where menu_name='删除（按钮）';
update sys_menu set perms='newPurchase:tools:edit' where menu_name='编辑（按钮）';
update sys_menu set perms='newPurchase:tools:view' where menu_name='查询（按钮）';
update sys_menu set perms='newPurchase:tools:accept' where menu_name='验收--列表操作（按钮）';
update sys_menu set perms='newPurchase:tools:notice' where menu_name='通知（按钮）';
update sys_menu set perms='newPurchase:tools:notice:accept' where menu_name='验收--通知后（按钮）';
update sys_menu set perms='newPurchase:tools:notice:accept:batch' where menu_name='批量验收--通知后（按钮）';
update sys_menu set perms='newPurchase:tools:coding' where menu_name='编码管理（按钮）';
update sys_menu set perms='newPurchase:parts:add' where menu_name='新增（按钮）';
update sys_menu set perms='newPurchase:parts:del' where menu_name='删除（按钮）';
update sys_menu set perms='newPurchase:parts:edit' where menu_name='编辑（按钮）';
update sys_menu set perms='newPurchase:parts:view' where menu_name='查询（按钮）';
update sys_menu set perms='newPurchase:parts:accept' where menu_name='验收--列表操作（按钮）';
update sys_menu set perms='newPurchase:parts:notice' where menu_name='通知（按钮）';
update sys_menu set perms='newPurchase:parts:notice:accept' where menu_name='验收--通知后（按钮）';
update sys_menu set perms='newPurchase:parts:notice:accept:batch' where menu_name='批量验收--通知后（按钮）';
update sys_menu set perms='newPurchase:service:view' where menu_name='查询（按钮）';
update sys_menu set perms='newPurchase:service:auditing' where menu_name='审核（按钮）';
update sys_menu set perms='warehousing:newTools:view' where menu_name='查看（按钮）';
update sys_menu set perms='warehousing:newTools:auditing' where menu_name='审核（按钮）';
update sys_menu set perms='warehousing:newParts:view' where menu_name='查看（按钮）';
update sys_menu set perms='warehousing:newParts:auditing' where menu_name='审核（按钮）';
update sys_menu set perms='warehousing:return:view' where menu_name='查看（按钮）';
update sys_menu set perms='warehousing:repair:view' where menu_name='查询（按钮）';
update sys_menu set perms='warehousing:repair:auditing' where menu_name='审核（按钮）';
update sys_menu set perms='warehousing:Inventory:view' where menu_name='查询（按钮）';
update sys_menu set perms='warehousing:Inventory:add' where menu_name='新建（按钮）';
update sys_menu set perms='machinery:type:add' where menu_name='新增（按钮）';
update sys_menu set perms='machinery:type:del' where menu_name='删除（按钮0';
update sys_menu set perms='machinery:type:edit' where menu_name='修改（按钮）';
update sys_menu set perms='machinery:type:view' where menu_name='查看（按钮）';
update sys_menu set perms='machinery:supplier:add' where menu_name='新增（按钮）';
update sys_menu set perms='machinery:supplier:del' where menu_name='删除（按钮）';
update sys_menu set perms='machinery:supplier:edit' where menu_name='修改（按钮）';
update sys_menu set perms='machinery:supplier:view' where menu_name='查看（按钮）';
update sys_menu set perms='machinery:supplier:import' where menu_name='导入（按钮）';
update sys_menu set perms='machinery:supplier:export' where menu_name='导出（按钮）';
update sys_menu set perms='machinery:keeper:view' where menu_name='查看（按钮）';
update sys_menu set perms='machinery:keeper:bind' where menu_name='绑定（按钮）';
update sys_menu set perms='machinery:keeper:export' where menu_name='导出（按钮）';
update sys_menu set perms='machinery:personnel:view' where menu_name='查看（按钮）';
update sys_menu set perms='machinery:personnel:bind' where menu_name='绑定（按钮）';
update sys_menu set perms='machinery:personnel:export' where menu_name='导出（按钮）';
update sys_menu set perms='machinery:coding:view' where menu_name='查看（按钮）';
update sys_menu set perms='machinery:coding:edit' where menu_name='修改（按钮）';
update sys_menu set perms='machinery:coding:export' where menu_name='导出（按钮）';
update sys_menu set perms='machinery:parts:view' where menu_name='查看（按钮）';
update sys_menu set perms='machinery:parts:edit' where menu_name='修改（按钮）';
update sys_menu set perms='machinery:parts:export' where menu_name='导出（按钮）';
update sys_menu set perms='tagBind:bind:bind' where menu_name='绑定（按钮）';
update sys_menu set perms='tagBind:bind:unbind' where menu_name='解绑（按钮）';
update sys_menu set perms='tagBind:bind:create' where menu_name='生成标签（按钮）';
update sys_menu set perms='tagBind:bind:unload' where menu_name='标签下载（按钮）';
update sys_menu set perms='tagBind:history:view' where menu_name='查询（按钮）';
update sys_menu set perms='picking:auditing:list' where menu_name='领料审核';
update sys_menu set perms='return:apply:list' where menu_name='退料申请';
update sys_menu set perms='return:receive:list' where menu_name='退料接收';
update sys_menu set perms='repair:manage:list' where menu_name='维修管理';
update sys_menu set perms='service:auditing:list' where menu_name='维修审核';
update sys_menu set perms='service:button' where menu_name='维修（按钮）';
update sys_menu set perms='service:auditing' where menu_name='审核（按钮）';
update sys_menu set perms='picking:protocol:add' where menu_name='新建（按钮）';
update sys_menu set perms='picking:protocol:del' where menu_name='删除（按钮）';
update sys_menu set perms='picking:protocol:edit' where menu_name='编辑（按钮）';
update sys_menu set perms='picking:protocol:export' where menu_name='导出（按钮）';
update sys_menu set perms='picking:apply:apply' where menu_name='新建（按钮）';
update sys_menu set perms='picking:apply:del' where menu_name='删除（按钮）';
update sys_menu set perms='picking:apply:edit' where menu_name='编辑（按钮）';
update sys_menu set perms='picking:apply:view' where menu_name='查看（按钮）';
update sys_menu set perms='picking:apply:reject:submit' where menu_name='驳回提交（按钮）';
update sys_menu set perms='picking:apply:export' where menu_name='导出（按钮）';
update sys_menu set perms='picking:auditing:view' where menu_name='查看（按钮）';
update sys_menu set perms='picking:auditing:list' where menu_name='领料单（按钮）';
update sys_menu set perms='picking:auditing:export' where menu_name='导出（按钮）';
update sys_menu set perms='picking:outbound:view' where menu_name='查看（按钮）';
update sys_menu set perms='picking:outbound:out' where menu_name='出库（按钮）';
update sys_menu set perms='picking:outbound:export' where menu_name='导出（按钮）';
update sys_menu set perms='return:apply:apply' where menu_name='退料申请（按钮）';
update sys_menu set perms='return:apply:del' where menu_name='删除（按钮）';
update sys_menu set perms='return:apply:view' where menu_name='查看（按钮）';
update sys_menu set perms='return:apply:list' where menu_name='退料单（按钮）';
update sys_menu set perms='return:apply:reject:submit' where menu_name='驳回提交（按钮）';
update sys_menu set perms='return:apply:export' where menu_name='导出（按钮）';
update sys_menu set perms='return:auditing:view' where menu_name='查看（按钮）';
update sys_menu set perms='return:auditing:auditing' where menu_name='审核（按钮）';
update sys_menu set perms='return:auditing:auditing:batch' where menu_name='批量审核（按钮）';
update sys_menu set perms='return:auditing:list' where menu_name='退料单（按钮）';
update sys_menu set perms='return:auditing:export' where menu_name='导出（按钮）';
update sys_menu set perms='return:receive:view' where menu_name='查看（按钮）';
update sys_menu set perms='return:receive:view' where menu_name='退料（按钮）';
update sys_menu set perms='return:receive:list' where menu_name='退料单（按钮）';
update sys_menu set perms='return:receive:export' where menu_name='导出（按钮）';
update sys_menu set perms='pushAndAccept:list' where menu_name='推送接收';
update sys_menu set perms='pushAndAcceptDetail:list' where menu_name='推送接收详情';
update sys_menu set perms='rentalEquipmentManagement:list' where menu_name='租赁机具设备管理';
update sys_menu set perms='IOTequipment:list' where menu_name='IOT设备管理';
update sys_menu set perms='project:list:add' where menu_name='新增';
update sys_menu set perms='section:list:add' where menu_name='新增';
update sys_menu set perms='comeAndGo:list:add' where menu_name='新增';
update sys_menu set perms='unit:list:add' where menu_name='新增';
update sys_menu set perms='picking:list:export' where menu_name='导出';
update sys_menu set perms='return:list:export' where menu_name='导出';
update sys_menu set perms='tools:repair:export' where menu_name='导出';
update sys_menu set perms='storage:list:export' where menu_name='导出';
update sys_menu set perms='cost:settlement:export' where menu_name='导出和批量导出（结算）';
update sys_menu set perms='month:record:query' where menu_name='月结记录（按钮查询）';
update sys_menu set perms='cost:settlement:export' where menu_name='月结记录内导出';
update sys_menu set perms='cost:settlement:export' where menu_name='批量导出（月结记录）';
update sys_menu set perms='repair:manage:export' where menu_name='导出';
update sys_menu set perms='ndertake:export_1' where menu_name='导出（承担方01）';
update sys_menu set perms='ndertake:export_2' where menu_name='导出（承担方03）';
update sys_menu set perms='device:repair:export' where menu_name='导出（维修清单）';
update sys_menu set perms='device:wh:export' where menu_name='导出（未还）';
update sys_menu set perms='device:scrap:export' where menu_name='导出（报废）';
update sys_menu set perms='device:dai:scrap:export' where menu_name='导出（待报废）';
update sys_menu set perms='device:scrap:export' where menu_name='导出';
update sys_menu set perms='repair:manage:preview' where menu_name='查看';
update sys_menu set perms='receive:examine:fgs' where menu_name='机具分公司审核（及确认）';
update sys_menu set perms='receive:examine:nbs' where menu_name='施工管理部审核';
update sys_menu set perms='service:auditing:query' where menu_name='查看（按钮）';
update sys_menu set perms='finis:record:details' where menu_name='完工结算/结算明细（按钮）';
update sys_menu set perms='cost:settlement:edit' where menu_name='编辑（按钮）';

