微服务版后端初始化
This commit is contained in:
164
script/20240719/20240719001多租户版本-mysql.sql
Normal file
164
script/20240719/20240719001多租户版本-mysql.sql
Normal file
@ -0,0 +1,164 @@
|
||||
INSERT INTO xjr_menu (id, parent_id, name, title, code, icon, path, component, component_type, iframe_src, menu_type, display, allow_modify, allow_delete, out_link, keep_alive, sort_code, remark, create_user_id, create_date, modify_user_id, modify_date, delete_mark, enabled_mark, system_id, form_id) VALUES (1589823150509592578, 1419273666632498176, 'BI', '数据大屏', '30009', 'ant-design:dot-chart-outlined', 'http://localhost:4100', 'IFrame', NULL, '1111', 1, 1, 1, 1, 1, 0, 9, '111', 1, '2022-11-08 11:32:31', 1000000000000000000, '2023-05-31 11:01:15', 0, 1, 1, NULL);
|
||||
INSERT INTO xjr_menu (id, parent_id, name, title, code, icon, path, component, component_type, iframe_src, menu_type, display, allow_modify, allow_delete, out_link, keep_alive, sort_code, remark, create_user_id, create_date, modify_user_id, modify_date, delete_mark, enabled_mark, system_id, form_id) VALUES (1625770113225646082, 0, 'chatGPT', 'chatGPT', 'chatGPT', 'ant-design:bar-chart-outlined', '/chat-gpt', '/demo/chatgpt/index', NULL, NULL, 1, 1, 1, 1, 0, 0, 22, NULL, 1, '2023-02-15 16:12:55', NULL, NULL, 0, 1, 1, NULL);
|
||||
INSERT INTO xjr_menu (id, parent_id, name, title, code, icon, path, component, component_type, iframe_src, menu_type, display, allow_modify, allow_delete, out_link, keep_alive, sort_code, remark, create_user_id, create_date, modify_user_id, modify_date, delete_mark, enabled_mark, system_id, form_id) VALUES (1672802215783436290, 0, '计划任务', '计划任务', 'job', NULL, 'http://192.168.0.124:7700/#/welcome?appName=xjrsoft-boot&password=123456', 'IFrame', 0, '', 1, 1, 1, 1, 1, NULL, 11, '', 1000000000000000000, '2023-06-25 11:01:42', NULL, NULL, 0, 1, 1, NULL);
|
||||
INSERT INTO xjr_menu (id, parent_id, name, title, code, icon, path, component, component_type, iframe_src, menu_type, display, allow_modify, allow_delete, out_link, keep_alive, sort_code, remark, create_user_id, create_date, modify_user_id, modify_date, delete_mark, enabled_mark, system_id, form_id) VALUES (1700041673784094722, 1419276797351038976, '租户管理', '租户管理', 'tenant', 'ant-design:idcard-outlined', '/tenant', '/system/tenant/index', 0, NULL, 1, 1, 1, 1, 0, NULL, 11, NULL, 3000000000000000000, '2023-09-08 15:01:35', NULL, NULL, 0, 1, 1, NULL);
|
||||
|
||||
ALTER TABLE xjr_dictionary_item
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_login_config
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_logo_config
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_menu_button
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_menu
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_menu_column
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_menu_form
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_subsystem
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_desktop_relation
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_department MODIFY COLUMN `department_type` int NULL COMMENT '部门类型:3:总部,2:板块,1:公司,0:部门';
|
||||
|
||||
ALTER TABLE xjr_workflow_schema
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_schema_auth
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_schema_draft
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_schema_history
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_app_authorize
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_app_func_design
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_app_menu
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_app_menu_button
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_app_menu_column
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_app_menu_form
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_app_page_design
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_code_schema
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_databaselink
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_datasource
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_file
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_form_history
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_form_release
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_form_template
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_professional_report
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_report
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_report_relation
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_visual
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_visual_category
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_visual_config
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_visual_db
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_visual_homerelation
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_visual_map
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_visual_release
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_visual_releaserelation
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_workflow_approve_record
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_circulated
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_delegate
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_draft
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_extra
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_form_relation
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_record
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_special_menu
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_liteflow_chain
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
ALTER TABLE xjr_liteflow_script
|
||||
ADD COLUMN tenant_id bigint COMMENT '租户id';
|
||||
|
||||
|
||||
|
||||
ALTER TABLE xjr_tenant
|
||||
ADD COLUMN root_department_id bigint COMMENT '租户根部门id';
|
||||
214
script/20240719/20240719001多租户版本.sql
Normal file
214
script/20240719/20240719001多租户版本.sql
Normal file
@ -0,0 +1,214 @@
|
||||
INSERT INTO xjr_menu (id, parent_id, name, title, code, icon, path, component, component_type, iframe_src, menu_type, display, allow_modify, allow_delete, out_link, keep_alive, sort_code, remark, create_user_id, create_date, modify_user_id, modify_date, delete_mark, enabled_mark, system_id, form_id) VALUES (1589823150509592578, 1419273666632498176, 'BI', '数据大屏', '30009', 'ant-design:dot-chart-outlined', 'http://localhost:4100', 'IFrame', NULL, '1111', 1, 1, 1, 1, 1, 0, 9, '111', 1, '2022-11-08 11:32:31', 1000000000000000000, '2023-05-31 11:01:15', 0, 1, 1, NULL);
|
||||
INSERT INTO xjr_menu (id, parent_id, name, title, code, icon, path, component, component_type, iframe_src, menu_type, display, allow_modify, allow_delete, out_link, keep_alive, sort_code, remark, create_user_id, create_date, modify_user_id, modify_date, delete_mark, enabled_mark, system_id, form_id) VALUES (1625770113225646082, 0, 'chatGPT', 'chatGPT', 'chatGPT', 'ant-design:bar-chart-outlined', '/chat-gpt', '/demo/chatgpt/index', NULL, NULL, 1, 1, 1, 1, 0, 0, 22, NULL, 1, '2023-02-15 16:12:55', NULL, NULL, 0, 1, 1, NULL);
|
||||
INSERT INTO xjr_menu (id, parent_id, name, title, code, icon, path, component, component_type, iframe_src, menu_type, display, allow_modify, allow_delete, out_link, keep_alive, sort_code, remark, create_user_id, create_date, modify_user_id, modify_date, delete_mark, enabled_mark, system_id, form_id) VALUES (1672802215783436290, 0, '计划任务', '计划任务', 'job', NULL, 'http://192.168.0.124:7700/#/welcome?appName=xjrsoft-boot&password=123456', 'IFrame', 0, '', 1, 1, 1, 1, 1, NULL, 11, '', 1000000000000000000, '2023-06-25 11:01:42', NULL, NULL, 0, 1, 1, NULL);
|
||||
INSERT INTO xjr_menu (id, parent_id, name, title, code, icon, path, component, component_type, iframe_src, menu_type, display, allow_modify, allow_delete, out_link, keep_alive, sort_code, remark, create_user_id, create_date, modify_user_id, modify_date, delete_mark, enabled_mark, system_id, form_id) VALUES (1700041673784094722, 1419276797351038976, '租户管理', '租户管理', 'tenant', 'ant-design:idcard-outlined', '/tenant', '/system/tenant/index', 0, NULL, 1, 1, 1, 1, 0, NULL, 11, NULL, 3000000000000000000, '2023-09-08 15:01:35', NULL, NULL, 0, 1, 1, NULL);
|
||||
|
||||
ALTER TABLE xjr_dictionary_item
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_dictionary_item."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_login_config
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_login_config."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_logo_config
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_logo_config."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_menu_button
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_menu_button."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_menu
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_menu."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_menu_column
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_menu_column."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_menu_form
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_menu_form."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_subsystem
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_subsystem."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_desktop_relation
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_desktop_relation."tenant_id" IS '租户id';
|
||||
|
||||
COMMENT ON
|
||||
COLUMN xjr_department."department_type" IS '部门类型:3:总部,2:板块,1:公司,0:部门';
|
||||
|
||||
ALTER TABLE xjr_workflow_schema
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_workflow_schema."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_schema_auth
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_workflow_schema_auth."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_schema_draft
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_workflow_schema_draft."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_schema_history
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_workflow_schema_history."tenant_id" IS '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_app_authorize
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_app_authorize."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_app_func_design
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_app_func_design."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_app_menu
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_app_menu."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_app_menu_button
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_app_menu_button."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_app_menu_column
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_app_menu_column."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_app_menu_form
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_app_menu_form."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_app_page_design
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_app_page_design."tenant_id" IS '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_code_schema
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_code_schema."tenant_id" IS '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_databaselink
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_databaselink."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_datasource
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_datasource."tenant_id" IS '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_file
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_file."tenant_id" IS '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_form_history
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_form_history."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_form_release
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_form_release."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_form_template
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_form_template."tenant_id" IS '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_professional_report
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_professional_report."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_report
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_report."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_report_relation
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_report_relation."tenant_id" IS '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_visual
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_visual."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_visual_category
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_visual_category."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_visual_config
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_visual_config."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_visual_db
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_visual_db."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_visual_homerelation
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_visual_homerelation."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_visual_map
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_visual_map."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_visual_release
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_visual_release."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_visual_releaserelation
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_visual_releaserelation."tenant_id" IS '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_workflow_approve_record
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_workflow_approve_record."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_circulated
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_workflow_circulated."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_delegate
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_workflow_delegate."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_draft
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_workflow_draft."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_extra
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_workflow_extra."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_form_relation
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_workflow_form_relation."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_record
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_workflow_record."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_workflow_special_menu
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_workflow_special_menu."tenant_id" IS '租户id';
|
||||
|
||||
|
||||
ALTER TABLE xjr_liteflow_chain
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_liteflow_chain."tenant_id" IS '租户id';
|
||||
|
||||
ALTER TABLE xjr_liteflow_script
|
||||
ADD COLUMN "tenant_id" int8;
|
||||
COMMENT ON COLUMN xjr_liteflow_script."tenant_id" IS '租户id';
|
||||
|
||||
|
||||
|
||||
ALTER TABLE xjr_tenant
|
||||
ADD COLUMN "root_department_id" int8;
|
||||
COMMENT ON COLUMN xjr_tenant."root_department_id" IS '租户根部门id';
|
||||
779
script/20240719/20240719002修正租户id(全部执行完报错不用管)-mysql.sql
Normal file
779
script/20240719/20240719002修正租户id(全部执行完报错不用管)-mysql.sql
Normal file
@ -0,0 +1,779 @@
|
||||
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;
|
||||
779
script/20240719/20240719002修正租户id(全部执行完报错不用管).sql
Normal file
779
script/20240719/20240719002修正租户id(全部执行完报错不用管).sql
Normal file
@ -0,0 +1,779 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user