订单减库存设计

$goods->query('update order set  = store- num where  store>=num and goodID = 12345'); $goods->query('update order set  = store- num where  store>=num and goodID = 12345'); 一、扣减库存的三种方案 (1)下单减库存(秒杀商品这种方
相关文章
相关标签/搜索