Commit 014db0b1 authored by tangwei's avatar tangwei

货位增加字段

parent 5c91e438
...@@ -48,6 +48,19 @@ public class WarehouseStructure extends BaseEntity { ...@@ -48,6 +48,19 @@ public class WarehouseStructure extends BaseEntity {
@ApiModelProperty(value = "仓库ID") @ApiModelProperty(value = "仓库ID")
private Long warehouseId; private Long warehouseId;
//新加
@ApiModelProperty(value = "机构/部门名称")
@TableField("biz_org_name")
private String bizOrgName;
@ApiModelProperty(value = "机构编码")
@TableField("biz_org_code")
private String bizOrgCode;
private String remark; private String remark;
@ApiModelProperty(value = "预控系统中的ID字段") @ApiModelProperty(value = "预控系统中的ID字段")
......
...@@ -2238,4 +2238,31 @@ ...@@ -2238,4 +2238,31 @@
</sql> </sql>
</changeSet> </changeSet>
<changeSet author="tw" id="20220104-5">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="wl_warehouse_structure" columnName="biz_org_name"/>
</not>
</preConditions>
<comment>wl_warehouse_structure add column biz_org_name</comment>
<sql>
alter table `wl_warehouse_structure` add column `biz_org_name` varchar(128) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '机构/部门名称';
</sql>
</changeSet>
<changeSet author="tw" id="20220104-6">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="wl_warehouse_structure" columnName="biz_org_code"/>
</not>
</preConditions>
<comment>wl_warehouse_structure add column biz_org_code</comment>
<sql>
alter table `wl_warehouse_structure` add column `biz_org_code` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '机构编码';
</sql>
</changeSet>
</databaseChangeLog> </databaseChangeLog>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment