فهرست منبع

物料库增加字段(商城需要)

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@10121 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 8 سال پیش
والد
کامیت
807f015047

+ 27 - 0
src/main/java/com/uas/platform/b2b/model/Product.java

@@ -292,6 +292,17 @@ public class Product {
 	@Column(name = "pr_isbusiness")
 	private Short isbusiness;
 
+	/**
+	 * 图片
+	 */
+	@Column(name = "pr_cmpimg")
+	private String img;
+
+	/**
+	 * 包装
+	 */
+	@Column(name = "pr_encapsulation")
+	private String encapsulation;
 	public Product() {
 	}
 
@@ -612,4 +623,20 @@ public class Product {
 		this.isbusiness = isbusiness;
 	}
 
+	public String getImg() {
+		return img;
+	}
+
+	public void setImg(String img) {
+		this.img = img;
+	}
+
+	public String getEncapsulation() {
+		return encapsulation;
+	}
+
+	public void setEncapsulation(String encapsulation) {
+		this.encapsulation = encapsulation;
+	}
+
 }

+ 28 - 0
src/main/java/com/uas/platform/b2b/model/ProductMatchResult.java

@@ -110,6 +110,18 @@ public class ProductMatchResult implements Serializable {
 	@Column(name = "pr_enuu")
 	private Long enuu;
 
+	/**
+	 * 图片
+	 */
+	@Column(name = "pr_cmpimg")
+	private String img;
+
+	/**
+	 * 包装
+	 */
+	@Column(name = "pr_encapsulation")
+	private String encapsulation;
+
 	public Long getId() {
 		return id;
 	}
@@ -224,4 +236,20 @@ public class ProductMatchResult implements Serializable {
 		this.enuu = enuu;
 	}
 
+	public String getImg() {
+		return img;
+	}
+
+	public void setImg(String img) {
+		this.img = img;
+	}
+
+	public String getEncapsulation() {
+		return encapsulation;
+	}
+
+	public void setEncapsulation(String encapsulation) {
+		this.encapsulation = encapsulation;
+	}
+
 }

+ 2 - 0
src/main/java/com/uas/platform/b2b/service/impl/ProductServiceImpl.java

@@ -301,6 +301,8 @@ public class ProductServiceImpl implements ProductService {
 			prod.setKind(re.getKindcn());
 			prod.setKinden(re.getKinden());
 			prod.setCmpUuId(re.getUuid());
+			prod.setImg(re.getImg());
+			prod.setEncapsulation(re.getEncapsulation());
 			prod.setStandard(Constant.YES);
 			prod.setMatchstatus(Status.FINISH.value());
 			try {