Browse Source

fix:危险源列表所属机构修改为非必填项

zhongwei
haungxing 7 months ago
parent
commit
e75d9f050f
  1. 1
      hzims-service/safeproduct/src/main/resources/db/2.0.0.sql

1
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='危险源库'; ) 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` 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 `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 `LIBRARY_ID` BIGINT(20) COMMENT '危险源库ID';
ALTER TABLE `HZIMS_SAFE_DANGER_SOURCE` ADD COLUMN `EM_CODE` VARCHAR(50) COMMENT '设备编号'; ALTER TABLE `HZIMS_SAFE_DANGER_SOURCE` ADD COLUMN `EM_CODE` VARCHAR(50) COMMENT '设备编号';

Loading…
Cancel
Save