|
|
|
@ -899,7 +899,7 @@ public class QuotationInformationServiceImpl extends ServiceImpl<QuotationInform |
|
|
|
int count = baseMapper.queryQuotationByQuotationBatchNo(site,quotationBatchNo); |
|
|
|
|
|
|
|
// 不相等即条目不匹配,有询价单号未产生报价 |
|
|
|
if (count != quoteList.size() && quotationAmount.compareTo(BigDecimal.ZERO) < 0) { |
|
|
|
if (count != quoteList.size() && quotationAmount.compareTo(BigDecimal.ZERO) <= 0) { |
|
|
|
throw new RuntimeException("必需存在已下达的报价记录或询价金额大于0,才能提交!"); |
|
|
|
} |
|
|
|
} |
|
|
|
|