Browse Source

物料增加匹配数量显示,结果增加企业uu号,方便查询

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@9284 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 8 years ago
parent
commit
a67fc04037

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

@@ -266,6 +266,12 @@ public class Product {
 	@Column(name = "pr_matchstatus")
 	private Integer matchstatus;
 
+	/**
+	 * 匹配数量(用作排序)
+	 */
+	@Column(name = "pr_matchsize")
+	private Integer matchsize;
+
 	/**
 	 * 匹配结果
 	 */
@@ -560,6 +566,14 @@ public class Product {
 		this.matchstatus = matchstatus;
 	}
 
+	public Integer getMatchsize() {
+		return matchsize;
+	}
+
+	public void setMatchsize(Integer matchsize) {
+		this.matchsize = matchsize;
+	}
+
 	public Set<ProductMatchResult> getMatchresults() {
 		return matchresults;
 	}

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

@@ -104,6 +104,12 @@ public class ProductMatchResult implements Serializable {
 	@Column(name = "pr_cmpcode")
 	private String cmpcode;
 
+	/**
+	 * 企业uu
+	 */
+	@Column(name = "pr_enuu")
+	private Long enuu;
+
 	public Long getId() {
 		return id;
 	}
@@ -210,4 +216,12 @@ public class ProductMatchResult implements Serializable {
 		this.cmpid = cmpid;
 	}
 
+	public Long getEnuu() {
+		return enuu;
+	}
+
+	public void setEnuu(Long enuu) {
+		this.enuu = enuu;
+	}
+
 }