下单增加起售校验

This commit is contained in:
SongZhang 2024-07-11 13:48:12 +08:00
parent 4691b12fb3
commit ef73fe192a
1 changed files with 1 additions and 1 deletions

View File

@ -276,7 +276,7 @@ public class OrderService {
shopOpenIds.forEach(item -> {
wechatUtil.sendStockWarnMsg(shopInfo.getShopName(), product.getName(),
product.getIsDistribute() == 1 ? String.valueOf(product.getStockNumber()-num) : String.valueOf(productSku.getStockNumber() - num),
"耗材库存不足,请及时补充。", item.getOpenId());
"商品库存不足,请及时补充。", item.getOpenId());
});
}
}