feat:手动更新智能柜库存

This commit is contained in:
dzc committed 2025-04-07 18:33:43 +08:00
1 parent b28045e29d
commit b36618e138
4 files changed
+37 -14

No files matched your search

@@ -48,6 +48,12 @@ public class HardSpuRepertoryEntity extends Model<HardSpuRepertoryEntity> {
@Schema(description = "商品id")
private Long spuId;
/**
* 更新前的库存数量
*/
@Schema(description = "更新前的库存数量")
private Integer beforeCount;
/**
* 更新库存数量
*/
@@ -55,7 +61,7 @@ public class HardSpuRepertoryEntity extends Model<HardSpuRepertoryEntity> {
@Min(value = 1, message = "更新库存数量不能小于1")
@Max(value = 100, message = "更新库存数量不能大于100")
@Schema(description = "更新库存数量")
private Long count;
private Integer count;
/**
* 上架类型