dbpatch/202409/南网仓储/20240902_公司新增字段.sql

16 lines
849 B
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--任务:新建公司加企业机构代码(统一社会信用代码),编码设备新增工器具编码
-- 企业机构代码(统一社会信用代码)
alter table sys_dept
add social_credit_code varchar(255) null comment '企业机构代码(统一社会信用代码)';
-- 企业归属代码CSG代表机具产权所属单位为南方电网下属企业 SE代表机具产权所属单位为社会及大集体企业
alter table sys_dept
add enterprise_ownership_code varchar(10) null comment '企业归属代码CSG代表机具产权所属单位为南方电网下属企业
SE代表机具产权所属单位为社会及大集体企业';
-- 推送智慧工程定义的门类分类机具编码
alter table ma_type
add intelligent_code varchar(10) null comment '推送智慧工程定义的门类分类机具编码';