From e75d9f050fceec8c0ba484ba4a7723196736b7f9 Mon Sep 17 00:00:00 2001 From: haungxing <1203316822@qq.com> Date: Wed, 17 Apr 2024 20:27:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=8D=B1=E9=99=A9=E6=BA=90=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=89=80=E5=B1=9E=E6=9C=BA=E6=9E=84=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E9=9D=9E=E5=BF=85=E5=A1=AB=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hzims-service/safeproduct/src/main/resources/db/2.0.0.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/hzims-service/safeproduct/src/main/resources/db/2.0.0.sql b/hzims-service/safeproduct/src/main/resources/db/2.0.0.sql index 0ca89b4..25dfe9c 100644 --- a/hzims-service/safeproduct/src/main/resources/db/2.0.0.sql +++ b/hzims-service/safeproduct/src/main/resources/db/2.0.0.sql @@ -462,6 +462,7 @@ CREATE TABLE IF NOT EXISTS `HZIMS_HAZARD_LIBRARY` ( ) ENGINE=INNODB DEFAULT CHARSET=UTF8 COMMENT='危险源库'; ALTER TABLE `HZIMS_SAFE_DANGER_SOURCE` ADD COLUMN `REF_DEPT` BIGINT(20) NOT NULL COMMENT '所属机构'; +ALTER TABLE `HZIMS_SAFE_DANGER_SOURCE` CHANGE COLUMN `REF_DEPT` `REF_DEPT` BIGINT(20) COMMENT '所属机构'; ALTER TABLE `HZIMS_SAFE_DANGER_SOURCE` ADD COLUMN `REF_DEPT_NAME` VARCHAR(100) COMMENT '所属机构名称'; ALTER TABLE `HZIMS_SAFE_DANGER_SOURCE` ADD COLUMN `LIBRARY_ID` BIGINT(20) COMMENT '危险源库ID'; ALTER TABLE `HZIMS_SAFE_DANGER_SOURCE` ADD COLUMN `EM_CODE` VARCHAR(50) COMMENT '设备编号';