From a0011793baa64aa297c8e98a92fc5faa2447a510 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Wed, 4 Sep 2024 11:34:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E6=9C=BA=E6=9E=84=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=EF=BC=88=E7=BB=9F=E4=B8=80=E7=A4=BE=E4=BC=9A=E4=BF=A1?= =?UTF-8?q?=E7=94=A8=E4=BB=A3=E7=A0=81=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...2_智慧工程推送需求.sql => 20240902_公司新增字段.sql} | 0 202409/重庆机具/20240902_公司新增字段.sql | 13 +++++++++++++ 2 files changed, 13 insertions(+) rename 202409/南网仓储/{20240902_智慧工程推送需求.sql => 20240902_公司新增字段.sql} (100%) create mode 100644 202409/重庆机具/20240902_公司新增字段.sql diff --git a/202409/南网仓储/20240902_智慧工程推送需求.sql b/202409/南网仓储/20240902_公司新增字段.sql similarity index 100% rename from 202409/南网仓储/20240902_智慧工程推送需求.sql rename to 202409/南网仓储/20240902_公司新增字段.sql diff --git a/202409/重庆机具/20240902_公司新增字段.sql b/202409/重庆机具/20240902_公司新增字段.sql new file mode 100644 index 0000000..156f970 --- /dev/null +++ b/202409/重庆机具/20240902_公司新增字段.sql @@ -0,0 +1,13 @@ +--任务:新建公司加企业机构代码(统一社会信用代码),编码设备新增工器具编码 + +-- 企业机构代码(统一社会信用代码) +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代表机具产权所属单位为社会及大集体企业)'; + + +