-- ----------------------------
-- 2023.03.28更新报表和移动端的菜单的Code标识，在创建ID隔离的租户时初始化这些数据
-- ----------------------------
UPDATE "SNOWY-CLOUD"."SYS_RESOURCE" SET "ID" = '1616093440759009282', "TENANT_ID" = '-1', "PARENT_ID" = '0', "TITLE" = '报表插件', "NAME" = NULL, "CODE" = 'system', "CATEGORY" = 'MENU', "MODULE" = '1548901111999770525', "MENU_TYPE" = 'CATALOG', "PATH" = '/7021876005451075584', "COMPONENT" = NULL, "ICON" = 'exception-outlined', "COLOR" = NULL, "SORT_CODE" = '99', "EXT_JSON" = NULL, "DELETE_FLAG" = 'NOT_DELETE', "CREATE_TIME" = NULL, "CREATE_USER" = NULL, "UPDATE_TIME" = NULL, "UPDATE_USER" = NULL WHERE "ID" = '1616093440759009282' AND "TENANT_ID" = '-1' AND "PARENT_ID" = '0' AND "TITLE" = '报表插件' AND "NAME" IS NULL AND "CODE" = 'system' AND "CATEGORY" = 'MENU' AND "MODULE" = '1548901111999770525' AND "MENU_TYPE" = 'CATALOG' AND "PATH" = '/7021876005451075584' AND "COMPONENT" IS NULL AND "ICON" = 'exception-outlined' AND "COLOR" IS NULL AND "SORT_CODE" = '99' AND "EXT_JSON" IS NULL AND "DELETE_FLAG" = 'NOT_DELETE' AND "CREATE_TIME" IS NULL AND "CREATE_USER" IS NULL AND "UPDATE_TIME" IS NULL AND "UPDATE_USER" IS NULL;
UPDATE "SNOWY-CLOUD"."SYS_RESOURCE" SET "ID" = '1616093737749286914', "TENANT_ID" = '-1', "PARENT_ID" = '1616093440759009282', "TITLE" = '报表管理', "NAME" = 'urpIndex', "CODE" = '3lyytin4th', "CATEGORY" = 'MENU', "MODULE" = '1548901111999770525', "MENU_TYPE" = 'MENU', "PATH" = '/urp', "COMPONENT" = 'urp/index', "ICON" = 'file-sync-outlined', "COLOR" = NULL, "SORT_CODE" = '99', "EXT_JSON" = NULL, "DELETE_FLAG" = 'NOT_DELETE', "CREATE_TIME" = NULL, "CREATE_USER" = NULL, "UPDATE_TIME" = NULL, "UPDATE_USER" = NULL WHERE "ID" = '1616093737749286914' AND "TENANT_ID" = '-1' AND "PARENT_ID" = '1616093440759009282' AND "TITLE" = '报表管理' AND "NAME" = 'urpIndex' AND "CODE" = '3lyytin4th' AND "CATEGORY" = 'MENU' AND "MODULE" = '1548901111999770525' AND "MENU_TYPE" = 'MENU' AND "PATH" = '/urp' AND "COMPONENT" = 'urp/index' AND "ICON" = 'file-sync-outlined' AND "COLOR" IS NULL AND "SORT_CODE" = '99' AND "EXT_JSON" IS NULL AND "DELETE_FLAG" = 'NOT_DELETE' AND "CREATE_TIME" IS NULL AND "CREATE_USER" IS NULL AND "UPDATE_TIME" IS NULL AND "UPDATE_USER" IS NULL;
UPDATE "SNOWY-CLOUD"."SYS_RESOURCE" SET "ID" = '1623378345382506498', "TENANT_ID" = '-1', "PARENT_ID" = '0', "TITLE" = '移动端管理', "NAME" = NULL, "CODE" = 'system', "CATEGORY" = 'MENU', "MODULE" = '1548901111999770525', "MENU_TYPE" = 'CATALOG', "PATH" = '/7029144034425704448', "COMPONENT" = NULL, "ICON" = 'mobile-outlined', "COLOR" = NULL, "SORT_CODE" = '50', "EXT_JSON" = NULL, "DELETE_FLAG" = 'NOT_DELETE', "CREATE_TIME" = NULL, "CREATE_USER" = NULL, "UPDATE_TIME" = NULL, "UPDATE_USER" = NULL WHERE "ID" = '1623378345382506498' AND "TENANT_ID" = '-1' AND "PARENT_ID" = '0' AND "TITLE" = '移动端管理' AND "NAME" IS NULL AND "CODE" = 'system' AND "CATEGORY" = 'MENU' AND "MODULE" = '1548901111999770525' AND "MENU_TYPE" = 'CATALOG' AND "PATH" = '/7029144034425704448' AND "COMPONENT" IS NULL AND "ICON" = 'mobile-outlined' AND "COLOR" IS NULL AND "SORT_CODE" = '50' AND "EXT_JSON" IS NULL AND "DELETE_FLAG" = 'NOT_DELETE' AND "CREATE_TIME" IS NULL AND "CREATE_USER" IS NULL AND "UPDATE_TIME" IS NULL AND "UPDATE_USER" IS NULL;
UPDATE "SNOWY-CLOUD"."SYS_RESOURCE" SET "ID" = '1623378675591671810', "TENANT_ID" = '-1', "PARENT_ID" = '1623378345382506498', "TITLE" = '模块管理', "NAME" = 'mobileModuleIndex', "CODE" = '0foblmoy96', "CATEGORY" = 'MENU', "MODULE" = '1548901111999770525', "MENU_TYPE" = 'MENU', "PATH" = '/mobile/module/index', "COMPONENT" = 'mobile/resource/module/index', "ICON" = 'build-outlined', "COLOR" = NULL, "SORT_CODE" = '51', "EXT_JSON" = NULL, "DELETE_FLAG" = 'NOT_DELETE', "CREATE_TIME" = NULL, "CREATE_USER" = NULL, "UPDATE_TIME" = NULL, "UPDATE_USER" = NULL WHERE "ID" = '1623378675591671810' AND "TENANT_ID" = '-1' AND "PARENT_ID" = '1623378345382506498' AND "TITLE" = '模块管理' AND "NAME" = 'mobileModuleIndex' AND "CODE" = '0foblmoy96' AND "CATEGORY" = 'MENU' AND "MODULE" = '1548901111999770525' AND "MENU_TYPE" = 'MENU' AND "PATH" = '/mobile/module/index' AND "COMPONENT" = 'mobile/resource/module/index' AND "ICON" = 'build-outlined' AND "COLOR" IS NULL AND "SORT_CODE" = '51' AND "EXT_JSON" IS NULL AND "DELETE_FLAG" = 'NOT_DELETE' AND "CREATE_TIME" IS NULL AND "CREATE_USER" IS NULL AND "UPDATE_TIME" IS NULL AND "UPDATE_USER" IS NULL;
UPDATE "SNOWY-CLOUD"."SYS_RESOURCE" SET "ID" = '1623378996099411969', "TENANT_ID" = '-1', "PARENT_ID" = '1623378345382506498', "TITLE" = '菜单管理', "NAME" = 'mobileMenuIndex', "CODE" = 'ctvbreg2eo', "CATEGORY" = 'MENU', "MODULE" = '1548901111999770525', "MENU_TYPE" = 'MENU', "PATH" = '/mobile/menu/index', "COMPONENT" = 'mobile/resource/menu/index', "ICON" = 'appstore-add-outlined', "COLOR" = NULL, "SORT_CODE" = '52', "EXT_JSON" = NULL, "DELETE_FLAG" = 'NOT_DELETE', "CREATE_TIME" = NULL, "CREATE_USER" = NULL, "UPDATE_TIME" = NULL, "UPDATE_USER" = NULL WHERE "ID" = '1623378996099411969' AND "TENANT_ID" = '-1' AND "PARENT_ID" = '1623378345382506498' AND "TITLE" = '菜单管理' AND "NAME" = 'mobileMenuIndex' AND "CODE" = 'ctvbreg2eo' AND "CATEGORY" = 'MENU' AND "MODULE" = '1548901111999770525' AND "MENU_TYPE" = 'MENU' AND "PATH" = '/mobile/menu/index' AND "COMPONENT" = 'mobile/resource/menu/index' AND "ICON" = 'appstore-add-outlined' AND "COLOR" IS NULL AND "SORT_CODE" = '52' AND "EXT_JSON" IS NULL AND "DELETE_FLAG" = 'NOT_DELETE' AND "CREATE_TIME" IS NULL AND "CREATE_USER" IS NULL AND "UPDATE_TIME" IS NULL AND "UPDATE_USER" IS NULL;
