商品 库存警戒线

快捷修改 商品退款退回库存
This commit is contained in:
2024-09-24 16:09:47 +08:00
parent 81a4bfdf72
commit c20c9c54af
5 changed files with 38 additions and 1 deletions

View File

@@ -320,11 +320,18 @@ public class TbProduct implements Serializable {
@ApiModelProperty("库存数量")
private Integer stockNumber = 0;
@Column(name = "is_grounding")
@ApiModelProperty("上下架")
private Integer isGrounding = 1;
@Column(name = "is_refund_stock")
@ApiModelProperty("退款是否退回库存")
private Integer isRefundStock = 1;
@Column(name = "warn_line")
@ApiModelProperty("库存警戒线")
private Integer warnLine = 0;
public void copy(TbProduct source){
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));