feat:手动更新智能柜库存
This commit is contained in:
1 parent
b28045e29d
commit
b36618e138
4 files changed
+37
-14
No files matched your search
+7
-1
@@ -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;
|
||||
|
||||
/**
|
||||
* 上架类型
|
||||
|
||||
Reference in new issue
Block a user