Procházet zdrojové kódy

将weight映射字段改为cc_usedstatus

wangyc před 7 roky
rodič
revize
f7981f513b

+ 4 - 4
src/main/java/com/uas/platform/b2c/prod/product/component/modal/ComponentCrawl.java

@@ -98,8 +98,8 @@ public class ComponentCrawl implements Serializable {
 	/**
 	 * 重量(g)
 	 */
-	@Column(name = "cc_weight")
-	private Float weight;
+	@Column(name = "cc_usedstatus")
+	private boolean weight;
 
 	/**
 	 * 单位
@@ -246,11 +246,11 @@ public class ComponentCrawl implements Serializable {
 		this.b2cAttach = b2cAttach;
 	}
 
-	public Float getWeight() {
+	public boolean getWeight() {
 		return weight;
 	}
 
-	public void setWeight(Float weight) {
+	public void setWeight(boolean weight) {
 		this.weight = weight;
 	}