UPDATE act_ge_bytearray
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_ge_property
SET tenant_id=1
WHERE tenant_id is null;
UPDATE act_ge_schema_log
SET tenant_id=1
WHERE tenant_id is null;
UPDATE act_hi_actinst
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_hi_attachment
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_hi_batch
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_hi_caseactinst
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_hi_caseinst
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_hi_comment
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_hi_dec_in
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_hi_dec_out
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_hi_decinst
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_hi_detail
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_hi_ext_task_log
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_hi_identitylink
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_hi_incident
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_hi_job_log
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_hi_op_log
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_hi_procinst
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_hi_taskinst
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_hi_varinst
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_id_group
SET tenant_id=1
WHERE tenant_id is null;
UPDATE act_id_info
SET tenant_id=1
WHERE tenant_id is null;
UPDATE act_id_membership
SET tenant_id=1
WHERE tenant_id is null;
UPDATE act_id_tenant
SET tenant_id=1
WHERE tenant_id is null;
UPDATE act_id_tenant_member
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_id_user
SET tenant_id=1
WHERE tenant_id is null;
UPDATE act_re_camformdef
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_re_case_def
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_re_decision_def
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_re_decision_req_def
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_re_deployment
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_re_procdef
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_ru_authorization
SET tenant_id=1
WHERE tenant_id is null;
UPDATE act_ru_batch
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_ru_case_execution
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_ru_case_sentry_part
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_ru_event_subscr
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_ru_execution
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_ru_ext_task
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_ru_filter
SET tenant_id=1
WHERE tenant_id is null;
UPDATE act_ru_identitylink
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_ru_incident
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_ru_job
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_ru_jobdef
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_ru_meter_log
SET tenant_id=1
WHERE tenant_id is null;
UPDATE act_ru_task
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE act_ru_task_meter_log
SET tenant_id=1
WHERE tenant_id is null;
UPDATE act_ru_variable
SET tenant_id_=1
WHERE tenant_id_ is null;
UPDATE base_data_scope
SET tenant_id=1
WHERE tenant_id is null;
UPDATE base_data_scope_detail
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_apply
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_apply_detail
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_bom
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_cus_gather_detail
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_customer
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_customer_contacts
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_customer_follow
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_customer_gather
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_device_info
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_device_inspect
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_device_warn
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_instore_log
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_log
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_material
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_material_classes
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_material_property
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_outstore_log
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_purchase
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_purchase_detail
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_sale
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_sale_detail
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_store_receipt
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_store_receipt_detail
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_supplier
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_supplier_formal
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_supplier_risk
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_supply_material
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_unit
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_unit_convert
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_unit_convert_detail
SET tenant_id=1
WHERE tenant_id is null;
UPDATE case_erp_unit_type
SET tenant_id=1
WHERE tenant_id is null;
UPDATE crm_business_opportunity
SET tenant_id=1
WHERE tenant_id is null;
UPDATE crm_contract_info
SET tenant_id=1
WHERE tenant_id is null;
UPDATE crm_custom_info
SET tenant_id=1
WHERE tenant_id is null;
UPDATE crm_custom_user
SET tenant_id=1
WHERE tenant_id is null;
UPDATE crm_follow_contacts
SET tenant_id=1
WHERE tenant_id is null;
UPDATE crm_follow_participants
SET tenant_id=1
WHERE tenant_id is null;
UPDATE crm_follow_record
SET tenant_id=1
WHERE tenant_id is null;
UPDATE crm_price_sheet
SET tenant_id=1
WHERE tenant_id is null;
UPDATE crm_replay_record
SET tenant_id=1
WHERE tenant_id is null;
UPDATE dpm_cost_time
SET tenant_id=1
WHERE tenant_id is null;
UPDATE dpm_expense
SET tenant_id=1
WHERE tenant_id is null;
UPDATE dpm_expense_apply
SET tenant_id=1
WHERE tenant_id is null;
UPDATE dpm_expense_else
SET tenant_id=1
WHERE tenant_id is null;
UPDATE dpm_members
SET tenant_id=1
WHERE tenant_id is null;
UPDATE dpm_project_info
SET tenant_id=1
WHERE tenant_id is null;
UPDATE dpm_science_result
SET tenant_id=1
WHERE tenant_id is null;
UPDATE high_risk_operation
SET tenant_id=1
WHERE tenant_id is null;
UPDATE high_risk_operation_person
SET tenant_id=1
WHERE tenant_id is null;
UPDATE high_risk_operation_step
SET tenant_id=1
WHERE tenant_id is null;
UPDATE magic_api_backup
SET tenant_id=1
WHERE tenant_id is null;
UPDATE magic_api_file
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_centralized_procure
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_contract
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_contract_change
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_contract_guarantee
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_contract_invoice
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_contract_other
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_contract_pay
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_contract_pay_detail
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_emergent_tenders
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_file
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_financial_contract
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_financial_estimates
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_financial_estimates_version
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_lot_divide
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_lot_divide_item
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_procure_approval
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_procure_dismantle
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_procure_dismantle_item
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_procure_lot
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_supplier_info
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_supplier_tenders
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_tenders_file
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_tenders_group
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_tenders_plan
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_tenders_plan_approval
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_tenders_result
SET tenant_id=1
WHERE tenant_id is null;
UPDATE pm_tenders_result_item
SET tenant_id=1
WHERE tenant_id is null;
UPDATE project_bid
SET tenant_id=1
WHERE tenant_id is null;
UPDATE project_bid_bidder
SET tenant_id=1
WHERE tenant_id is null;
UPDATE project_bid_member
SET tenant_id=1
WHERE tenant_id is null;
UPDATE project_bid_result
SET tenant_id=1
WHERE tenant_id is null;
UPDATE project_bid_result_detail
SET tenant_id=1
WHERE tenant_id is null;
UPDATE project_contract
SET tenant_id=1
WHERE tenant_id is null;
UPDATE project_contract_acceptance
SET tenant_id=1
WHERE tenant_id is null;
UPDATE project_contract_acceptance_other
SET tenant_id=1
WHERE tenant_id is null;
UPDATE project_contract_other
SET tenant_id=1
WHERE tenant_id is null;
UPDATE project_initiation
SET tenant_id=1
WHERE tenant_id is null;
UPDATE project_pay
SET tenant_id=1
WHERE tenant_id is null;
UPDATE supplier_bank
SET tenant_id=1
WHERE tenant_id is null;
UPDATE supplier_contact
SET tenant_id=1
WHERE tenant_id is null;
UPDATE supplier_info
SET tenant_id=1
WHERE tenant_id is null;
UPDATE t_order
SET tenant_id=1
WHERE tenant_id is null;
UPDATE t_order_product
SET tenant_id=1
WHERE tenant_id is null;
UPDATE t_product
SET tenant_id=1
WHERE tenant_id is null;
UPDATE table_17561
SET tenant_id=1
WHERE tenant_id is null;
UPDATE table_29210
SET tenant_id=1
WHERE tenant_id is null;
UPDATE table_29210_child_1263
SET tenant_id=1
WHERE tenant_id is null;
UPDATE table_29210_child_9674
SET tenant_id=1
WHERE tenant_id is null;
UPDATE table_70961
SET tenant_id=1
WHERE tenant_id is null;
UPDATE tb_mcq_daily
SET tenant_id=1
WHERE tenant_id is null;
UPDATE tb_station
SET tenant_id=1
UPDATE test
SET tenant_id=1
WHERE tenant_id is null;
UPDATE test_01
SET tenant_id=1
WHERE tenant_id is null;
UPDATE test_gen_gao
SET tenant_id=1
WHERE tenant_id is null;
UPDATE test_permission
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_app_authorize
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_app_func_design
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_app_menu
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_app_menu_button
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_app_menu_column
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_app_menu_form
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_app_page_design
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_area
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_assco_selection_data
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_authorize
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_bi_project
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_brand_commodity_test
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_brand_series_test
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_brand_test
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_child
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_child_table
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_code_rule
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_code_rule_seed
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_code_schema
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_data_auth
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_data_auth_config
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_data_auth_relation
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_data_auth_table_relation
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_data_display
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_databaselink
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_datasource
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_demo
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_department
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_desktop_history
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_desktop_relation
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_desktop_schema
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_dictionary_detail
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_dictionary_item
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_file
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_form_history
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_form_release
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_form_template
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_interface_auth
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_interface_category
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_interface_info
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_interface_output
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_interface_params
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_interface_schema
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_language
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_language_type
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_liteflow_chain
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_liteflow_script
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_log
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_login_config
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_logo_config
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_menu
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_menu_button
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_menu_column
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_menu_form
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_message
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_multi
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_multi_child
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_multi_child_two
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_oa_news
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_oa_news_relation
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_oa_schedule
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_parent
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_parent_table
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_post
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_print_config
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_print_schema
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_professional_report
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_report
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_report_relation
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_role
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_selection_data
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_stamp
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_subsystem
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_sync_datacenter_org_user
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_tenant
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_tenant_authorize
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_user
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_user_charge_dept
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_user_dept_relation
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_user_desktop_relation
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_user_post_relation
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_user_role_relation
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_visual
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_visual_category
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_visual_config
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_visual_db
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_visual_homerelation
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_visual_map
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_visual_release
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_visual_releaserelation
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_workflow_approve_record
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_workflow_circulated
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_workflow_delegate
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_workflow_draft
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_workflow_extra
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_workflow_form_relation
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_workflow_record
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_workflow_schema
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_workflow_schema_auth
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_workflow_schema_draft
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_workflow_schema_history
SET tenant_id=1
WHERE tenant_id is null;
UPDATE xjr_workflow_special_menu
SET tenant_id=1
WHERE tenant_id is null;
