## 会员月限购处理调整(343);

This commit is contained in:
cabbage 2025-08-06 10:41:06 +08:00
parent 5a36818b66
commit dbf55e6342
1 changed files with 1 additions and 1 deletions

View File

@ -2379,7 +2379,7 @@ public class SaOrderServiceImpl extends ServiceImpl<SaOrderMapper, SaOrder> impl
if (null != monthLimit) {
// 月限购 + 本次购买数量
monthLimit = monthLimit + limitMap.get(tmpWares);
if (monthLimit > waresLimitMap.get(tmpWares).getMemberLimit()) {
if (monthLimit > waresLimitMap.get(tmpWares).getMemberMonthLimit()) {
// 购买数量 > 月限购不能购买
throw new ServiceException("购买商品已经超过限购数量,无法下单");
}