清空购物车返还库存
This commit is contained in:
@@ -141,7 +141,7 @@ public class ProductService {
|
||||
throw new MsgException("库存不足,下单失败");
|
||||
}
|
||||
}else {
|
||||
tbProductSkuMapper.decrStockUnCheck(productId, decrNum);
|
||||
tbProductMapper.decrStockUnCheck(productId, decrNum);
|
||||
}
|
||||
}else {
|
||||
if (product.getIsStock() == 1) {
|
||||
|
||||
Reference in New Issue
Block a user