|
|
@@ -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;
|
|
|
}
|
|
|
|