Authored by Lixiaodi

增加skup

... ... @@ -33,6 +33,9 @@ public class GoodsSize {
@JSONField(name="least_price")
private BigDecimal leastPrice;
@JSONField(name="skup")
private Integer skup;
@JSONField(name="status")
private Integer status;
... ... @@ -92,4 +95,13 @@ public class GoodsSize {
public void setStatus(Integer status) {
this.status = status;
}
public Integer getSkup() {
return skup;
}
public void setSkup(Integer skup) {
this.skup = skup;
}
}
\ No newline at end of file
... ...
... ... @@ -526,6 +526,7 @@ public class ProductServiceImpl implements ProductService{
goodsSize.setLeastPrice(storagePrice == null ? null : storagePrice.getPrice());
goodsSize.setStatus(storagePrice == null ? null : storagePrice.getStatus());
goodsSize.setStorageNum(storagePrice == null ? 0 : storage.getStorageNum());
goodsSize.setSkup(storagePrice == null ? 0 : storagePrice.getSkup());
goodSizeList.add(goodsSize);
}
}
... ...