|
|
@@ -29,6 +29,7 @@ public class Prod {
|
|
|
private Short pr_ispurchase; // 可采购
|
|
|
private Short pr_isshow; // 开放采购物料
|
|
|
private Short pr_ispubsale; // 开发销售物料
|
|
|
+ private Long b2b_id; // 平台id
|
|
|
/**
|
|
|
* 类目(平台)
|
|
|
*/
|
|
|
@@ -243,6 +244,14 @@ public class Prod {
|
|
|
this.standard = standard;
|
|
|
}
|
|
|
|
|
|
+ public Long getB2b_id() {
|
|
|
+ return b2b_id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setB2b_id(Long b2b_id) {
|
|
|
+ this.b2b_id = b2b_id;
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 转为平台的产品
|
|
|
*
|
|
|
@@ -279,18 +288,17 @@ public class Prod {
|
|
|
} else {
|
|
|
product.setStandard(Constant.NO);
|
|
|
}
|
|
|
- product.setCmpUuId(this.pr_uuid);
|
|
|
product.setIsPubsale(this.pr_ispubsale);
|
|
|
product.setIsPurchase(this.pr_ispurchase);
|
|
|
product.setIsSale(this.pr_issale);
|
|
|
product.setIsShow(this.pr_isshow);
|
|
|
- product.setCmpUuId(this.pr_uuid);
|
|
|
product.setPbrand(this.pbrand);
|
|
|
product.setKind(this.kind);
|
|
|
product.setPcmpcode(this.pcmpcode);
|
|
|
product.setPbranden(this.pbranden);
|
|
|
product.setKinden(this.kinden);
|
|
|
product.setStandard(this.standard);
|
|
|
+ product.setSourceApp("ERP");
|
|
|
return product;
|
|
|
}
|
|
|
|