|
@@ -541,6 +541,12 @@ public class Goods implements Serializable {
|
|
|
@Column(name = "go_autopublish", columnDefinition = "TINYINT(1)")
|
|
@Column(name = "go_autopublish", columnDefinition = "TINYINT(1)")
|
|
|
private Boolean autoPublish;
|
|
private Boolean autoPublish;
|
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 成本单价
|
|
|
|
|
+ */
|
|
|
|
|
+ @Transient
|
|
|
|
|
+ private Double costPrice;
|
|
|
|
|
+
|
|
|
@Transient
|
|
@Transient
|
|
|
private ProductAttachSubmit productAttachSubmit;
|
|
private ProductAttachSubmit productAttachSubmit;
|
|
|
|
|
|
|
@@ -1695,6 +1701,7 @@ public class Goods implements Serializable {
|
|
|
g.setReserve(product.getErpReserve());
|
|
g.setReserve(product.getErpReserve());
|
|
|
g.setMinPackQty(product.getMinPackQty());
|
|
g.setMinPackQty(product.getMinPackQty());
|
|
|
g.setPackaging(product.getPackaging());
|
|
g.setPackaging(product.getPackaging());
|
|
|
|
|
+ g.setCostPrice(product.getPrice());
|
|
|
return g;
|
|
return g;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -1950,4 +1957,13 @@ public class Goods implements Serializable {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ public Double getCostPrice() {
|
|
|
|
|
+ return costPrice;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public Goods setCostPrice(Double costPrice) {
|
|
|
|
|
+ this.costPrice = costPrice;
|
|
|
|
|
+ return this;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|