|
|
@@ -325,7 +325,7 @@ public class InquiryForSaleServiceImpl implements InquiryForSaleService {
|
|
|
private PublicInquiryItem SaveInquiryItems(PublicInquiry inquiry, PublicInquiryItem inquiryItem) throws Exception {
|
|
|
// 计算合计价格 dongbw 2018年9月5日 15:08:24 bom求购明细价格分析需要
|
|
|
Double sumPrice = 0d;
|
|
|
- Double needQty = inquiryItem.getNeedquantity();
|
|
|
+ Double needQty = null != inquiryItem.getNeedquantity() ? inquiryItem.getNeedquantity() : 1;
|
|
|
Double maxQty = 0d;
|
|
|
Double maxPrice = 0d;
|
|
|
List<PublicInquiryReply> replies = inquiryItem.getReplies();
|