|
@@ -341,7 +341,7 @@ public class InquiryForSaleServiceImpl implements InquiryForSaleService {
|
|
|
break;
|
|
break;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- if (needQty > maxQty) {
|
|
|
|
|
|
|
+ if (needQty >= maxQty) {
|
|
|
sumPrice = maxPrice * needQty;
|
|
sumPrice = maxPrice * needQty;
|
|
|
}
|
|
}
|
|
|
inquiryItem.setSumPrice(sumPrice);
|
|
inquiryItem.setSumPrice(sumPrice);
|