去除多余cost字段

This commit is contained in:
2024-06-26 14:18:24 +08:00
parent 3ecd9c216a
commit 29299d3689
3 changed files with 1 additions and 32 deletions

View File

@@ -320,10 +320,6 @@ 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));

View File

@@ -140,7 +140,5 @@ public class TbProductSku implements Serializable {
@ApiModelProperty(value = "是否暂停销售")
private Integer isPauseSale = 0;
@Column(name = "`total_cost_price`")
@ApiModelProperty(value = "总成本价")
private BigDecimal totalCostPrice = BigDecimal.ZERO;
}