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