Commit 17b86a7f authored by 顾俭's avatar 顾俭

add product packFlag

parent c9e2aaf6
......@@ -348,6 +348,9 @@ public class ProductSyncClient extends WebServiceClient {
case "imadate":
product.setUpdatedDate(stringToDate(field.getValue()));
break;
case "imapack":
product.setPackFlag(field.getValue());
break;
}
}
baseProductFileService.add(product);
......
......@@ -28,6 +28,7 @@ public class BaseProductFile extends IdentifiableObject {
private Date stopDate;
private Date updatedDate;
private String steelCoil;
private String packFlag;
@Basic
@Column(name = "PRODUCT_UID", nullable = true, length = 20)
......@@ -188,4 +189,14 @@ public class BaseProductFile extends IdentifiableObject {
public void setSteelCoil(String steelCoil) {
this.steelCoil = steelCoil;
}
@Basic
@Column(name = "PACK_FLAG")
public String getPackFlag() {
return packFlag;
}
public void setPackFlag(String packFlag) {
this.packFlag = packFlag;
}
}
......@@ -31,6 +31,7 @@ public class BaseProductFileDto extends Dto<BaseProductFile> {
private Date stopDate;
private Date updatedDate;
private String steelCoil;
private String packFlag;
public String getProductUid() {
return productUid;
......@@ -159,4 +160,12 @@ public class BaseProductFileDto extends Dto<BaseProductFile> {
public void setSteelCoil(String steelCoil) {
this.steelCoil = steelCoil;
}
public String getPackFlag() {
return packFlag;
}
public void setPackFlag(String packFlag) {
this.packFlag = packFlag;
}
}
ALTER TABLE srm_base_product_file ADD PACK_FLAG varchar(1) DEFAULT 'N' COMMENT '送货单原产地栏位赋值采购单-项次(Y.是 N.否)';
\ 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