1.新增商品出入库成本价计算
2.新增后台商品列表接口,支持共享库存sku展示
This commit is contained in:
@@ -320,6 +320,10 @@ public class TbProduct implements Serializable {
|
||||
@ApiModelProperty("库存数量")
|
||||
private Integer stockNumber;
|
||||
|
||||
@Column(name = "`total_cost_price`")
|
||||
@ApiModelProperty(value = "总成本价")
|
||||
private BigDecimal totalCostPrice = BigDecimal.ZERO;
|
||||
|
||||
|
||||
public void copy(TbProduct source){
|
||||
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
|
||||
|
||||
@@ -139,4 +139,8 @@ public class TbProductSku implements Serializable {
|
||||
@Column(name = "`is_pause_sale`")
|
||||
@ApiModelProperty(value = "是否暂停销售")
|
||||
private Integer isPauseSale = 0;
|
||||
|
||||
@Column(name = "`total_cost_price`")
|
||||
@ApiModelProperty(value = "总成本价")
|
||||
private BigDecimal totalCostPrice = BigDecimal.ZERO;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user