You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mes-heli/sql/v1.3.0/1.structure.sql

13 lines
1.1 KiB

ALTER table wms_storage MODIFY column header_no VARCHAR(128) comment '上游单据单号';
ALTER table wms_storage MODIFY column wh_id BIGINT(20) null comment '仓库 Id对应 wms_wh 表中的Id';
ALTER table wms_storage_mat MODIFY column wh_id BIGINT(20) null comment '仓库 Id对应 wms_wh 表中的Id';
ALTER table wms_storage_mat MODIFY column rg_id BIGINT(20) null comment '库区 Id对应 wms_rg 表中的Id';
ALTER table wms_storage_mat MODIFY column pn_id BIGINT(20) null comment '库区 Id对应 wms_rg 表中的Id';
ALTER table wms_storage_log MODIFY column wh_id BIGINT(20) null comment '仓库 Id对应 wms_wh 表中的Id';
ALTER table wms_storage_log MODIFY column rg_id BIGINT(20) null comment '库区 Id对应 wms_rg 表中的Id';
ALTER table wms_storage_log MODIFY column pn_id BIGINT(20) null comment '库区 Id对应 wms_rg 表中的Id';
UPDATE base_material set virtual_part = 'N';
ALTER TABLE base_material MODIFY COLUMN virtual_part CHAR ( 1 ) NOT NULL DEFAULT 'N' COMMENT '虚拟物料标识只能填写Y和NY表示虚拟物料N表示反之';